documentations base: убран дубль CDE_API_ENABLED в filestream (одинаковое значение false); stand: processing engine и engine-low получают RABBITMQ_VHOST из Vault
This commit is contained in:
parent
c97550941b
commit
51bc859c3a
@ -226,9 +226,6 @@ spec:
|
||||
- name: VALKEY_PORT
|
||||
value:
|
||||
_default: "6379"
|
||||
- name: CDE_API_ENABLED
|
||||
value:
|
||||
_default: "false"
|
||||
podAnnotations:
|
||||
_default:
|
||||
traffic.sidecar.istio.io/excludeOutboundPorts: "8200"
|
||||
|
||||
19
apps/processing/stand/engine-low.yaml
Normal file
19
apps/processing/stand/engine-low.yaml
Normal file
@ -0,0 +1,19 @@
|
||||
apiVersion: helm.toolkit.fluxcd.io/v2
|
||||
kind: HelmRelease
|
||||
metadata:
|
||||
name: engine-low
|
||||
namespace: processing
|
||||
spec:
|
||||
values:
|
||||
services:
|
||||
backend:
|
||||
podAnnotations:
|
||||
_default:
|
||||
vault.hashicorp.com/agent-inject-template-processing-rabbitmq: |-
|
||||
{{- with secret "secrets/data/rabbitmq/apps/processing" -}}
|
||||
RABBITMQ_HOST=rabbitmq.rabbitmq.svc.cluster.local
|
||||
RABBITMQ_PORT=5672
|
||||
RABBITMQ_USER={{ index .Data.data "username" }}
|
||||
RABBITMQ_PASS={{ index .Data.data "password" }}
|
||||
RABBITMQ_VHOST={{ index .Data.data "vhost" }}
|
||||
{{- end -}}
|
||||
19
apps/processing/stand/engine.yaml
Normal file
19
apps/processing/stand/engine.yaml
Normal file
@ -0,0 +1,19 @@
|
||||
apiVersion: helm.toolkit.fluxcd.io/v2
|
||||
kind: HelmRelease
|
||||
metadata:
|
||||
name: engine
|
||||
namespace: processing
|
||||
spec:
|
||||
values:
|
||||
services:
|
||||
backend:
|
||||
podAnnotations:
|
||||
_default:
|
||||
vault.hashicorp.com/agent-inject-template-processing-rabbitmq: |-
|
||||
{{- with secret "secrets/data/rabbitmq/apps/processing" -}}
|
||||
RABBITMQ_HOST=rabbitmq.rabbitmq.svc.cluster.local
|
||||
RABBITMQ_PORT=5672
|
||||
RABBITMQ_USER={{ index .Data.data "username" }}
|
||||
RABBITMQ_PASS={{ index .Data.data "password" }}
|
||||
RABBITMQ_VHOST={{ index .Data.data "vhost" }}
|
||||
{{- end -}}
|
||||
@ -2,6 +2,9 @@ apiVersion: kustomize.config.k8s.io/v1beta1
|
||||
kind: Kustomization
|
||||
resources:
|
||||
- ../base
|
||||
patches:
|
||||
- path: engine.yaml
|
||||
- path: engine-low.yaml
|
||||
configMapGenerator:
|
||||
- name: processing-contour-env
|
||||
literals:
|
||||
|
||||
Loading…
Reference in New Issue
Block a user