Skip to content

Commit ea1fc1a

Browse files
committed
fix: hooks order
1 parent 7f8b1b2 commit ea1fc1a

File tree

4 files changed

+16
-1
lines changed

4 files changed

+16
-1
lines changed

templates/postgres/azure_postgres_service.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,11 @@ metadata:
55
labels:
66
app: postgres-azure-service
77
name: postgres-azure-service
8+
annotations:
9+
# This is what defines this resource as a hook. Without this line, the
10+
# job is considered part of the release.
11+
"helm.sh/hook": pre-install
12+
"helm.sh/hook-weight": "-2"
813
spec:
914
externalName: {{ .Values.dbSettings.azureSqlEndpoint }}
1015
selector:

templates/postgres/rds_postgres_service.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,11 @@ metadata:
55
labels:
66
app: postgres-rds-service
77
name: postgres-rds-service
8+
annotations:
9+
# This is what defines this resource as a hook. Without this line, the
10+
# job is considered part of the release.
11+
"helm.sh/hook": pre-install
12+
"helm.sh/hook-weight": "-2"
813
spec:
914
externalName: {{ .Values.dbSettings.rdsEndpoint }}
1015
selector:

templates/postgres/service.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,11 @@ kind: Service
44
metadata:
55
name: diffgram-postgres
66
namespace: {{ .Release.Namespace }}
7+
annotations:
8+
# This is what defines this resource as a hook. Without this line, the
9+
# job is considered part of the release.
10+
"helm.sh/hook": pre-install
11+
"helm.sh/hook-weight": "-2"
712
spec:
813
ports:
914
- port: 5432

values.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ diffgramSettings:
8888
DIFFGRAM_MINIO_ENDPOINT_URL: none
8989
DIFFGRAM_MINIO_ACCESS_KEY_ID: none
9090
DIFFGRAM_MINIO_ACCESS_KEY_SECRET: none
91-
DIFFGRAM_MINIO_DISABLED_SSL_VERIFY: none
91+
DIFFGRAM_MINIO_DISABLED_SSL_VERIFY: '"False"'
9292
RABBITMQ_PORT: "'5672'"
9393
RABBITMQ_HOST: "diffgram-rabbitmq"
9494

0 commit comments

Comments
 (0)