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

feat: adds outbound proxy env variable support for windows pod #1106

Merged
merged 1 commit into from
Apr 5, 2023
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.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ windows:
pullPolicy: IfNotPresent
nodeSelector: {}
tolerations: []
enabled: false
enabled: true
resources:
requests:
cpu: 100m
Expand Down Expand Up @@ -132,7 +132,7 @@ secrets-store-csi-driver:
prometheus.io/port: "8080"

windows:
enabled: false
enabled: true
kubeletRootDir: C:\var\lib\kubelet
metricsAddr: ":8080"
image:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,17 @@ spec:
{{- if .Values.windows.podLabels }}
{{- toYaml .Values.windows.podLabels | nindent 8 }}
{{- end }}
{{- if .Values.windows.podAnnotations }}
{{- if or .Values.windows.podAnnotations .Values.enableArcExtension }}
annotations:
{{- if .Values.windows.podAnnotations}}
{{- toYaml .Values.windows.podAnnotations | nindent 8 }}
{{- end }}
{{- if .Values.enableArcExtension }}
{{- if .Values.arc.enableMonitoring }}
prometheus.io/scrape: "true"
prometheus.io/port: "8898"
{{- end }}
{{- end }}
{{- end }}
spec:
{{- if .Values.imagePullSecrets }}
Expand Down Expand Up @@ -61,6 +69,13 @@ spec:
periodSeconds: 30
resources:
{{ toYaml .Values.windows.resources | indent 12 }}
{{- if .Values.enableArcExtension }}
{{- if .Values.Azure.proxySettings.isProxyEnabled }}
aramase marked this conversation as resolved.
Show resolved Hide resolved
envFrom:
- secretRef:
name: arc-proxy-config
{{- end }}
{{- end }}
volumeMounts:
- name: provider-vol
mountPath: "C:\\provider"
Expand Down