Skip to content

Commit

Permalink
Fixed a minor issue in upstream charts (Azure#509)
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelawyu authored Sep 1, 2023
1 parent ea45e68 commit 1e7e510
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 6 deletions.
8 changes: 2 additions & 6 deletions charts/hub-agent/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,12 +27,8 @@ spec:
- --webhook-client-connection-type={{.Values.webhookClientConnectionType}}
- --v={{ .Values.logVerbosity }}
- -add_dir_header
{{- if .Values.enableV1Alpha1APIs }}
- --enable-v1alpha1-apis
{{- end }}
{{- if .Values.enableV1Beta1APIs }}
- --enable-v1beta1-apis
{{- end }}
- --enable-v1alpha1-apis={{ .Values.enableV1Alpha1APIs }}
- --enable-v1beta1-apis={{ .Values.enableV1Beta1APIs }}
ports:
- name: metrics
containerPort: 8080
Expand Down
2 changes: 2 additions & 0 deletions charts/member-agent/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,8 @@ spec:
{{- end }}
- --v={{ .Values.logVerbosity }}
- -add_dir_header
- --enable-v1alpha1-apis={{ .Values.enableV1Alpha1APIs }}
- --enable-v1beta1-apis={{ .Values.enableV1Beta1APIs }}
env:
- name: HUB_SERVER_URL
value: "{{ .Values.config.hubURL }}"
Expand Down
3 changes: 3 additions & 0 deletions charts/member-agent/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -45,3 +45,6 @@ azure:

tlsClientInsecure: true #TODO should be false in the production
useCAAuth: false

enableV1Alpha1APIs: true
enableV1Beta1APIs: false

0 comments on commit 1e7e510

Please sign in to comment.