Skip to content

Commit

Permalink
2.7.0 updates
Browse files Browse the repository at this point in the history
  • Loading branch information
scflavell committed Apr 12, 2022
1 parent f2fcebc commit 8ada5c7
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 1 deletion.
9 changes: 8 additions & 1 deletion charts/ondat-operator/templates/operator.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -78,9 +78,16 @@ spec:
- containerPort: 8443
name: https
securityContext:
runAsNonRoot: true
runAsUser: 65532
serviceAccountName: {{ template "storageos.serviceAccountName" . }}
terminationGracePeriodSeconds: 10
topologySpreadConstraints:
- labelSelector:
matchLabels:
app.kubernetes.io/component: operator
maxSkew: 1
topologyKey: kubernetes.io/hostname
whenUnsatisfiable: ScheduleAnyway
volumes:
- configMap:
name: storageos-operator
Expand Down
12 changes: 12 additions & 0 deletions charts/ondat-operator/templates/rbac.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -482,6 +482,18 @@ rules:
- get
- list
- watch
- apiGroups:
- security.openshift.io
resourceNames:
- privileged
resources:
- securitycontextconstraints
verbs:
- create
- delete
- get
- update
- use
- apiGroups:
- storageos.com
resources:
Expand Down

0 comments on commit 8ada5c7

Please sign in to comment.