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

Refactoring to add templates #55

Merged
merged 8 commits into from
Jan 30, 2023
Merged

Refactoring to add templates #55

merged 8 commits into from
Jan 30, 2023

Conversation

digiserg
Copy link
Collaborator

@digiserg digiserg commented Jan 27, 2023

Refactored to use templates instead of the weird format we had before. This make a lot more sense.

apiVersion: digitalis.io/v1beta1
kind: DbSecret
metadata:
  name: db-secret
spec:
  vault:
    mount: cass000
    role: reaonly
  template:
    CASSANDRA_USERNAME: "{{ .username }}"
    CASSANDRA_PASSWORD: "{{ .password }}"

@digiserg digiserg marked this pull request as ready for review January 27, 2023 16:35
@digiserg digiserg merged commit 5fb3274 into master Jan 30, 2023
@digiserg digiserg deleted the feature/template branch January 30, 2023 11:03
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

Successfully merging this pull request may close these issues.

None yet

2 participants