Skip to content

merging 2 azure keyvault secret inside 1 k8s secret #691

Answered by Antse
Antse asked this question in Q&A
Discussion options

You must be logged in to vote

I found the trick

just need to replace this :

  - secretName: mycreds
    type: Opaque
    data:
      - objectName: my-pass
        key: password
  - secretName: mycreds
    type: Opaque
    data:
      - objectName: my-user
        key: username

by this

  - secretName: mycreds
    type: Opaque
    data:
      - objectName: my-pass
        key: password
     - objectName: my-user
        key: username
      

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@Antse
Comment options

@mark-geary
Comment options

Answer selected by Antse
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants