This commit is contained in:
Zeeshaun
2026-03-24 15:26:03 -05:00
parent 1e5beb292a
commit 9cc87337b8
333 changed files with 17931 additions and 0 deletions
@@ -0,0 +1,10 @@
apiVersion: kustomize.config.k8s.io/v1alpha1
kind: Component
patches:
- target:
kind: Deployment
path: set_secrets_deployment.yaml
- target:
kind: SecretProviderClass
path: set_secrets_provider.yaml
@@ -0,0 +1,49 @@
- op: add
path: /spec/template/spec/volumes/-
value:
name: dispatcher-api-secrets
csi:
driver: secrets-store.csi.k8s.io
readOnly: true
volumeAttributes:
secretProviderClass: dispatcher-api-csi-key-vault-secrets-provider
- op: add
path: /spec/template/spec/containers/0/volumeMounts/-
value:
name: dispatcher-api-secrets
mountPath: /vault/secrets/dispatcher-api-database-connection.json
readOnly: true
subPath: dispatcher-api-database-connection
- op: add
path: /spec/template/spec/containers/0/volumeMounts/-
value:
name: dispatcher-api-secrets
mountPath: /vault/secrets/dispatcher-api-seq-api-key.json
readOnly: true
subPath: dispatcher-api-seq-api-key
- op: add
path: /spec/template/spec/containers/0/volumeMounts/-
value:
name: dispatcher-api-secrets
mountPath: /vault/secrets/dispatcher-api-rabbitmq-username.json
readOnly: true
subPath: dispatcher-api-rabbitmq-username
- op: add
path: /spec/template/spec/containers/0/volumeMounts/-
value:
name: dispatcher-api-secrets
mountPath: /vault/secrets/dispatcher-api-rabbitmq-password.json
readOnly: true
subPath: dispatcher-api-rabbitmq-password
- op: add
path: /spec/template/spec/containers/0/volumeMounts/-
value:
name: dispatcher-api-secrets
mountPath: /vault/secrets/dispatcher-api-external-api-key-set.json
readOnly: true
subPath: dispatcher-api-external-api-key-set
@@ -0,0 +1,24 @@
- op: add
path: /spec/parameters/objects
value: |
array:
- |
objectName: dispatcher-api-database-connection
objectType: secret
objectVersion: ""
- |
objectName: dispatcher-api-seq-api-key
objectType: secret
objectVersion: ""
- |
objectName: dispatcher-api-rabbitmq-username
objectType: secret
objectVersion: ""
- |
objectName: dispatcher-api-rabbitmq-password
objectType: secret
objectVersion: ""
- |
objectName: dispatcher-api-external-api-key-set
objectType: secret
objectVersion: ""