fix
This commit is contained in:
@@ -98,6 +98,12 @@ resource "kubectl_manifest" "Deployment_taiga-front" {
|
||||
- name: taiga-front
|
||||
image: "${var.images.front.registry}/${var.images.front.repository}:${var.images.front.tag}"
|
||||
imagePullPolicy: ${var.images.front.pull_policy}
|
||||
env:
|
||||
- name: OPENID_CLIENT_ID
|
||||
valueFrom:
|
||||
secretKeyRef:
|
||||
name: ${module.oauth2.secret_client_id_name}
|
||||
key: ${module.oauth2.secret_client_id_key}
|
||||
envFrom:
|
||||
- configMapRef:
|
||||
name: ${kubectl_manifest.cm_env_front.name}
|
||||
@@ -218,12 +224,12 @@ resource "kubectl_manifest" "Deployment_taiga-back" {
|
||||
secretKeyRef:
|
||||
name: ${kubectl_manifest.rabbit_user_secret.name}
|
||||
key: password
|
||||
- name: OIDC_RP_CLIENT_ID
|
||||
- name: OPENID_CLIENT_ID
|
||||
valueFrom:
|
||||
secretKeyRef:
|
||||
name: ${module.oauth2.secret_client_id_name}
|
||||
key: ${module.oauth2.secret_client_id_key}
|
||||
- name: OIDC_RP_CLIENT_SECRET
|
||||
- name: OPENID_CLIENT_SECRET
|
||||
valueFrom:
|
||||
secretKeyRef:
|
||||
name: ${module.oauth2.secret_client_secret_name}
|
||||
@@ -245,9 +251,6 @@ resource "kubectl_manifest" "Deployment_taiga-back" {
|
||||
- name: scripts
|
||||
mountPath: /docker-entrypoint.d/certs.sh
|
||||
subPath: certs.sh
|
||||
- name: scripts
|
||||
mountPath: /taiga-back/settings/config.py
|
||||
subPath: config.py
|
||||
- name: data
|
||||
mountPath: /taiga-back/static
|
||||
subPath: static
|
||||
@@ -364,8 +367,6 @@ resource "kubectl_manifest" "Deployment_taiga-back" {
|
||||
items:
|
||||
- key: certs.sh
|
||||
path: certs.sh
|
||||
- key: config.py
|
||||
path: config.py
|
||||
- name: data
|
||||
persistentVolumeClaim:
|
||||
claimName: ${kubectl_manifest.pvc.name}
|
||||
|
||||
Reference in New Issue
Block a user