Skip to content

Commit

Permalink
Merge pull request #53 from matthewmcdaniel/helm-template-changes
Browse files Browse the repository at this point in the history
Specify region in values.yaml instead of hardcoding in deployment.yaml
  • Loading branch information
nirpai authored May 7, 2024
2 parents 438e11f + d289613 commit bb04d6f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ spec:
- name: OCI_RESOURCE_PRINCIPAL_VERSION
value: "2.2"
- name: OCI_RESOURCE_PRINCIPAL_REGION
value: "us-phoenix-1"
value: {{ .Values.region }}
- name: OCI_SDK_DEFAULT_RETRY_ENABLED
value: "true"
ports:
Expand Down
4 changes: 3 additions & 1 deletion helm/oci-native-ingress-controller/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,8 @@ webhookBindPort: 9443
# Supported auths - instance(default), user
authType: instance
authSecretName: oci-config
# Region where OKE cluster is deployed
region: ""

# objectSelector for webhook
objectSelector:
Expand All @@ -110,4 +112,4 @@ objectSelector:

metrics:
backend: prometheus
port: 2223
port: 2223

0 comments on commit bb04d6f

Please sign in to comment.