We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
A clear and concise description of what the bug is.
Expected roles not to be created when setting rbac.create to false
Roles are created.
See https://github.com/kedacore/charts/blob/main/keda/templates/manager/role.yaml
{{- if or (and .Values.certificates.autoGenerated (not .Values.certificates.certManager.enabled)) (.Values.permissions.operator.restrict.secret) }} apiVersion: rbac.authorization.k8s.io/v1 kind: Role metadata: {{- with .Values.additionalAnnotations }} annotations: {{- toYaml . | nindent 4 }} {{- end }} labels: app.kubernetes.io/name: {{ .Values.operator.name }} {{- include "keda.labels" . | indent 4 }} name: {{ .Values.operator.name }} namespace: {{ .Release.Namespace }} rules: - apiGroups: - "" resources: - secrets verbs: {{- if and .Values.certificates.autoGenerated (not .Values.certificates.certManager.enabled) }} - create - delete - patch - update {{- end }} - watch - get - list {{- end -}}
Willing to create a PR for this
The text was updated successfully, but these errors were encountered:
@JorTurFer It looks like related to cert manager; any thoughts on why this is not respected?
Oversight or just to make sure they are always there?
Sorry, something went wrong.
We shouldn't add the role if rbac.create = false
let me open a PR quickly to fix it for incoming release, give me a sec
JorTurFer
Successfully merging a pull request may close this issue.
A clear and concise description of what the bug is.
Expected Behavior
Expected roles not to be created when setting rbac.create to false
Actual Behavior
Roles are created.
Steps to Reproduce the Problem
See https://github.com/kedacore/charts/blob/main/keda/templates/manager/role.yaml
Willing to create a PR for this
The text was updated successfully, but these errors were encountered: