Skip to content
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

Make it possible to make secrets optional #272

Open
marklonquist opened this issue May 29, 2024 · 0 comments
Open

Make it possible to make secrets optional #272

marklonquist opened this issue May 29, 2024 · 0 comments

Comments

@marklonquist
Copy link
Contributor

We like to standardize some of our secrets.yml file, eg always have an entry for the service.json secrets, but it is not always used. Can we make functionally to mark secrets as optional, so that secret-injector doesn't blow up? 😄

Example:

format: json
output: "/secrets"
# prefix: OLYMPUS_
secrets:
  - OLYMPUS/data/Namespaces/$K8S_CLUSTER_CLUSTER_NAMESPACE/Shared/$K8S_CLUSTER_OLYMPUS_ENVIRONMENT/misc:
      format: json
      filename: misc.json
  - OLYMPUS/data/Namespaces/$K8S_CLUSTER_CLUSTER_NAMESPACE/Services/$APP_NAME/$K8S_CLUSTER_OLYMPUS_ENVIRONMENT/service:
      format: json
      optional: true
      filename: service.json
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant