Skip to content

Commit

Permalink
Add link from stateful set to service
Browse files Browse the repository at this point in the history
Without this I get:

```
error validating data: ValidationError(StatefulSet.spec): missing required field "serviceName" in io.k8s.api.apps.v1.StatefulSetSpec
```
  • Loading branch information
johngrimes authored and faridco committed Sep 18, 2024
1 parent 790d2df commit e23ed7b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions aidboxdb/templates/statefulset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ metadata:
labels:
{{- include "aidboxdb.labels" . | nindent 4 }}
spec:
serviceName: {{ include "aidboxdb.fullname" . }}
replicas: 1
selector:
matchLabels:
Expand Down

0 comments on commit e23ed7b

Please sign in to comment.