-
-
Notifications
You must be signed in to change notification settings - Fork 243
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
feat: add support for cluster user secrets and settings #858
Conversation
Note im deffo not an ansible person, so there are more likely better ways. |
I have a few ideas / questions
https://github.com/onedr0p/flux-cluster-template/blob/main/.taskfiles/ClusterTasks.yaml#L12L17 |
I liked the user part, and switched towards that naming scheme. I also added the settings file. I did run into an issue with the line |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Small nits here but overall looking good.
bootstrap/templates/kubernetes/flux/vars/cluster-settings-user.yaml.j2
Outdated
Show resolved
Hide resolved
bootstrap/templates/kubernetes/flux/vars/cluster-secrets-user.sops.yaml.j2
Outdated
Show resolved
Hide resolved
Signed-off-by: Devin Buhl <devin@buhl.casa>
🚀 |
This allows for adding extra cluster-secrets to your cluster, without any chance of overriding them accidently.
Since ansible will now always check if the file
cluster-secrets-extra.yaml
already exists or no.