Skip to content
Snippets Groups Projects
Commit c2f49e40 authored by Akansha Rajput[Microsoft]'s avatar Akansha Rajput[Microsoft]
Browse files

Merge branch 'add_node_selector' into 'master'

Add node selector

See merge request !120
parents 39186663 e58ec833
No related branches found
No related tags found
1 merge request!120Add node selector
Pipeline #60596 canceled
...@@ -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
......
...@@ -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:
......
...@@ -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/legal repository: community.opengroup.org:5555/osdu/platform/security-and-compliance/legal
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment