generated from argoproj-labs/applicationset-hello-plugin
-
Notifications
You must be signed in to change notification settings - Fork 2
Open
Labels
questionFurther information is requestedFurther information is requested
Description
Question
Why do we have to define the input parameters instead of getting all the k=v pairs from the secret loaded ?
# Dummy example
generators:
- plugin:
configMapRef:
name: secret-var-plugin-generator
# No input parameters is defined here as we would like to get all of them
template:
metadata:
name: github-app-secrets
spec:
destination:
server: "https://kubernetes.default.svc"
namespace: jobs
source:
repoURL: cnoe://manifests
path: "."
kustomize:
patches:
- target:
kind: Job
name: github-app-secrets
patch: |-
- op: add
path: /spec/template/spec/containers/0/env/-
value:
name: GITHUB_APP_ID
value: '{{ .github_app_id | b64dec | trim }}'
- op: add
path: /spec/template/spec/containers/0/env/-
value:
name: GITHUB_WEBHOOK_SECRET
value: '{{ .github_webhook_secret | b64dec | trim }}'
Metadata
Metadata
Assignees
Labels
questionFurther information is requestedFurther information is requested