-
Notifications
You must be signed in to change notification settings - Fork 312
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
9c6a185
commit 9e3f6db
Showing
14 changed files
with
127 additions
and
144 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
9 changes: 0 additions & 9 deletions
9
deploy/kubernetes/charts/orders/templates/mysql-reader-secret.yaml
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
17 changes: 0 additions & 17 deletions
17
deploy/kubernetes/charts/orders/templates/mysql-service.yaml
This file was deleted.
Oops, something went wrong.
9 changes: 9 additions & 0 deletions
9
deploy/kubernetes/charts/orders/templates/postgresql-secret.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
{{- if .Values.postgresql.secret.create }} | ||
apiVersion: v1 | ||
kind: Secret | ||
metadata: | ||
name: {{ .Values.postgresql.secret.name }} | ||
data: | ||
username: {{ .Values.postgresql.secret.username | b64enc | quote }} | ||
password: "{{ include "orders.postgresql.password" . }}" | ||
{{- end }} |
17 changes: 17 additions & 0 deletions
17
deploy/kubernetes/charts/orders/templates/postgresql-service.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
{{- if .Values.postgresql.create }} | ||
apiVersion: v1 | ||
kind: Service | ||
metadata: | ||
name: {{ include "orders.postgresql.fullname" . }} | ||
labels: | ||
{{- include "orders.postgresql.labels" . | nindent 4 }} | ||
spec: | ||
type: {{ .Values.postgresql.service.type }} | ||
ports: | ||
- port: {{ .Values.postgresql.service.port }} | ||
targetPort: mysql | ||
protocol: TCP | ||
name: mysql | ||
selector: | ||
{{- include "orders.postgresql.selectorLabels" . | nindent 4 }} | ||
{{- end }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.