Skip to content

Commit

Permalink
bump version, fix labels
Browse files Browse the repository at this point in the history
  • Loading branch information
kw1knode committed Jul 8, 2024
1 parent a004dbf commit aa610d5
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 7 deletions.
2 changes: 1 addition & 1 deletion charts/substreams-sink-noop/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ type: application
# This is the chart version. This version number should be incremented each time you make changes
# to the chart and its templates, including the app version.
# Versions are expected to follow Semantic Versioning (https://semver.org/)
version: 1.0.0
version: 2.0.0

# This is the version number of the application being deployed. This version number should be
# incremented each time you make changes to the application. Versions are not expected to
Expand Down
5 changes: 2 additions & 3 deletions charts/substreams-sink-noop/templates/service.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ kind: Service
metadata:
name: {{ include "noop.uniqueName" . }}-svc
labels:
{{- include "noop.labels" . | nindent 4 }}
app.kubernetes.io/name: {{ include "noop.uniqueName" . }}-svc
spec:
type: {{ .Values.noop.service.type }}
{{- if .Values.noop.service.ipFamilyPolicy }}
Expand All @@ -28,5 +28,4 @@ spec:
targetPort: metrics
protocol: TCP
selector:
{{- include "noop.selectorLabels" . | nindent 4 }}
{{- $componentLabel | nindent 4 }}
app.kubernetes.io/name: {{ include "noop.uniqueName" . }}
9 changes: 6 additions & 3 deletions charts/substreams-sink-noop/templates/statefulSet.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,14 @@ metadata:
name: {{ include "noop.uniqueName" .}}
labels:
{{- include "noop.labels" . | nindent 4 }}
{{- if $componentLabel }}
{{- $componentLabel | nindent 4 }}
{{- end }}
spec:
selector:
matchLabels:
{{- include "noop.selectorLabels" . | nindent 4 }}
app.kubernetes.io/name: {{ include "noop.uniqueName" . }}
app.kubernetes.io/instance: {{ .Release.Name }}
{{- if $values.volumeClaimSpec.enabled }}
volumeClaimTemplates:
- metadata:
Expand All @@ -31,8 +34,8 @@ spec:
{{- toYaml . | nindent 8 }}
{{- end }}
labels:
{{- include "noop.labels" . | nindent 4 }}
{{- $componentLabel | nindent 4 }}
app.kubernetes.io/name: {{ include "noop.uniqueName" . }}
app.kubernetes.io/instance: {{ .Release.Name }}
spec:
{{- with $values.podSecurityContext }}
securityContext:
Expand Down

0 comments on commit aa610d5

Please sign in to comment.