Skip to content

Commit

Permalink
Helm - Trim sandbox
Browse files Browse the repository at this point in the history
Based on the following kustomize change:
- cd4a3d5 Trim sandbox (#727)

Signed-off-by: Sören Brunk <[email protected]>
Signed-off-by: Haytham Abuelfutuh <[email protected]>
  • Loading branch information
sbrunk authored and EngHabu committed May 6, 2021
1 parent 6e065ca commit 405621f
Show file tree
Hide file tree
Showing 5 changed files with 27 additions and 6 deletions.
2 changes: 1 addition & 1 deletion helm/templates/admin/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ spec:
initContainers:
{{- if .Values.postgres.enabled }}
- name: check-db-ready
image: postgres:10.1
image: postgres:10.16-alpine
command:
- sh
- -c
Expand Down
3 changes: 3 additions & 0 deletions helm/templates/postgres/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,9 @@ spec:
- image: "{{ .Values.postgres.image.repository }}:{{ .Values.postgres.image.tag }}"
imagePullPolicy: "{{ .Values.postgres.image.pullPolicy }}"
name: postgres
env:
- name: POSTGRES_HOST_AUTH_METHOD
value: trust
ports:
- containerPort: 5432
name: postgres
Expand Down
2 changes: 2 additions & 0 deletions helm/templates/propeller/configmap.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -35,9 +35,11 @@ data:
{{- with .Values.configmap.resource_manager }}
resource_manager.yaml: | {{ toYaml . | nindent 4 }}
{{- end }}
{{- if .Values.sparkoperator.enabled }}
{{- with .Values.configmap.spark }}
spark.yaml: | {{ toYaml . | nindent 4 }}
{{- end }}
{{- end }}
{{- with .Values.configmap.storage }}
storage.yaml: | {{ toYaml . | nindent 4 }}
{{- end }}
Expand Down
24 changes: 20 additions & 4 deletions helm/values-sandbox.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,13 +27,17 @@ flyteconsole: {}
# REDIS
#

redis: {}
redis:
enabled: false

#
# POSTGRES
#

postgres: {}
postgres:
image:
# Override postgres image to use alpine based (rather smaller) docker image
tag: "10.16-alpine"

#
# MINIO
Expand All @@ -59,13 +63,15 @@ contour:
# SPARKOPERATOR
#

sparkoperator: {}
sparkoperator:
enabled: false

#
# PYTORCHOPERATOR
#

pytorchoperator: {}
pytorchoperator:
enabled: false

#
# COMMON
Expand Down Expand Up @@ -132,6 +138,16 @@ configmap:
show-source: true
level: 5

# Disable Qubole
qubole: null

# Use noop resource-manager
resource_manager:
propeller:
resourcemanager:
type: noop
redis: null

ab_project_resource_quota: |
apiVersion: v1
kind: ResourceQuota
Expand Down
2 changes: 1 addition & 1 deletion helm/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,7 @@ postgres:
image:
# -- Docker image for Postgres deployment
repository: postgres
tag: "10.1"
tag: "10.16"
pullPolicy: IfNotPresent
# -- Default resources requests and limits for Postgres deployment
resources:
Expand Down

0 comments on commit 405621f

Please sign in to comment.