-
Notifications
You must be signed in to change notification settings - Fork 711
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
[BUG] flyte-secret-auth secret not mounted properly #5053
Comments
Thank you for opening your first issue here! 🛠 |
Hey there @yini7777! Great to see you back with us, diving into the depths of Flyte's secrets management. Hope you've been well since our last chat! Thank you for bringing this to our attention. It seems like you're encountering an issue with the I found a similar issue in the Flyte repository: [BUG] Do not mount As for your proposal to enhance the configuration in Here's an example of how you could introduce a new key under {{- if and .Values.secrets.createSecretAuth (not .Values.secrets.adminOauthClientCredentials.enabled) }}
apiVersion: v1
kind: Secret
metadata:
name: flyte-secret-auth
namespace: {{ template "flyte.namespace" . }}
type: Opaque
stringData:
{{- with .Values.secrets.adminOauthClientCredentials.clientSecret }}
client_secret: {{ tpl (toYaml .) $ }}
{{- end }}
{{- end }} In this scenario, Currently, when I hope this information helps. If you have any further questions or need additional clarification, please don't hesitate to ask. Sources
|
Hi @yini7777, thank you for reporting this issue. |
@lowc1012 Thanks for your prompt response!
Context --> we're upgrading from v1.10.6 to v1.11.0 and nothing has been changed on our end. Solution --> Add a new value as |
Describe the bug
When setting
Values.secrets.adminOauthClientCredentials.enabled
as false and managing theflyte-secret-auth
with secret manager ourselves (reference: flyte doc on auth setup), it seems the auth is not mounted as expected due to this condition.We propose enhancing the configuration in values.yaml by introducing an additional key to indicate whether
flyte-secret-auth
to create. This enhancement would enable conditional mounting of flyte-secret-auth based on its creation status.Expected behavior
Able to mount the
flyte-secret-auth
secret properly whenValues.secrets.adminOauthClientCredentials.enabled
as false.Additional context to reproduce
No response
Screenshots
No response
Are you sure this issue hasn't been raised already?
Have you read the Code of Conduct?
The text was updated successfully, but these errors were encountered: