Skip to content
This repository has been archived by the owner on Jan 14, 2024. It is now read-only.

Automatically fill up helm values in "vars" section #30

Open
blackandred opened this issue Jan 9, 2023 · 0 comments
Open

Automatically fill up helm values in "vars" section #30

blackandred opened this issue Jan 9, 2023 · 0 comments
Milestone

Comments

@blackandred
Copy link
Contributor

Assuming we already have information in our CRD we can pass it to the Helm Values.

Example:

spec:
    # (...)
    collectionId: some-name
    gpgKeySecretRef:
        email: [email protected]

    vars: |
        # (...)
        Repository:
          url: "http://my-example.org"
          token: "xxxxxx-yyyy-zzzz" # Is ignored and overwritten if using .spec.tokenSecretRef
          passphrase: "riotkit"

          # NOTICE: those two are duplicated, values from .spec.collectionId and .spec.gpgKeySecretRef.email can be inserted there
          recipient: "[email protected]"
          collectionId: some-name
@blackandred blackandred added this to the v1.0 milestone Jan 9, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant