diff --git a/deployment/k3s/templates/deployments/webclient-deployment.yaml b/deployment/k3s/templates/deployments/webclient-deployment.yaml index cd0abfe09..0d3d26a8a 100644 --- a/deployment/k3s/templates/deployments/webclient-deployment.yaml +++ b/deployment/k3s/templates/deployments/webclient-deployment.yaml @@ -5,7 +5,7 @@ metadata: labels: app.kubernetes.io/part-of: navigatum app.kubernetes.io/name: web - namespace: { { $.Values.namespace } } + namespace: {{ $.Values.namespace }} spec: replicas: 1 revisionHistoryLimit: 0 @@ -24,7 +24,7 @@ spec: app.kubernetes.io/part-of: navigatum app.kubernetes.io/name: web spec: - priorityClassName: { { $.Values.url } } + priorityClassName: {{ $.Values.url }} containers: - name: webclient image: "ghcr.io/tum-dev/navigatum-webclient:{{ $.Values.tag }}" diff --git a/deployment/k3s/templates/networking/ingress.yaml b/deployment/k3s/templates/networking/ingress.yaml index 0904f8b27..230f108c4 100644 --- a/deployment/k3s/templates/networking/ingress.yaml +++ b/deployment/k3s/templates/networking/ingress.yaml @@ -4,7 +4,7 @@ metadata: name: ingress labels: app.kubernetes.io/part-of: navigatum - namespace: { { $.Values.namespace } } + namespace: {{ $.Values.namespace }} spec: entryPoints: - websecure @@ -48,7 +48,7 @@ spec: middlewares: - name: nav-tum-de-redirect tls: - secretName: { { $.Values.url } } + secretName: {{ $.Values.url }} --- apiVersion: traefik.containo.us/v1alpha1 kind: IngressRoute @@ -56,7 +56,7 @@ metadata: name: ingress-http labels: app.kubernetes.io/part-of: navigatum - namespace: { { $.Values.namespace } } + namespace: {{ $.Values.namespace }} spec: entryPoints: - web diff --git a/deployment/k3s/templates/networking/service.yaml b/deployment/k3s/templates/networking/service.yaml index d98c421c6..9bd0ce20f 100644 --- a/deployment/k3s/templates/networking/service.yaml +++ b/deployment/k3s/templates/networking/service.yaml @@ -5,7 +5,7 @@ metadata: labels: app.kubernetes.io/part-of: navigatum app.kubernetes.io/name: api - namespace: { { $.Values.namespace } } + namespace: {{ $.Values.namespace }} spec: type: ClusterIP selector: @@ -23,7 +23,7 @@ metadata: labels: app.kubernetes.io/part-of: navigatum app.kubernetes.io/name: maps - namespace: { { $.Values.namespace } } + namespace: {{ $.Values.namespace }} spec: type: ClusterIP selector: @@ -44,7 +44,7 @@ metadata: labels: app.kubernetes.io/part-of: navigatum app.kubernetes.io/name: cdn - namespace: { { $.Values.namespace } } + namespace: {{ $.Values.namespace }} spec: type: ClusterIP selector: @@ -62,7 +62,7 @@ metadata: labels: app.kubernetes.io/part-of: navigatum app.kubernetes.io/name: web - namespace: { { $.Values.namespace } } + namespace: {{ $.Values.namespace }} spec: type: ClusterIP selector: @@ -72,7 +72,7 @@ spec: - name: http port: 3000 targetPort: 3000 - { { - if eq "nav.tum.de" $.Values.url } } + {{ - if eq "nav.tum.de" $.Values.url }} --- apiVersion: v1 kind: Service @@ -81,7 +81,7 @@ metadata: labels: app.kubernetes.io/part-of: navigatum app.kubernetes.io/name: postgres - namespace: { { $.Values.namespace } } + namespace: {{ $.Values.namespace }} spec: type: ClusterIP selector: @@ -91,4 +91,4 @@ spec: - name: postgres port: 5432 targetPort: 5432 - { { end } } + {{ end }}