Commit c0b3126a authored by Dzmitry_Paulouski (slb)'s avatar Dzmitry_Paulouski (slb) Committed by harshit aggarwal
Browse files

Add node selector

parent 7e191e3e
This diff is collapsed.
...@@ -3,6 +3,8 @@ global: ...@@ -3,6 +3,8 @@ global:
# Service(s) Replica Count # Service(s) Replica Count
replicaCount: 2 replicaCount: 2
nodepool: services
isAutoscalingEnabled: false
################################################################################ ################################################################################
# Specify the Gitlab branch being used for image creation # Specify the Gitlab branch being used for image creation
...@@ -25,4 +27,4 @@ config: ...@@ -25,4 +27,4 @@ config:
domain: #{DOMAIN}# domain: #{DOMAIN}#
redis: redis:
ttl: ttl:
seconds: #{ENTV2_REDIS_TTL_SECONDS}# seconds: #{ENTV2_REDIS_TTL_SECONDS}#
\ No newline at end of file
...@@ -28,6 +28,10 @@ spec: ...@@ -28,6 +28,10 @@ spec:
app: {{ .Chart.Name }} app: {{ .Chart.Name }}
aadpodidbinding: osdu-identity aadpodidbinding: osdu-identity
spec: spec:
{{- if .Values.global.isAutoscalingEnabled }}
nodeSelector:
nodepool: {{ .Values.global.nodepool }}
{{- end }}
volumes: volumes:
- name: azure-keyvault - name: azure-keyvault
csi: csi:
...@@ -78,4 +82,4 @@ spec: ...@@ -78,4 +82,4 @@ spec:
- name: redis_ttl_seconds - name: redis_ttl_seconds
value: "{{ .Values.config.redis.ttl.seconds }}" value: "{{ .Values.config.redis.ttl.seconds }}"
- name: azure_istioauth_enabled - name: azure_istioauth_enabled
value: "true" value: "true"
\ No newline at end of file
...@@ -14,6 +14,8 @@ ...@@ -14,6 +14,8 @@
global: global:
replicaCount: 1 replicaCount: 1
nodepool: services
isAutoscalingEnabled: false
image: image:
repository: community.opengroup.org:5555/osdu/platform/security-and-compliance/entitlements repository: community.opengroup.org:5555/osdu/platform/security-and-compliance/entitlements
......
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