fix
This commit is contained in:
@@ -9,6 +9,9 @@ locals {
|
||||
"app.kubernetes.io/name" = var.component
|
||||
"app.kubernetes.io/instance" = var.instance
|
||||
}
|
||||
nextcloud-labels = merge(local.common-labels, {
|
||||
"app.kubernetes.io/component" = "nextcloud"
|
||||
})
|
||||
}
|
||||
|
||||
data "kubernetes_secret_v1" "authentik" {
|
||||
@@ -27,7 +30,7 @@ data "kubernetes_ingress_v1" "authentik" {
|
||||
|
||||
data "kustomization_overlay" "data" {
|
||||
namespace = var.namespace
|
||||
common_labels = local.common-labels
|
||||
common_labels = local.nextcloud-labels
|
||||
resources = [for file in fileset(path.module, "*.yaml"): file if file != "index.yaml"]
|
||||
images {
|
||||
name = "nextcloud"
|
||||
@@ -95,6 +98,18 @@ data "kustomization_overlay" "data" {
|
||||
secretKeyRef:
|
||||
name: "${var.component}-${var.instance}-secret"
|
||||
key: client-secret
|
||||
- name: INSTANCE
|
||||
value: "${var.instance}"
|
||||
- name: ONLYOFFICE_JWT_SECRET
|
||||
valueFrom:
|
||||
secretKeyRef:
|
||||
name: "${var.component}"
|
||||
key: onlyoffice-jwt-secret
|
||||
- name: COLLABORA_PASSWORD
|
||||
valueFrom:
|
||||
secretKeyRef:
|
||||
name: "${var.component}"
|
||||
key: collabora-password
|
||||
|
||||
resources:
|
||||
{}
|
||||
|
||||
Reference in New Issue
Block a user