Auth - Secret Name #261
-
Hi Team! Hope you can help with this one... so I created the auth.yaml file: username: "testuser" ran the following command: kubectl create secret generic connaisseursecret --from-file auth.yaml I updated the values.yaml: #cert: | # in case the trust data host is using a selfsigned certificate but when I run: helm install connaisseur helm --atomic --create-namespace --namespace connaisseur I get the error message: Error: release connaisseur failed, and has been uninstalled due to atomic being set: timed out waiting for the condition What is the correct formatting for the values.yaml? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Hey @bally-singh 👋 what you are doing looks correct to me on first sight. The #cert: | # in case the trust data host is using a selfsigned certificate
# -----BEGIN CERTIFICATE-----
# ...
# -----END CERTIFICATE-----
auth: # credentials in case the trust data requires authentication
# # either (preferred solution)
secret_name: connaisseursecret # reference a k8s secret in the form required by the validator type (check the docs)
# # or (only for notaryv1 validator)
# username: myuser
# password: mypass In case, that is only a copy-paste issue, my second best guess would be that you might have created the secret in another namespace other than the connaisseur namespace in which case Connaisseur cannot access it. Is that possible? I think we should make this transparent in the docs in any case 🤔 If that does not solve your problem: what do you get, when doing |
Beta Was this translation helpful? Give feedback.
Hey @bally-singh 👋 what you are doing looks correct to me on first sight. The
secret_name
must be indented however:In case, that is only a copy-paste issue, my second best guess would be that you might have created the secret in another namespace other than the conna…