Skip to content

Commit bb04d6f

Browse files
authored
Merge pull request #53 from matthewmcdaniel/helm-template-changes
Specify region in values.yaml instead of hardcoding in deployment.yaml
2 parents 438e11f + d289613 commit bb04d6f

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

helm/oci-native-ingress-controller/templates/deployment.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ spec:
7171
- name: OCI_RESOURCE_PRINCIPAL_VERSION
7272
value: "2.2"
7373
- name: OCI_RESOURCE_PRINCIPAL_REGION
74-
value: "us-phoenix-1"
74+
value: {{ .Values.region }}
7575
- name: OCI_SDK_DEFAULT_RETRY_ENABLED
7676
value: "true"
7777
ports:

helm/oci-native-ingress-controller/values.yaml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,6 +97,8 @@ webhookBindPort: 9443
9797
# Supported auths - instance(default), user
9898
authType: instance
9999
authSecretName: oci-config
100+
# Region where OKE cluster is deployed
101+
region: ""
100102

101103
# objectSelector for webhook
102104
objectSelector:
@@ -110,4 +112,4 @@ objectSelector:
110112

111113
metrics:
112114
backend: prometheus
113-
port: 2223
115+
port: 2223

0 commit comments

Comments
 (0)