-
Notifications
You must be signed in to change notification settings - Fork 0
/
ombi-spc.yml
35 lines (35 loc) · 1.03 KB
/
ombi-spc.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
apiVersion: secrets-store.csi.x-k8s.io/v1alpha1
kind: SecretProviderClass
metadata:
name: ombi
spec:
provider: vault
secretObjects:
- secretName: ombi
type: Opaque
data:
- objectName: MYSQL_USER
key: MYSQL_USER
- objectName: MYSQL_PASSWORD
key: MYSQL_PASSWORD
- objectName: MYSQL_DATABASE
key: MYSQL_DATABASE
- objectName: MYSQL_ROOT_PASSWORD
key: MYSQL_ROOT_PASSWORD
parameters:
vaultAddress: 'http://vault.vault:8200'
vaultKubernetesMountPath: 'k8s-vault-csi'
roleName: ombi
objects: |
- objectName: "MYSQL_USER"
secretPath: "apps-kv/data/ombi/database"
secretKey: "MYSQL_USER"
- objectName: "MYSQL_PASSWORD"
secretPath: "apps-kv/data/ombi/database"
secretKey: "MYSQL_PASSWORD"
- objectName: "MYSQL_DATABASE"
secretPath: "apps-kv/data/ombi/database"
secretKey: "MYSQL_DATABASE"
- objectName: "MYSQL_ROOT_PASSWORD"
secretPath: "apps-kv/data/ombi/database"
secretKey: "MYSQL_ROOT_PASSWORD"