Commit 1c132537 authored by Sacha Brants's avatar Sacha Brants
Browse files

Merge branch 'add_node_selector' into 'master'

ci: add node selector

See merge request !169
parents de99886b b97e8726
Pipeline #60843 failed
......@@ -2,9 +2,12 @@ global:
replicaCount: #{REPLICA_COUNT}#
namespace: osdu
podidentity: osdu-identity
nodepool: services
isAutoscalingEnabled: false
minReplicaCount: #{SDMS_MIN_REPLICAS}#
maxReplicaCount: #{SDMS_MAX_REPLICAS}#
configEnv:
cloudProvider: #{PROVIDER_NAME}#
keyvaultUrl: #{KEYVAULT_NAME}#
......
......@@ -16,6 +16,10 @@ spec:
app: {{ .Release.Name }}
aadpodidbinding: {{ .Values.global.podidentity }}
spec:
{{- if .Values.global.isAutoscalingEnabled }}
nodeSelector:
nodepool: {{ .Values.global.nodepool }}
{{- end }}
containers:
- name: {{ .Release.Name }}
image: {{ .Values.image.repository }}:{{ .Values.image.tag }}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment