Skip to content

Commit

Permalink
Add update graph to release manifests
Browse files Browse the repository at this point in the history
Previously, this was only included in the binary itself. Including
them here will let us retro-actively fix the 1.16.0 release, which is
missing that config file because of the recent switch to `ko` for
release builds.
  • Loading branch information
ecordell committed Jul 23, 2024
1 parent 343715e commit 481e6ef
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 481e6ef

Please sign in to comment.