Skip to content

Commit

Permalink
charts/snowplow-iglu-server fix trailing whitepsace on labels
Browse files Browse the repository at this point in the history
  • Loading branch information
ianarsenault committed Aug 16, 2024
1 parent 6d6b5b7 commit b0584ec
Show file tree
Hide file tree
Showing 12 changed files with 14 additions and 14 deletions.
2 changes: 1 addition & 1 deletion charts/snowplow-iglu-server/templates/certificate.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ kind: Certificate
metadata:
name: {{ required "A valid hostname is required!" .hostname }}
labels:
{{ include "snowplow.labels" $ | nindent 4 }}
{{- include "snowplow.labels" $ | nindent 4 }}
spec:
secretName: {{ .hostname }}-tls
issuerRef:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,16 +4,16 @@ kind: Deployment
metadata:
name: {{ include "iglu.cloudsqlproxy.name" . }}
labels:
{{ include "snowplow.labels" $ | nindent 4 }}
{{- include "snowplow.labels" $ | nindent 4 }}
spec:
selector:
matchLabels:
app: {{ include "iglu.cloudsqlproxy.name" . }}
{{ include "snowplow.labels" $ | nindent 8 }}
template:
metadata:
labels:
app: {{ include "iglu.cloudsqlproxy.name" . }}
{{- include "snowplow.labels" $ | nindent 8 }}
spec:
{{- if .Values.cloudserviceaccount.deploy }}
serviceAccountName: {{ .Values.cloudserviceaccount.name }}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ kind: Service
metadata:
name: {{ include "iglu.cloudsqlproxy.name" . }}
labels:
{{ include "snowplow.labels" $ | nindent 4 }}
{{- include "snowplow.labels" $ | nindent 4 }}
spec:
type: NodePort
selector:
Expand Down
4 changes: 2 additions & 2 deletions charts/snowplow-iglu-server/templates/iglu-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ kind: Deployment
metadata:
name: {{ include "iglu.app.name" . }}
labels:
{{ include "snowplow.labels" $ | nindent 4 }}
{{- include "snowplow.labels" $ | nindent 4 }}
spec:
selector:
matchLabels:
Expand All @@ -12,7 +12,7 @@ spec:
metadata:
labels:
app: {{ include "iglu.app.name" . }}
{{ include "snowplow.labels" $ | nindent 8 }}
{{- include "snowplow.labels" $ | nindent 8 }}
annotations:
checksum/config: "{{ include "iglu.service.config.checksum" . }}"
{{- if ne .Values.service.config.hoconBase64 "" }}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ kind: ConfigMap
metadata:
name: {{ include "iglu.app.config.name" . }}
labels:
{{ include "snowplow.labels" $ | nindent 4 }}
{{- include "snowplow.labels" $ | nindent 4 }}
binaryData:
config.hocon: {{ .Values.service.config.hoconBase64 }}
{{- end }}
2 changes: 1 addition & 1 deletion charts/snowplow-iglu-server/templates/iglu-hooks.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ kind: Job
metadata:
name: {{ include "iglu.hooks.name" . }}
labels:
{{ include "snowplow.labels" $ | nindent 4 }}
{{- include "snowplow.labels" $ | nindent 4 }}
annotations:
"helm.sh/hook": post-install,post-upgrade
"helm.sh/hook-delete-policy": hook-succeeded,hook-failed
Expand Down
2 changes: 1 addition & 1 deletion charts/snowplow-iglu-server/templates/iglu-hpa.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ kind: HorizontalPodAutoscaler
metadata:
name: {{ include "iglu.app.name" . }}
labels:
{{ include "snowplow.labels" $ | nindent 4 }}
{{- include "snowplow.labels" $ | nindent 4 }}
spec:
scaleTargetRef:
apiVersion: apps/v1
Expand Down
2 changes: 1 addition & 1 deletion charts/snowplow-iglu-server/templates/iglu-ingress.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ kind: Ingress
metadata:
name: {{ include "iglu.app.name" $ }}
labels:
{{ include "snowplow.labels" $ | nindent 4 }}
{{- include "snowplow.labels" $ | nindent 4 }}
annotations:
{{- if .annotations }}
{{- toYaml .annotations | nindent 4 }}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ kind: Middleware
metadata:
name: {{ include "iglu.app.name" . }}-ipallowlist
labels:
{{ include "snowplow.labels" $ | nindent 4 }}
{{- include "snowplow.labels" $ | nindent 4 }}
spec:
ipWhiteList:
sourceRange:
Expand Down
2 changes: 1 addition & 1 deletion charts/snowplow-iglu-server/templates/iglu-secret.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ metadata:
namespace: {{ .Release.Namespace }}
name: {{ include "iglu.app.secret.name" . }}
labels:
{{ include "snowplow.labels" $ | nindent 4 }}
{{- include "snowplow.labels" $ | nindent 4 }}
type: Opaque
data:
CONFIG_FORCE_iglu_superApiKey: "{{ include "iglu.service.config.superApiKey" . | b64enc }}"
Expand Down
2 changes: 1 addition & 1 deletion charts/snowplow-iglu-server/templates/iglu-service.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ kind: Service
metadata:
name: {{ include "iglu.app.name" . }}
labels:
{{ include "snowplow.labels" $ | nindent 4 }}
{{- include "snowplow.labels" $ | nindent 4 }}
annotations:
{{- if .Values.service.annotations }}
{{- toYaml .Values.service.annotations | nindent 4 }}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ kind: TargetGroupBinding
metadata:
name: {{ include "iglu.app.name" . }}
labels:
{{ include "snowplow.labels" $ | nindent 4 }}
{{- include "snowplow.labels" $ | nindent 4 }}
spec:
serviceRef:
name: {{ include "iglu.app.name" . }}
Expand Down

0 comments on commit b0584ec

Please sign in to comment.