Skip to content

Commit

Permalink
Release 0.6.0
Browse files Browse the repository at this point in the history
  • Loading branch information
jpreese committed Mar 6, 2020
1 parent 1ab98c2 commit 1ee05c6
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 9 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ If you would like to apply your own customizations, reference the `deploy` folde

```yaml
resources:
- git::https://github.com/plexsystems/sandbox-operator.git//deploy?ref=v0.5.0
- git::https://github.com/plexsystems/sandbox-operator.git//deploy?ref=v0.6.0
```
Additionally, the [example](example) folder shows one example of how to customize the operator.
Expand Down Expand Up @@ -131,7 +131,7 @@ One `ClusterRoleBinding` per name in the `owners` field
|Verbs|API Groups|Resources|
|---|---|---|
|*|core|pods, pods/log, pods/portforward, services, services/finalizers, endpoints, persistentvolumeclaims, events, configmaps, replicationcontrollers|
|*|apps|deployments, daemonsets, replicasets, statefulsets|
|*|apps, extensions|deployments, daemonsets, replicasets, statefulsets|
|*|autoscaling|horizontalpodautoscalers|
|*|batch|jobs, cronjobs|
|create, list, get|rbac.authorization.k8s.io|roles, rolebindings|
Expand Down
4 changes: 2 additions & 2 deletions bundle.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ kind: Deployment
metadata:
labels:
app.kubernetes.io/name: sandbox-operator
app.kubernetes.io/version: "0.5.0"
app.kubernetes.io/version: "0.6.0"
name: sandbox-operator
spec:
selector:
Expand All @@ -195,7 +195,7 @@ spec:
valueFrom:
fieldRef:
fieldPath: metadata.name
image: plexsystems/sandbox-operator:v0.5.0
image: plexsystems/sandbox-operator:v0.6.0
imagePullPolicy: IfNotPresent
name: sandbox-operator
serviceAccountName: sandbox-operator-sa
7 changes: 5 additions & 2 deletions controller/sandbox.go
Original file line number Diff line number Diff line change
Expand Up @@ -215,8 +215,11 @@ func getRole(sandbox operatorsv1alpha1.Sandbox) rbacv1.Role {
},
},
rbacv1.PolicyRule{
Verbs: []string{"*"},
APIGroups: []string{"apps"},
Verbs: []string{"*"},
APIGroups: []string{
"apps",
"extensions",
},
Resources: []string{
"deployments",
"daemonsets",
Expand Down
4 changes: 2 additions & 2 deletions deploy/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ metadata:
name: sandbox-operator
labels:
app.kubernetes.io/name: sandbox-operator
app.kubernetes.io/version: "0.5.0"
app.kubernetes.io/version: "0.6.0"
spec:
selector:
matchLabels:
Expand All @@ -17,7 +17,7 @@ spec:
serviceAccountName: sandbox-operator-sa
containers:
- name: sandbox-operator
image: plexsystems/sandbox-operator:v0.5.0
image: plexsystems/sandbox-operator:v0.6.0
command:
- sandbox-operator
imagePullPolicy: IfNotPresent
Expand Down
2 changes: 1 addition & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ var (
metricsHost = "0.0.0.0"
metricsPort int32 = 8383
operatorMetricsPort int32 = 8686
version = "0.5.0"
version = "0.6.0"
)

func main() {
Expand Down

0 comments on commit 1ee05c6

Please sign in to comment.