Skip to content
This repository was archived by the owner on Sep 10, 2025. It is now read-only.

Commit a2d5915

Browse files
committed
🧽 Clean up templates by leveraging restartPolicy and imagePullPolicy defaults
1 parent 167f91b commit a2d5915

File tree

10 files changed

+0
-12
lines changed

10 files changed

+0
-12
lines changed

‎deploy/templates/code.yaml‎

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,6 @@ spec:
5252
fsGroup: 1000
5353
containers:
5454
- image: {{ .Values.code.image }}
55-
imagePullPolicy: Always
5655
name: code
5756
ports:
5857
- name: ide
@@ -103,7 +102,6 @@ spec:
103102
secretName: client-ovpn
104103
defaultMode: 0400
105104
{{ end }}
106-
restartPolicy: Always
107105
{{ if eq .Values.policies.enabled true }}
108106
---
109107
apiVersion: networking.k8s.io/v1

‎deploy/templates/grafana.yaml‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,6 @@ spec:
104104
containers:
105105
- name: seed
106106
image: {{ .Values.initializers.image }}
107-
imagePullPolicy: Always
108107
command: ["/bin/bash", "-c"]
109108
args:
110109
- |

‎deploy/templates/guacamole.yaml‎

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,6 @@ spec:
3838
resources: {{ toYaml .Values.guacamole.guacd.resources | nindent 10 }}
3939
securityContext:
4040
readOnlyRootFilesystem: true
41-
restartPolicy: Always
4241
---
4342
apiVersion: v1
4443
kind: Service
@@ -93,7 +92,6 @@ spec:
9392
- name: POSTGRES_PASSWORD
9493
value: myguac123
9594
resources: {{ toYaml .Values.guacamole.resources | nindent 10 }}
96-
restartPolicy: Always
9795
---
9896
apiVersion: v1
9997
kind: Service

‎deploy/templates/jupyter.yaml‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,6 @@ spec:
6262
secretName: client-ovpn
6363
defaultMode: 0400
6464
{{ end }}
65-
restartPolicy: Always
6665
{{ if eq .Values.policies.enabled true }}
6766
---
6867
apiVersion: networking.k8s.io/v1

‎deploy/templates/kanboard.yaml‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,6 @@ spec:
4747
- name: nginx-conf
4848
configMap:
4949
name: nginx-conf
50-
restartPolicy: Always
5150
---
5251
kind: Service
5352
apiVersion: v1

‎deploy/templates/keycloak.yaml‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,6 @@ spec:
125125
image: {{ .Values.keycloak.operator.image }}
126126
command:
127127
- keycloak-operator
128-
imagePullPolicy: Always
129128
resources: {{ toYaml .Values.keycloak.operator.resources | nindent 10 }}
130129
env:
131130
- name: WATCH_NAMESPACE

‎deploy/templates/landing.yaml‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,6 @@ spec:
3535
- name: landing
3636
image: {{ .Values.landing.image }}
3737
resources: {{ toYaml .Values.landing.resources | nindent 10 }}
38-
restartPolicy: Always
3938
{{ if eq .Values.policies.enabled true }}
4039
---
4140
apiVersion: networking.k8s.io/v1

‎deploy/templates/oauth2-proxy.yaml‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@ spec:
1818
containers:
1919
- name: oauth2-proxy
2020
image: {{ .Values.oauth2Proxy.image }}
21-
imagePullPolicy: Always
2221
args:
2322
- "--session-cookie-minimal"
2423
- "--session-store-type=redis"

‎deploy/templates/pgweb.yaml‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,6 @@ spec:
4848
secretName: client-ovpn
4949
defaultMode: 0400
5050
{{ end }}
51-
restartPolicy: Always
5251
{{ if eq .Values.policies.enabled true }}
5352
---
5453
apiVersion: networking.k8s.io/v1

‎deploy/templates/prometheus.yaml‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,6 @@ spec:
4040
- name: prometheus-data
4141
persistentVolumeClaim:
4242
claimName: prometheus-pvc
43-
restartPolicy: Always
4443
---
4544
apiVersion: v1
4645
kind: ConfigMap

0 commit comments

Comments
 (0)