Skip to content

Commit d8d97ca

Browse files
authored
Merge pull request #328 from authzed/mount-update-graph
Add update graph to release manifests
2 parents 343715e + 481e6ef commit d8d97ca

File tree

3 files changed

+2276
-1
lines changed

3 files changed

+2276
-1
lines changed

config/kustomization.yaml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,3 +7,10 @@ resources:
77
images:
88
- name: ghcr.io/authzed/spicedb-operator
99
newTag: latest
10+
generatorOptions:
11+
disableNameSuffixHash: true
12+
configMapGenerator:
13+
- name: update-graph
14+
namespace: spicedb-operator
15+
files:
16+
- update-graph.yaml

config/operator.yaml

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,13 +29,18 @@ spec:
2929
app: spicedb-operator
3030
app.kubernetes.io/instance: spicedb-operator
3131
spec:
32+
volumes:
33+
- configMap:
34+
defaultMode: 420
35+
name: update-graph
36+
name: config
3237
containers:
3338
- args:
3439
- run
3540
- -v=4
3641
- --crd=false
3742
- --config
38-
- /opt/operator/config.yaml
43+
- /opt/operator/update-graph.yaml
3944
image: ghcr.io/authzed/spicedb-operator:latest
4045
livenessProbe:
4146
httpGet:
@@ -46,6 +51,10 @@ spec:
4651
periodSeconds: 10
4752
successThreshold: 1
4853
timeoutSeconds: 15
54+
volumeMounts:
55+
- mountPath: /opt/operator
56+
name: config
57+
readOnly: true
4958
name: spicedb-operator
5059
ports:
5160
- containerPort: 8080

0 commit comments

Comments
 (0)