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 user-provided fixed value for dynamic field #105

Open
jlandowner opened this issue May 1, 2024 · 0 comments
Open

Support user-provided fixed value for dynamic field #105

jlandowner opened this issue May 1, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@jlandowner
Copy link
Owner

Option 1

dynamicFields:
  - apiVersion: v1
    kind: Secret
    name: cosmo-auth-env
    jsonPath:
      - /data/COOKIE_HASHKEY
      - /data/COOKIE_BLOCKKEY
      - /data/COOKIE_HASHKEY
      - /data/COOKIE_SESSION_NAME
    base64: true
    value: '###DYNAMIC_FIELD###' # Add

Option 2

dynamicFields:
  - apiVersion: v1
    kind: Secret
    name: cosmo-auth-env
    jsonPath:                         # Support both string and struct array
      - path: /data/COOKIE_HASHKEY    # Change as path property
        value: '###COOKIE_HASHKEY###'
      - path: /data/COOKIE_BLOCKKEY
        value: '###COOKIE_BLOCKKEY###' # This option can set values on each path.
@jlandowner jlandowner added the enhancement New feature or request label May 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant