Skip to content

Commit 0c1529c

Browse files
authored
chore: Switch secret-operator volume to ephemeral (#346)
1 parent 76d2778 commit 0c1529c

File tree

2 files changed

+26
-10
lines changed

2 files changed

+26
-10
lines changed

stacks/authentication/openldap-tls.yaml

Lines changed: 13 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -71,11 +71,19 @@ spec:
7171
port: 1389
7272
volumes:
7373
- name: tls
74-
csi:
75-
driver: secrets.stackable.tech
76-
volumeAttributes:
77-
secrets.stackable.tech/class: openldap-tls
78-
secrets.stackable.tech/scope: pod
74+
ephemeral:
75+
volumeClaimTemplate:
76+
metadata:
77+
annotations:
78+
secrets.stackable.tech/class: openldap-tls
79+
secrets.stackable.tech/scope: pod
80+
spec:
81+
storageClassName: secrets.stackable.tech
82+
accessModes:
83+
- ReadWriteOnce
84+
resources:
85+
requests:
86+
storage: "1"
7987
---
8088
apiVersion: v1
8189
kind: Service

stacks/observability/grafana.yaml

Lines changed: 13 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -69,8 +69,16 @@ options:
6969
extraVolumes:
7070
# Request a TLS certificate from the secret-operator
7171
- name: tls
72-
csi:
73-
driver: secrets.stackable.tech
74-
volumeAttributes:
75-
secrets.stackable.tech/class: tls
76-
secrets.stackable.tech/scope: node,pod,service=grafana
72+
ephemeral:
73+
volumeClaimTemplate:
74+
metadata:
75+
annotations:
76+
secrets.stackable.tech/class: tls
77+
secrets.stackable.tech/scope: node,pod,service=grafana
78+
spec:
79+
storageClassName: secrets.stackable.tech
80+
accessModes:
81+
- ReadWriteOnce
82+
resources:
83+
requests:
84+
storage: "1"

0 commit comments

Comments
 (0)