Skip to content

Commit

Permalink
Adding support http proxy support
Browse files Browse the repository at this point in the history
  • Loading branch information
Arnar Páll committed Sep 11, 2023
1 parent 9b5b6a9 commit a3b9205
Show file tree
Hide file tree
Showing 8 changed files with 89 additions and 5 deletions.
2 changes: 1 addition & 1 deletion charts/bigdata-notebook-service/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ apiVersion: v2
name: bigdata-notebook-service
description: A Helm chart for the Spot Big Data Notebook Service
type: application
version: 0.1.30
version: 0.2.0
appVersion: 0.1.16
home: https://github.com/spotinst/charts
icon: https://docs.spot.io/_media/images/spot_mark.png
Expand Down
24 changes: 24 additions & 0 deletions charts/bigdata-notebook-service/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,18 @@ spec:
configMapKeyRef:
name: spot-ofas-cluster-info
key: accountId
- name: HTTP_PROXY
valueFrom:
configMapKeyRef:
name: spot-ofas-cluster-info
key: proxyUrl
optional: true
- name: HTTPS_PROXY
valueFrom:
configMapKeyRef:
name: spot-ofas-cluster-info
key: proxyUrl
optional: true
resources:
{{- toYaml .Values.resources | nindent 12 }}
{{- if .Values.telemetry.enabled }}
Expand Down Expand Up @@ -150,6 +162,18 @@ spec:
configMapKeyRef:
name: spot-ofas-cluster-info
key: accountId
- name: HTTP_PROXY
valueFrom:
configMapKeyRef:
name: spot-ofas-cluster-info
key: proxyUrl
optional: true
- name: HTTPS_PROXY
valueFrom:
configMapKeyRef:
name: spot-ofas-cluster-info
key: proxyUrl
optional: true
resources: {}
volumeMounts:
- name: config
Expand Down
4 changes: 2 additions & 2 deletions charts/bigdata-operator/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ apiVersion: v2
name: bigdata-operator
description: Spot Ocean BigData Operator
type: application
version: 0.3.2
appVersion: 0.3.0
version: 0.4.0
appVersion: 0.4.0
home: https://github.com/spotinst/charts
icon: https://docs.spot.io/_media/images/spot_mark.png
sources:
Expand Down
24 changes: 24 additions & 0 deletions charts/bigdata-operator/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,18 @@ spec:
valueFrom:
fieldRef:
fieldPath: metadata.namespace
- name: HTTP_PROXY
valueFrom:
configMapKeyRef:
name: spot-ofas-cluster-info
key: proxyUrl
optional: true
- name: HTTPS_PROXY
valueFrom:
configMapKeyRef:
name: spot-ofas-cluster-info
key: proxyUrl
optional: true
resources:
{{- toYaml .Values.resources | nindent 12 }}
{{- if .Values.telemetry.enabled }}
Expand Down Expand Up @@ -100,6 +112,18 @@ spec:
configMapKeyRef:
name: spot-ofas-cluster-info
key: accountId
- name: HTTP_PROXY
valueFrom:
configMapKeyRef:
name: spot-ofas-cluster-info
key: proxyUrl
optional: true
- name: HTTPS_PROXY
valueFrom:
configMapKeyRef:
name: spot-ofas-cluster-info
key: proxyUrl
optional: true
resources: {}
volumeMounts:
- name: config
Expand Down
2 changes: 1 addition & 1 deletion charts/bigdata-spark-watcher/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ apiVersion: v2
name: bigdata-spark-watcher
description: A Helm chart for the Spot Big Data Spark Watcher
type: application
version: 0.4.3
version: 0.5.3
appVersion: 0.4.2
home: https://github.com/spotinst/charts
icon: https://docs.spot.io/_media/images/spot_mark.png
Expand Down
24 changes: 24 additions & 0 deletions charts/bigdata-spark-watcher/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,18 @@ spec:
env:
{{- toYaml . | nindent 12 }}
{{- end }}
- name: HTTP_PROXY
valueFrom:
configMapKeyRef:
name: spot-ofas-cluster-info
key: proxyUrl
optional: true
- name: HTTPS_PROXY
valueFrom:
configMapKeyRef:
name: spot-ofas-cluster-info
key: proxyUrl
optional: true
resources:
{{- toYaml .Values.resources | nindent 12 }}
{{- if .Values.telemetry.enabled }}
Expand Down Expand Up @@ -94,6 +106,18 @@ spec:
configMapKeyRef:
name: spot-ofas-cluster-info
key: accountId
- name: HTTP_PROXY
valueFrom:
configMapKeyRef:
name: spot-ofas-cluster-info
key: proxyUrl
optional: true
- name: HTTPS_PROXY
valueFrom:
configMapKeyRef:
name: spot-ofas-cluster-info
key: proxyUrl
optional: true
resources: {}
volumeMounts:
- name: config
Expand Down
2 changes: 1 addition & 1 deletion charts/bigdata-telemetry/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ apiVersion: v2
name: bigdata-telemetry
description: A Helm chart for the Spot Big Data Telemetry components
type: application
version: 0.1.1
version: 0.2.0
appVersion: "1.16.0"
home: https://github.com/spotinst/charts
icon: https://docs.spot.io/_media/images/spot_mark.png
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,18 @@ spec:
name: spot-bigdata-telemetry-creds
key: object-store.yaml
name: bigdata-telemetry-object-store
- name: HTTP_PROXY
valueFrom:
configMapKeyRef:
name: spot-ofas-cluster-info
key: proxyUrl
optional: true
- name: HTTPS_PROXY
valueFrom:
configMapKeyRef:
name: spot-ofas-cluster-info
key: proxyUrl
optional: true
image: "{{ .Values.thanos.image.repository }}:{{ .Values.thanos.image.tag }}"
livenessProbe:
failureThreshold: 8
Expand Down

0 comments on commit a3b9205

Please sign in to comment.