From 3d9d4c44526b29f1477d1ac9806c7e8f53020fe3 Mon Sep 17 00:00:00 2001 From: xeruf <27jf@pm.me> Date: Tue, 15 Nov 2022 10:56:26 +0000 Subject: [PATCH] ninja: try more_set_headers --- basic/apps/ninja/invoiceninja-values-configmap.yaml | 2 +- .../kustomizations/invoiceninja-customization.yaml | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/basic/apps/ninja/invoiceninja-values-configmap.yaml b/basic/apps/ninja/invoiceninja-values-configmap.yaml index 45576eb..706db8e 100644 --- a/basic/apps/ninja/invoiceninja-values-configmap.yaml +++ b/basic/apps/ninja/invoiceninja-values-configmap.yaml @@ -15,7 +15,7 @@ data: certManager: true annotations: nginx.ingress.kubernetes.io/configuration-snippet: | - add_header "Content-Security-Policy: frame-ancestors 'self' ${nextcloud_domain}"; + more_set_headers "Content-Security-Policy: frame-ancestors 'self' ${nextcloud_domain}"; persistence: public: existingClaim: invoiceninja-data diff --git a/basic/infrastructure/kustomizations/invoiceninja-customization.yaml b/basic/infrastructure/kustomizations/invoiceninja-customization.yaml index 1ef3e9f..61b5aa1 100644 --- a/basic/infrastructure/kustomizations/invoiceninja-customization.yaml +++ b/basic/infrastructure/kustomizations/invoiceninja-customization.yaml @@ -24,3 +24,5 @@ spec: optional: true - kind: Secret name: stackspin-cluster-variables + - kind: ConfigMap + name: stackspin-nextcloud-kustomization-variables