Skip to content

Commit

Permalink
Merge branch 'main' into maxisam-patch-1
Browse files Browse the repository at this point in the history
  • Loading branch information
maxisam authored Apr 28, 2023
2 parents 65f5c4d + a522d8f commit 4ba7c9a
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 1 deletion.
2 changes: 1 addition & 1 deletion charts/mgob/templates/statefulset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ metadata:
{{- end }}
spec:
serviceName: {{ include "common.names.fullname" . }}
replicas: 1
replicas: {{ .Values.replicaCount }}
selector:
matchLabels: {{- include "common.labels.matchLabels" . | nindent 6 }}
template:
Expand Down
12 changes: 12 additions & 0 deletions charts/mgob/values.schema.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
{
"$schema": "https://json-schema.org/draft-07/schema#",
"title": "Values schema",
"type": "object",
"properties": {
"replicaCount": {
"type": "integer",
"enum": [0, 1]
}
},
"required": ["replicaCount"]
}

0 comments on commit 4ba7c9a

Please sign in to comment.