You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit cdc32c3
Browse filesBrowse the repository at this point in the historyBrowse files
Move service operator RBAC from runtime bindata to OLM bundle
Instead of applying service operator ClusterRoles, ClusterRoleBindings,
Roles, RoleBindings, and ServiceAccounts at runtime via bindata, generate
them during sync-bindata.sh and stage them into the OLM bundle at
bundle build time. This removes the need for the openstack-operator to
hold wildcard clusterrole/clusterrolebinding permissions and narrows
the remaining role/rolebinding RBAC to specific verbs.
sed -i bindata/operator/operator.yaml -e "/customTolerations/c\\ tolerations:\n{{- range .OpenStackOperator.Deployment.Tolerations }}\n - key: \"{{ .Key }}\"\n{{- if .Operator }}\n operator: \"{{ .Operator }}\"\n{{- end }}\n{{- if .Value }}\n value: \"{{ .Value }}\"\n{{- end }}\n{{- if .Effect }}\n effect: \"{{ .Effect }}\"\n{{- end }}\n{{- if .TolerationSeconds }}\n tolerationSeconds: {{ .TolerationSeconds }}\n{{- end }}\n{{- end }}"
0 commit comments