Commit b97e8726 authored by Dzmitry_Paulouski (slb)'s avatar Dzmitry_Paulouski (slb) Committed by Sacha Brants
Browse files

ci: add node selector

parent de99886b
......@@ -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}#
......@@ -17,4 +20,4 @@ configEnv:
image:
repository: #{CONTAINER_REGISTRY_NAME}#
branch: master
tag: #{IMAGE_TAG}#
\ No newline at end of file
tag: #{IMAGE_TAG}#
......@@ -15,7 +15,11 @@ spec:
labels:
app: {{ .Release.Name }}
aadpodidbinding: {{ .Values.global.podidentity }}
spec:
spec:
{{- if .Values.global.isAutoscalingEnabled }}
nodeSelector:
nodepool: {{ .Values.global.nodepool }}
{{- end }}
containers:
- name: {{ .Release.Name }}
image: {{ .Values.image.repository }}:{{ .Values.image.tag }}
......
Markdown is supported
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