Skip to content

Commit

Permalink
Merge pull request #328 from authzed/mount-update-graph
Browse files Browse the repository at this point in the history
Add update graph to release manifests
  • Loading branch information
ecordell authored Jul 23, 2024
2 parents 343715e + 481e6ef commit d8d97ca
Show file tree
Hide file tree
Showing 3 changed files with 2,276 additions and 1 deletion.
7 changes: 7 additions & 0 deletions config/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,10 @@ resources:
images:
- name: ghcr.io/authzed/spicedb-operator
newTag: latest
generatorOptions:
disableNameSuffixHash: true
configMapGenerator:
- name: update-graph
namespace: spicedb-operator
files:
- update-graph.yaml
11 changes: 10 additions & 1 deletion config/operator.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,13 +29,18 @@ spec:
app: spicedb-operator
app.kubernetes.io/instance: spicedb-operator
spec:
volumes:
- configMap:
defaultMode: 420
name: update-graph
name: config
containers:
- args:
- run
- -v=4
- --crd=false
- --config
- /opt/operator/config.yaml
- /opt/operator/update-graph.yaml
image: ghcr.io/authzed/spicedb-operator:latest
livenessProbe:
httpGet:
Expand All @@ -46,6 +51,10 @@ spec:
periodSeconds: 10
successThreshold: 1
timeoutSeconds: 15
volumeMounts:
- mountPath: /opt/operator
name: config
readOnly: true
name: spicedb-operator
ports:
- containerPort: 8080
Expand Down
Loading

0 comments on commit d8d97ca

Please sign in to comment.