fix
This commit is contained in:
@@ -49,7 +49,7 @@ data "kustomization_overlay" "data" {
|
|||||||
kind = "Deployment"
|
kind = "Deployment"
|
||||||
name = "authentik-server"
|
name = "authentik-server"
|
||||||
}
|
}
|
||||||
patch = join("", concat([<<-EOF
|
patch = join("", concat([<<EOF
|
||||||
apiVersion: apps/v1
|
apiVersion: apps/v1
|
||||||
kind: Deployment
|
kind: Deployment
|
||||||
metadata:
|
metadata:
|
||||||
@@ -76,7 +76,7 @@ data "kustomization_overlay" "data" {
|
|||||||
- configMapRef:
|
- configMapRef:
|
||||||
name: ${var.component}
|
name: ${var.component}
|
||||||
EOF
|
EOF
|
||||||
], var.customisation.configmap_name!="" && var.customisation.use_icon_left && var.customisation.use_custom_css?[<<-EOF
|
], var.customisation.configmap_name!="" && var.customisation.use_icon_left && var.customisation.use_custom_css?[<<EOF
|
||||||
volumeMounts:
|
volumeMounts:
|
||||||
- name: custom-css
|
- name: custom-css
|
||||||
mountPath: /web/dist/custom.css
|
mountPath: /web/dist/custom.css
|
||||||
@@ -99,7 +99,7 @@ EOF
|
|||||||
path: icon_left_brand.svg
|
path: icon_left_brand.svg
|
||||||
EOF
|
EOF
|
||||||
]
|
]
|
||||||
:var.customisation.configmap_name!="" && var.customisation.use_icon_left && !var.customisation.use_custom_css?[<<-EOF
|
:var.customisation.configmap_name!="" && var.customisation.use_icon_left && !var.customisation.use_custom_css?[<<EOF
|
||||||
volumeMounts:
|
volumeMounts:
|
||||||
- name: custom-left
|
- name: custom-left
|
||||||
mountPath: /web/dist/assets/icons/icon_left_brand.svg
|
mountPath: /web/dist/assets/icons/icon_left_brand.svg
|
||||||
@@ -113,7 +113,7 @@ EOF
|
|||||||
path: icon_left_brand.svg
|
path: icon_left_brand.svg
|
||||||
EOF
|
EOF
|
||||||
]
|
]
|
||||||
:var.customisation.configmap_name!="" && !var.customisation.use_icon_left && var.customisation.use_custom_css?[<<-EOF
|
:var.customisation.configmap_name!="" && !var.customisation.use_icon_left && var.customisation.use_custom_css?[<<EOF
|
||||||
volumeMounts:
|
volumeMounts:
|
||||||
- name: custom-css
|
- name: custom-css
|
||||||
mountPath: /web/dist/custom.css
|
mountPath: /web/dist/custom.css
|
||||||
|
|||||||
Reference in New Issue
Block a user