++
This commit is contained in:
parent
caa5e428df
commit
5c43502cba
@ -24,12 +24,12 @@ spec:
|
|||||||
vault.hashicorp.com/agent-pre-populate-only: "true"
|
vault.hashicorp.com/agent-pre-populate-only: "true"
|
||||||
vault.hashicorp.com/auth-path: auth/kubernetes
|
vault.hashicorp.com/auth-path: auth/kubernetes
|
||||||
vault.hashicorp.com/role: documentations
|
vault.hashicorp.com/role: documentations
|
||||||
vault.hashicorp.com/agent-inject-secret-documentations-postgresql: secrets/data/postgresql/apps/documentations
|
vault.hashicorp.com/agent-inject-secret-documentations-postgresql: secrets/data/apps/documentations/postgres
|
||||||
vault.hashicorp.com/agent-inject-template-documentations-postgresql: |-
|
vault.hashicorp.com/agent-inject-template-documentations-postgresql: |-
|
||||||
{{- with secret "secrets/data/postgresql/apps/documentations" -}}
|
{{- with secret "secrets/data/apps/documentations/postgres" -}}
|
||||||
POSTGRES_ADDRESS=postgresql.documentations.svc.cluster.local
|
POSTGRES_ADDRESS={{ index .Data.data "host" }}
|
||||||
POSTGRES_PORT=5432
|
POSTGRES_PORT={{ index .Data.data "port" }}
|
||||||
POSTGRES_DB=documentations_db
|
POSTGRES_DB={{ index .Data.data "database" }}
|
||||||
POSTGRES_USER={{ index .Data.data "username" }}
|
POSTGRES_USER={{ index .Data.data "username" }}
|
||||||
POSTGRES_PASSWORD={{ index .Data.data "password" }}
|
POSTGRES_PASSWORD={{ index .Data.data "password" }}
|
||||||
{{- end -}}
|
{{- end -}}
|
||||||
|
|||||||
@ -24,12 +24,12 @@ spec:
|
|||||||
vault.hashicorp.com/agent-pre-populate-only: "true"
|
vault.hashicorp.com/agent-pre-populate-only: "true"
|
||||||
vault.hashicorp.com/auth-path: auth/kubernetes
|
vault.hashicorp.com/auth-path: auth/kubernetes
|
||||||
vault.hashicorp.com/role: documentations
|
vault.hashicorp.com/role: documentations
|
||||||
vault.hashicorp.com/agent-inject-secret-documentations-postgresql: secrets/data/postgresql/apps/documentations
|
vault.hashicorp.com/agent-inject-secret-documentations-postgresql: secrets/data/apps/documentations/postgres
|
||||||
vault.hashicorp.com/agent-inject-template-documentations-postgresql: |-
|
vault.hashicorp.com/agent-inject-template-documentations-postgresql: |-
|
||||||
{{- with secret "secrets/data/postgresql/apps/documentations" -}}
|
{{- with secret "secrets/data/apps/documentations/postgres" -}}
|
||||||
POSTGRES_ADDRESS=postgresql.documentations.svc.cluster.local
|
POSTGRES_ADDRESS={{ index .Data.data "host" }}
|
||||||
POSTGRES_PORT=5432
|
POSTGRES_PORT={{ index .Data.data "port" }}
|
||||||
POSTGRES_DB=documentations_db
|
POSTGRES_DB={{ index .Data.data "database" }}
|
||||||
POSTGRES_USER={{ index .Data.data "username" }}
|
POSTGRES_USER={{ index .Data.data "username" }}
|
||||||
POSTGRES_PASSWORD={{ index .Data.data "password" }}
|
POSTGRES_PASSWORD={{ index .Data.data "password" }}
|
||||||
{{- end -}}
|
{{- end -}}
|
||||||
|
|||||||
@ -5,3 +5,4 @@ metadata:
|
|||||||
name: documentations
|
name: documentations
|
||||||
labels:
|
labels:
|
||||||
istio-injection: enabled
|
istio-injection: enabled
|
||||||
|
security.deckhouse.io/pod-policy: privileged
|
||||||
|
|||||||
@ -24,12 +24,12 @@ spec:
|
|||||||
vault.hashicorp.com/agent-pre-populate-only: "true"
|
vault.hashicorp.com/agent-pre-populate-only: "true"
|
||||||
vault.hashicorp.com/auth-path: auth/kubernetes
|
vault.hashicorp.com/auth-path: auth/kubernetes
|
||||||
vault.hashicorp.com/role: documentations
|
vault.hashicorp.com/role: documentations
|
||||||
vault.hashicorp.com/agent-inject-secret-documentations-postgresql: secrets/data/postgresql/apps/documentations
|
vault.hashicorp.com/agent-inject-secret-documentations-postgresql: secrets/data/apps/documentations/postgres
|
||||||
vault.hashicorp.com/agent-inject-template-documentations-postgresql: |-
|
vault.hashicorp.com/agent-inject-template-documentations-postgresql: |-
|
||||||
{{- with secret "secrets/data/postgresql/apps/documentations" -}}
|
{{- with secret "secrets/data/apps/documentations/postgres" -}}
|
||||||
POSTGRES_ADDRESS=postgresql.documentations.svc.cluster.local
|
POSTGRES_ADDRESS={{ index .Data.data "host" }}
|
||||||
POSTGRES_PORT=5432
|
POSTGRES_PORT={{ index .Data.data "port" }}
|
||||||
POSTGRES_DB=documentations_db
|
POSTGRES_DB={{ index .Data.data "database" }}
|
||||||
POSTGRES_USER={{ index .Data.data "username" }}
|
POSTGRES_USER={{ index .Data.data "username" }}
|
||||||
POSTGRES_PASSWORD={{ index .Data.data "password" }}
|
POSTGRES_PASSWORD={{ index .Data.data "password" }}
|
||||||
{{- end -}}
|
{{- end -}}
|
||||||
|
|||||||
6
apps/documentations/d8-ugmk-prod/kustomization.yaml
Normal file
6
apps/documentations/d8-ugmk-prod/kustomization.yaml
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
---
|
||||||
|
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||||
|
kind: Kustomization
|
||||||
|
namespace: documentations
|
||||||
|
resources:
|
||||||
|
- ../base
|
||||||
@ -26,4 +26,5 @@ resources:
|
|||||||
- ../../apps/workspaces/d8-ugmk-prod
|
- ../../apps/workspaces/d8-ugmk-prod
|
||||||
- ../../apps/rfi/d8-ugmk-prod
|
- ../../apps/rfi/d8-ugmk-prod
|
||||||
- ../../apps/eav/d8-ugmk-prod
|
- ../../apps/eav/d8-ugmk-prod
|
||||||
- ../../apps/django/d8-ugmk-prod
|
- ../../apps/django/d8-ugmk-prod
|
||||||
|
- ../../apps/documentations/d8-ugmk-prod
|
||||||
Loading…
Reference in New Issue
Block a user