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

support a default template mapping data entry using to templating #351

Open
jstrachan opened this issue Jul 27, 2021 · 0 comments
Open

support a default template mapping data entry using to templating #351

jstrachan opened this issue Jul 27, 2021 · 0 comments

Comments

@jstrachan
Copy link
Contributor

it would be nice if we supported a defaults template entry using to templating.

e.g. something like:

# .jx/secret/mapping/secret-mappings.yaml
apiVersion: secret.jenkins-x.io/v1alpha1
kind: SecretMapping
spec:
  defaults:
    backendType: vault
    mappingTemplate: 
      key:  "secret/data/{{ .Namespace }}/{{ .Chart }}/{{ .Secret }}/{{ . Entry }}"

so that folks can configure via go template expressions the default values like key/property based on template expressions

@jstrachan jstrachan changed the title support a default template data entry using to templating support a default template mapping data entry using to templating Jul 27, 2021
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