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
We found out that serviceAccount impersonation is not using the hr.Namespace anymore but the hr.targetNamespace
Example:
apiVersion: helm.toolkit.fluxcd.io/v2beta1kind: HelmReleasemetadata:
name: echoservernamespace: a-nsspec:
releaseName: echoserverserviceAccountName: flux-reconcilertargetNamespace: other-nsstatus:
conditions:
- lastTransitionTime: "2022-06-21T18:28:06Z"message: failed to get last release revisionreason: GetLastReleaseFailedstatus: "False"type: Ready
Warning error 8m22s (x11 over 21m) helm-controller reconciliation failed: failed to get last release revision: query: failed to query with labels: secrets is forbidden: User "system:serviceaccount:other-ns:flux-reconciler" cannot list resource "secrets" in API group "" in the namespace "a-ns"
Uh oh!
There was an error while loading. Please reload this page.
@hiddeco
We found out that serviceAccount impersonation is not using the
hr.Namespace
anymore but thehr.targetNamespace
Example:
Actual:
system:serviceaccount:other-ns:flux-reconciler
Expected:
system:serviceaccount:a-ns:flux-reconciler
Found this change which is probably changing how serviceAccount impersonation works in the helm-controller:
d19b470
The text was updated successfully, but these errors were encountered: