Skip to content

Commit

Permalink
new name test
Browse files Browse the repository at this point in the history
  • Loading branch information
coutug committed Mar 20, 2024
1 parent a002488 commit 84598ec
Show file tree
Hide file tree
Showing 6 changed files with 11 additions and 11 deletions.
2 changes: 1 addition & 1 deletion charts/substreams-sink/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.6
version: 1.0.7

# 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
4 changes: 2 additions & 2 deletions charts/substreams-sink/templates/_helpers.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ Create chart name and version as used by the chart label.
Create common lablels.
*/}}
{{- define "substreams-sink.common-labels" -}}
app: {{ .Release.Name }}
app: sink
{{- if .Values.sinkType }}
sinkType: {{ .Values.sinkType }}
{{- end }}
Expand All @@ -60,7 +60,7 @@ Selector labels
*/}}
{{- define "substreams-sink.selectorLabels" -}}
app.kubernetes.io/name: {{ include "substreams-sink.name" . }}
app.kubernetes.io/instance: {{ .Release.Name }}
app.kubernetes.io/instance: sink
{{- end }}

{{/*
Expand Down
10 changes: 5 additions & 5 deletions charts/substreams-sink/templates/deployment.yaml
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
apiVersion: apps/v1
kind: {{ if .Values.cursorPvc.enabled }}StatefulSet{{ else }}Deployment{{ end }}
metadata:
name: {{ .Release.Name }}
name: sink
namespace: {{ .Release.Namespace }}
labels:
release: {{ .Release.Name }}
release: sink
chart: {{ .Chart.Name }}
name: {{ include "substreams-sink.name" . }}
fullName: {{ include "substreams-sink.fullname" . }}
Expand All @@ -20,7 +20,7 @@ spec:
{{- include "substreams-sink.common-labels" . | nindent 8 }}
spec:
containers:
- name: {{ .Release.Name }}
- name: sink
image: {{ .Values.image -}} :{{ .Values.tag }}
{{- if .Values.args }}
args: {{ .Values.args }}
Expand All @@ -29,7 +29,7 @@ spec:
- containerPort: {{ .Values.env.port }}
envFrom:
- configMapRef:
name: env-{{ .Release.Name }}
name: env-sink
{{- if .Values.secretName }}
- secretRef:
name: {{ .Values.secretName }}
Expand All @@ -50,5 +50,5 @@ spec:
volumes:
- name: cursor-volume
persistentVolumeClaim:
claimName: pvc-{{ .Release.Name }}
claimName: pvc-sink
{{- end }}
2 changes: 1 addition & 1 deletion charts/substreams-sink/templates/env.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
apiVersion: v1
kind: ConfigMap
metadata:
name: env-{{ .Release.Name }}
name: env-sink
labels:
{{- include "substreams-sink.common-labels" . | nindent 4 }}
data:
Expand Down
2 changes: 1 addition & 1 deletion charts/substreams-sink/templates/pvc.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
apiVersion: v1
kind: PersistentVolumeClaim
metadata:
name: pvc-{{ .Release.Name }}
name: pvc-sink
namespace: {{ .Release.Namespace }}
labels:
{{- include "substreams-sink.common-labels" . | nindent 4 }}
Expand Down
2 changes: 1 addition & 1 deletion charts/substreams-sink/templates/service.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
apiVersion: v1
kind: Service
metadata:
name: {{ .Release.Name }}
name: sink
namespace: {{ .Release.Namespace }}
labels:
{{- include "substreams-sink.common-labels" . | nindent 4 }}
Expand Down

0 comments on commit 84598ec

Please sign in to comment.