Skip to content

Commit

Permalink
fix db and minio deploy (#17940)
Browse files Browse the repository at this point in the history
* fix db and minio deploy

* revert changes done to chart.yaml and env-configmap
  • Loading branch information
xpuska513 authored Oct 13, 2022
1 parent c49980a commit 64c5621
Show file tree
Hide file tree
Showing 5 changed files with 291 additions and 112 deletions.
2 changes: 1 addition & 1 deletion charts/airbyte/Chart.yaml.test
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ type: application
# This is the chart version. This version number should be incremented each time you make changes
# to the chart and its templates, including the app version.
# Versions are expected to follow Semantic Versioning (https://semver.org/)
version: 0.39.36
version: 0.45.2

# This is the version number of the application being deployed. This version number should be
# incremented each time you make changes to the application. Versions are not expected to
Expand Down
2 changes: 1 addition & 1 deletion charts/airbyte/templates/airbyte-db.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ spec:
spec:
containers:
- name: airbyte-db-container
image: airbyte/db:a03509b
image: airbyte/db:{{ ((.Values.global.image).tag) | default "a03509b" }}
env:
- name: POSTGRES_DB
value: {{ .Values.postgresql.postgresqlDatabase }}
Expand Down
7 changes: 1 addition & 6 deletions charts/airbyte/templates/minio.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,11 +29,6 @@ spec:
{{ include "airbyte.minioSelectorLabels" . | nindent 8 }}
spec:
# Refer to the PVC created earlier
volumes:
- name: storage
persistentVolumeClaim:
# Name of the PVC created earlier
claimName: airbyte-minio-pv-claim
containers:
- name: airbyte-minio
# Pulls the default Minio image from Docker Hub
Expand All @@ -51,7 +46,7 @@ spec:
- containerPort: 9000
# Mount the volume into the pod
volumeMounts:
- name: storage # must match the volume name, above
- name: airbyte-minio-pv-claim # must match the volume name, above
mountPath: "/data"
---
apiVersion: v1
Expand Down
14 changes: 2 additions & 12 deletions charts/airbyte/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1098,12 +1098,7 @@ temporal:
## temporal.livenessProbe.successThreshold Success threshold for livenessProbe
##
livenessProbe:
enabled: true
initialDelaySeconds: 5
periodSeconds: 30
timeoutSeconds: 1
failureThreshold: 3
successThreshold: 1
enabled: false

## temporal.readinessProbe.enabled Enable readinessProbe on the temporal
## temporal.readinessProbe.initialDelaySeconds Initial delay seconds for readinessProbe
Expand All @@ -1113,12 +1108,7 @@ temporal:
## temporal.readinessProbe.successThreshold Success threshold for readinessProbe
##
readinessProbe:
enabled: true
initialDelaySeconds: 5
periodSeconds: 30
timeoutSeconds: 1
failureThreshold: 3
successThreshold: 1
enabled: false

## temporal.nodeSelector [object] Node labels for temporal pod assignment
## Ref: https://kubernetes.io/docs/user-guide/node-selection/
Expand Down
Loading

0 comments on commit 64c5621

Please sign in to comment.