-
Notifications
You must be signed in to change notification settings - Fork 5.5k
New issue
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
Secret not getting created with sumologic-fluentd Chart #1111
Comments
Seems like a bug. Was service account role for Argo CD application-controller given permissions to get/list/watch secrets? This is the default installation behavior, but I'm wondering if it's possible for secret access to have been prohibited. |
I found the issue. I'm not sure why, but this chart makes the secret a helm hook for some reason. apiVersion: v1
kind: Secret
metadata:
name: release-name-sumologic-fluentd
labels:
app: sumologic-fluentd
chart: "sumologic-fluentd-0.12.0"
release: "release-name"
heritage: "Tiller"
annotations:
"helm.sh/hook": pre-install,pre-upgrade
"helm.sh/hook-delete-policy": "before-hook-creation"
type: Opaque
data:
collector-url: "YmxhYmxh" Argo CD does not support helm hooks at the moment (issue #355), partly because we do not have a concept of a "pre-install" |
Will duplicate this to #355 |
The workaround specifically for this chart, is to use the |
Submitted upstream PR to see if maintainers are willing to treat the secret as just a normal resource: helm/charts#11375 |
TIL about Helm hooks! Thanks for the quick answer, indeed I was using the existing secret as a workaround for that limitation. Will follow #355 for the full implementation of Helm hooks. |
Hi,
There is something fishy going on when trying to use argo-cd with sumologic-fluentd chart.
The secret never gets created by argo-cd.
I can see the override parameters but secret is not listed as "Missing"
Even after a sync, secret doesn't show up and sumologic pods crash because the secret is missing.
When using helm to install the chart, the secret gets created correctly though.
Am I missing something here? Or is it a bug?
The text was updated successfully, but these errors were encountered: