Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 15 additions & 0 deletions templates/deployment-client.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,26 @@ spec:
metadata:
labels:
{{- include "opal.clientLabels" . | nindent 8 }}
{{- with .Values.client.podLabels }}
{{- toYaml . | nindent 8 }}
{{- end }}
spec:
{{- with .Values.image.client.pullSecrets }}
imagePullSecrets:
{{- toYaml . | nindent 8 }}
{{- end }}
{{- with .Values.client.nodeSelector }}
nodeSelector:
{{- toYaml . | nindent 8 }}
{{- end }}
{{- with .Values.client.affinity }}
affinity:
{{- toYaml . | nindent 8 }}
{{- end }}
{{- with .Values.client.tolerations }}
tolerations:
{{- toYaml . | nindent 8 }}
{{- end }}
{{- if or .Values.openshift.enabled .Values.client.securityContext }}
securityContext:
{{- if .Values.client.securityContext }}
Expand Down
15 changes: 15 additions & 0 deletions templates/deployment-server.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,26 @@ spec:
metadata:
labels:
{{- include "opal.serverLabels" . | nindent 8 }}
{{- with .Values.server.podLabels }}
{{- toYaml . | nindent 8 }}
{{- end }}
spec:
{{- with .Values.image.server.pullSecrets }}
imagePullSecrets:
{{- toYaml . | nindent 8 }}
{{- end }}
{{- with .Values.server.nodeSelector }}
nodeSelector:
{{- toYaml . | nindent 8 }}
{{- end }}
{{- with .Values.server.affinity }}
affinity:
{{- toYaml . | nindent 8 }}
{{- end }}
{{- with .Values.server.tolerations }}
tolerations:
{{- toYaml . | nindent 8 }}
{{- end }}
{{- if or .Values.openshift.enabled .Values.server.securityContext }}
securityContext:
{{- if .Values.server.securityContext }}
Expand Down
42 changes: 42 additions & 0 deletions values.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -209,6 +209,27 @@
"type": "string",
"default": "IfNotPresent",
"title": "when kubelet should pull specified image"
},
"podLabels": {
"type": "object",
"title": "additional pod labels for the OPAL server",
"default": {}
},
"nodeSelector": {
"type": "object",
"title": "node selector for scheduling OPAL server pods",
"default": {}
},
"tolerations": {
"type": "array",
"title": "tolerations for scheduling OPAL server pods on tainted nodes",
"default": [],
"items": { "type": "object" }
},
"affinity": {
"type": "object",
"title": "affinity rules for OPAL server pods",
"default": {}
}
}
},
Expand Down Expand Up @@ -255,6 +276,27 @@
"type": "string",
"default": "IfNotPresent",
"title": "when kubelet should pull specified image"
},
"podLabels": {
"type": "object",
"title": "additional pod labels for the OPAL client",
"default": {}
},
"nodeSelector": {
"type": "object",
"title": "node selector for scheduling OPAL client pods",
"default": {}
},
"tolerations": {
"type": "array",
"title": "tolerations for scheduling OPAL client pods on tainted nodes",
"default": [],
"items": { "type": "object" }
},
"affinity": {
"type": "object",
"title": "affinity rules for OPAL client pods",
"default": {}
}
}
},
Expand Down