Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Specify region in values.yaml instead of hardcoding in deployment.yaml #53

Merged
merged 1 commit into from
May 7, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,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
Loading