Open r00tvvm opened 2 years ago
Looks like these are bugs in RBAC template.
ServiceAccount name and namespace are same values https://github.com/instana/instana-autotrace-webhook/blob/main/incubator/instana-autotrace-webhook/templates/mutating-webhook-rbac.yaml#L6-L7 Fix: name: {{ .Release.Name }}
name: {{ .Release.Name }}
Static defining of app.kubernetes.io/instance https://github.com/instana/instana-autotrace-webhook/blob/main/incubator/instana-autotrace-webhook/templates/deployment.yml#L18 is causing conflict in case webhook deployed under other release name https://github.com/instana/instana-autotrace-webhook/blob/main/incubator/instana-autotrace-webhook/templates/_helpers.tpl#L43 Fix:
app.kubernetes.io/instance
L18: selector: matchLabels: app.kubernetes.io/name: {{ include "instana-autotrace-webhook.name" . }}
Looks like these are bugs in RBAC template.
ServiceAccount name and namespace are same values https://github.com/instana/instana-autotrace-webhook/blob/main/incubator/instana-autotrace-webhook/templates/mutating-webhook-rbac.yaml#L6-L7 Fix:
name: {{ .Release.Name }}
Static defining of
app.kubernetes.io/instance
https://github.com/instana/instana-autotrace-webhook/blob/main/incubator/instana-autotrace-webhook/templates/deployment.yml#L18 is causing conflict in case webhook deployed under other release name https://github.com/instana/instana-autotrace-webhook/blob/main/incubator/instana-autotrace-webhook/templates/_helpers.tpl#L43 Fix: