Skip to content

Commit 581677a

Browse files
author
lijianguo
committed
chore(addons): update bind
1 parent 0f74390 commit 581677a

18 files changed

Lines changed: 30 additions & 30 deletions

File tree

addons/postgresql-1.1.0/plans/standard-1000/bind.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ credential:
1818
valueFrom:
1919
secretKeyRef:
2020
name: {{ template "postgresql.fullname" . }}
21-
key: postgresql-password
21+
jsonpath: '{ .data.postgresql-password }'
2222

2323
{{- if .Values.replication.enabled }}
2424
- name: READHOST
@@ -34,13 +34,13 @@ credential:
3434
jsonpath: '{ .spec.ports[?(@.name=="tcp-postgresql")].port }'
3535

3636
- name: REPLICATIONUSERNAME
37-
value: {{ include "postgresql.replication.username" . | quote }}
37+
value: {{ template "postgresql.replication.username" . }}
3838

3939
- name: REPLICATIONPASSWORD
4040
valueFrom:
4141
secretKeyRef:
4242
name: {{ template "postgresql.fullname" . }}
43-
key: postgresql-replication-password
43+
jsonpath: '{ .data.postgresql-replication-password }'
4444
{{- end }}
4545

4646
{{- if .Values.postgresqlDatabase }}

addons/postgresql-1.1.0/plans/standard-16/bind.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ credential:
1818
valueFrom:
1919
secretKeyRef:
2020
name: {{ template "postgresql.fullname" . }}
21-
key: postgresql-password
21+
jsonpath: '{ .data.postgresql-password }'
2222

2323
{{- if .Values.replication.enabled }}
2424
- name: READHOST
@@ -34,13 +34,13 @@ credential:
3434
jsonpath: '{ .spec.ports[?(@.name=="tcp-postgresql")].port }'
3535

3636
- name: REPLICATIONUSERNAME
37-
value: {{ include "postgresql.replication.username" . | quote }}
37+
value: {{ template "postgresql.replication.username" . }}
3838

3939
- name: REPLICATIONPASSWORD
4040
valueFrom:
4141
secretKeyRef:
4242
name: {{ template "postgresql.fullname" . }}
43-
key: postgresql-replication-password
43+
jsonpath: '{ .data.postgresql-replication-password }'
4444
{{- end }}
4545

4646
{{- if .Values.postgresqlDatabase }}

addons/postgresql-1.1.0/plans/standard-256/bind.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ credential:
1818
valueFrom:
1919
secretKeyRef:
2020
name: {{ template "postgresql.fullname" . }}
21-
key: postgresql-password
21+
jsonpath: '{ .data.postgresql-password }'
2222

2323
{{- if .Values.replication.enabled }}
2424
- name: READHOST
@@ -34,13 +34,13 @@ credential:
3434
jsonpath: '{ .spec.ports[?(@.name=="tcp-postgresql")].port }'
3535

3636
- name: REPLICATIONUSERNAME
37-
value: {{ include "postgresql.replication.username" . | quote }}
37+
value: {{ template "postgresql.replication.username" . }}
3838

3939
- name: REPLICATIONPASSWORD
4040
valueFrom:
4141
secretKeyRef:
4242
name: {{ template "postgresql.fullname" . }}
43-
key: postgresql-replication-password
43+
jsonpath: '{ .data.postgresql-replication-password }'
4444
{{- end }}
4545

4646
{{- if .Values.postgresqlDatabase }}

addons/postgresql-1.1.0/plans/standard-512/bind.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ credential:
1818
valueFrom:
1919
secretKeyRef:
2020
name: {{ template "postgresql.fullname" . }}
21-
key: postgresql-password
21+
jsonpath: '{ .data.postgresql-password }'
2222

2323
{{- if .Values.replication.enabled }}
2424
- name: READHOST
@@ -34,13 +34,13 @@ credential:
3434
jsonpath: '{ .spec.ports[?(@.name=="tcp-postgresql")].port }'
3535

3636
- name: REPLICATIONUSERNAME
37-
value: {{ include "postgresql.replication.username" . | quote }}
37+
value: {{ template "postgresql.replication.username" . }}
3838

3939
- name: REPLICATIONPASSWORD
4040
valueFrom:
4141
secretKeyRef:
4242
name: {{ template "postgresql.fullname" . }}
43-
key: postgresql-replication-password
43+
jsonpath: '{ .data.postgresql-replication-password }'
4444
{{- end }}
4545

4646
{{- if .Values.postgresqlDatabase }}

addons/postgresql-1.1.0/plans/standard-64/bind.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ credential:
1818
valueFrom:
1919
secretKeyRef:
2020
name: {{ template "postgresql.fullname" . }}
21-
key: postgresql-password
21+
jsonpath: '{ .data.postgresql-password }'
2222

2323
{{- if .Values.replication.enabled }}
2424
- name: READHOST
@@ -34,13 +34,13 @@ credential:
3434
jsonpath: '{ .spec.ports[?(@.name=="tcp-postgresql")].port }'
3535

3636
- name: REPLICATIONUSERNAME
37-
value: {{ include "postgresql.replication.username" . | quote }}
37+
value: {{ template "postgresql.replication.username" . }}
3838

3939
- name: REPLICATIONPASSWORD
4040
valueFrom:
4141
secretKeyRef:
4242
name: {{ template "postgresql.fullname" . }}
43-
key: postgresql-replication-password
43+
jsonpath: '{ .data.postgresql-replication-password }'
4444
{{- end }}
4545

4646
{{- if .Values.postgresqlDatabase }}

addons/postgresql-1.1.0/plans/standard-768/bind.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ credential:
1818
valueFrom:
1919
secretKeyRef:
2020
name: {{ template "postgresql.fullname" . }}
21-
key: postgresql-password
21+
jsonpath: '{ .data.postgresql-password }'
2222

2323
{{- if .Values.replication.enabled }}
2424
- name: READHOST
@@ -34,13 +34,13 @@ credential:
3434
jsonpath: '{ .spec.ports[?(@.name=="tcp-postgresql")].port }'
3535

3636
- name: REPLICATIONUSERNAME
37-
value: {{ include "postgresql.replication.username" . | quote }}
37+
value: {{ template "postgresql.replication.username" . }}
3838

3939
- name: REPLICATIONPASSWORD
4040
valueFrom:
4141
secretKeyRef:
4242
name: {{ template "postgresql.fullname" . }}
43-
key: postgresql-replication-password
43+
jsonpath: '{ .data.postgresql-replication-password }'
4444
{{- end }}
4545

4646
{{- if .Values.postgresqlDatabase }}

addons/redis-1.1.0/plans/100/bind.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,5 +60,5 @@ credential:
6060
valueFrom:
6161
secretKeyRef:
6262
name: {{ template "redis.fullname" . }}
63-
key: redis-password
63+
jsonpath: '{ .data.redis-password }'
6464
{{- end }}

addons/redis-1.1.0/plans/1000/bind.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,5 +60,5 @@ credential:
6060
valueFrom:
6161
secretKeyRef:
6262
name: {{ template "redis.fullname" . }}
63-
key: redis-password
63+
jsonpath: '{ .data.redis-password }'
6464
{{- end }}

addons/redis-1.1.0/plans/10000/bind.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,5 +60,5 @@ credential:
6060
valueFrom:
6161
secretKeyRef:
6262
name: {{ template "redis.fullname" . }}
63-
key: redis-password
63+
jsonpath: '{ .data.redis-password }'
6464
{{- end }}

addons/redis-1.1.0/plans/20000/bind.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,5 +60,5 @@ credential:
6060
valueFrom:
6161
secretKeyRef:
6262
name: {{ template "redis.fullname" . }}
63-
key: redis-password
63+
jsonpath: '{ .data.redis-password }'
6464
{{- end }}

0 commit comments

Comments
 (0)