From 97522f45279ac15be6f67a2e510314bb9b067328 Mon Sep 17 00:00:00 2001 From: Marco Lecheler Date: Sun, 8 Nov 2026 21:51:21 +0100 Subject: [PATCH] feat: set metadata.namespace to release namespace on all charts --- charts/ipsec-vpn-server/Chart.yaml | 4 ++-- charts/ipsec-vpn-server/templates/configmap.yaml | 1 + charts/ipsec-vpn-server/templates/deployment.yaml | 1 + .../templates/ingress/traefik/ingressrouteudp.yaml | 1 + charts/ipsec-vpn-server/templates/pvc.yaml | 1 + charts/ipsec-vpn-server/templates/secret-sealed.yaml | 1 + charts/ipsec-vpn-server/templates/secret.yaml | 1 + charts/ipsec-vpn-server/templates/service.yaml | 1 + charts/outprint/Chart.yaml | 4 ++-- charts/outprint/templates/certificate.yaml | 1 + charts/outprint/templates/configmap.yaml | 1 + charts/outprint/templates/gateway.yaml | 2 ++ charts/outprint/templates/ingressroute.yaml | 1 + charts/outprint/templates/injector.yaml | 3 +++ charts/outprint/templates/packages-git.yaml | 7 +++++++ charts/outprint/templates/secret.yaml | 1 + charts/outprint/templates/worker.yaml | 3 +++ charts/paperless-gpt/Chart.yaml | 6 +++--- charts/paperless-gpt/templates/certificate.yaml | 1 + charts/paperless-gpt/templates/deployment.yaml | 1 + charts/paperless-gpt/templates/ingress.yaml | 1 + charts/paperless-gpt/templates/ingressroute.yaml | 1 + charts/paperless-gpt/templates/pvc.yaml | 1 + charts/paperless-gpt/templates/secret.yaml | 1 + charts/paperless-gpt/templates/service.yaml | 1 + charts/paperlessngx-backup/Chart.yaml | 4 ++-- charts/paperlessngx-backup/templates/configmap.yaml | 1 + charts/paperlessngx-backup/templates/cronjob.yaml | 1 + charts/paperlessngx-backup/templates/rbac/role.yaml | 1 + charts/paperlessngx-backup/templates/rbac/rolebinding.yaml | 1 + .../paperlessngx-backup/templates/rbac/serviceaccount.yaml | 1 + charts/paperlessngx-backup/templates/secret.yaml | 1 + charts/paperlessngx-ftp-bridge/Chart.yaml | 6 +++--- charts/paperlessngx-ftp-bridge/templates/deployment.yaml | 1 + charts/paperlessngx-ftp-bridge/templates/secrets.yaml | 1 + charts/paperlessngx-ftp-bridge/templates/service.yaml | 1 + charts/vpn-ios-profile/Chart.yaml | 4 ++-- charts/vpn-ios-profile/templates/secret-ios-profile.yaml | 1 + .../vpn-ios-profile/templates/tests/test-connection.yaml | 1 + charts/vpn-ios-profile/templates/web/deployment.yaml | 1 + charts/vpn-ios-profile/templates/web/ingress.yaml | 1 + charts/vpn-ios-profile/templates/web/middleware.yaml | 1 + charts/vpn-ios-profile/templates/web/secret-basicauth.yaml | 1 + charts/vpn-ios-profile/templates/web/service.yaml | 1 + 44 files changed, 63 insertions(+), 14 deletions(-) diff --git a/charts/ipsec-vpn-server/Chart.yaml b/charts/ipsec-vpn-server/Chart.yaml index 994cd09..f1b0f14 100644 --- a/charts/ipsec-vpn-server/Chart.yaml +++ b/charts/ipsec-vpn-server/Chart.yaml @@ -13,7 +13,7 @@ sources: - https://github.com/hwdsl2/docker-ipsec-vpn-server - https://github.com/taskmedia/helm type: application -version: 2.2.1 +version: 2.2.2 # hwdsl2/docker-ipsec-vpn-server does not provide versioning # see: https://github.com/hwdsl2/docker-ipsec-vpn-server/issues/98 appVersion: "latest" @@ -33,4 +33,4 @@ annotations: image: bash:alpine3.15 artifacthub.io/changes: | - kind: changed - description: Add Artifact Hub metadata (category, links, images) + description: Set metadata.namespace to the release namespace on all resources diff --git a/charts/ipsec-vpn-server/templates/configmap.yaml b/charts/ipsec-vpn-server/templates/configmap.yaml index 3ed689a..c39a8ce 100644 --- a/charts/ipsec-vpn-server/templates/configmap.yaml +++ b/charts/ipsec-vpn-server/templates/configmap.yaml @@ -2,6 +2,7 @@ apiVersion: v1 kind: ConfigMap metadata: name: {{ include "ipsec-vpn-server.fullname" . }}-vpnscript + namespace: {{ .Release.Namespace }} data: create-env.sh: |- #!/usr/local/bin/bash diff --git a/charts/ipsec-vpn-server/templates/deployment.yaml b/charts/ipsec-vpn-server/templates/deployment.yaml index cbb93a2..769c3d9 100644 --- a/charts/ipsec-vpn-server/templates/deployment.yaml +++ b/charts/ipsec-vpn-server/templates/deployment.yaml @@ -3,6 +3,7 @@ apiVersion: apps/v1 kind: Deployment metadata: name: {{ template "ipsec-vpn-server.fullname" . }}-vpn-server + namespace: {{ .Release.Namespace }} spec: selector: matchLabels: diff --git a/charts/ipsec-vpn-server/templates/ingress/traefik/ingressrouteudp.yaml b/charts/ipsec-vpn-server/templates/ingress/traefik/ingressrouteudp.yaml index 6f25985..cfc1b6b 100644 --- a/charts/ipsec-vpn-server/templates/ingress/traefik/ingressrouteudp.yaml +++ b/charts/ipsec-vpn-server/templates/ingress/traefik/ingressrouteudp.yaml @@ -5,6 +5,7 @@ apiVersion: traefik.io/v1alpha1 kind: IngressRouteUDP metadata: name: {{ $fullname_vpn_server }}-{{ .name }} + namespace: {{ .Release.Namespace }} spec: entryPoints: - {{ .name }} diff --git a/charts/ipsec-vpn-server/templates/pvc.yaml b/charts/ipsec-vpn-server/templates/pvc.yaml index f1d9962..adc3a12 100644 --- a/charts/ipsec-vpn-server/templates/pvc.yaml +++ b/charts/ipsec-vpn-server/templates/pvc.yaml @@ -2,6 +2,7 @@ apiVersion: v1 kind: PersistentVolumeClaim metadata: name: {{ include "ipsec-vpn-server.fullname" . }}-data + namespace: {{ .Release.Namespace }} labels: app.kubernetes.io/name: {{ template "ipsec-vpn-server.fullname" . }}-vpn-server spec: diff --git a/charts/ipsec-vpn-server/templates/secret-sealed.yaml b/charts/ipsec-vpn-server/templates/secret-sealed.yaml index 2c11f95..a3f8958 100644 --- a/charts/ipsec-vpn-server/templates/secret-sealed.yaml +++ b/charts/ipsec-vpn-server/templates/secret-sealed.yaml @@ -3,6 +3,7 @@ apiVersion: bitnami.com/v1alpha1 kind: SealedSecret metadata: name: {{ include "ipsec-vpn-server.fullname" . }}-vpnconfig + namespace: {{ .Release.Namespace }} spec: encryptedData: psk: {{ .Values.vpn.psk }} diff --git a/charts/ipsec-vpn-server/templates/secret.yaml b/charts/ipsec-vpn-server/templates/secret.yaml index 2bc0f3d..0d5c7ab 100644 --- a/charts/ipsec-vpn-server/templates/secret.yaml +++ b/charts/ipsec-vpn-server/templates/secret.yaml @@ -3,6 +3,7 @@ apiVersion: v1 kind: Secret metadata: name: {{ include "ipsec-vpn-server.fullname" . }}-vpnconfig + namespace: {{ .Release.Namespace }} data: psk: {{ .Values.vpn.psk | b64enc }} {{- range .Values.users }} diff --git a/charts/ipsec-vpn-server/templates/service.yaml b/charts/ipsec-vpn-server/templates/service.yaml index a832596..184299a 100644 --- a/charts/ipsec-vpn-server/templates/service.yaml +++ b/charts/ipsec-vpn-server/templates/service.yaml @@ -3,6 +3,7 @@ apiVersion: v1 kind: Service metadata: name: {{ template "ipsec-vpn-server.fullname" . }}-vpn-server + namespace: {{ .Release.Namespace }} spec: selector: app.kubernetes.io/name: {{ template "ipsec-vpn-server.fullname" . }}-vpn-server diff --git a/charts/outprint/Chart.yaml b/charts/outprint/Chart.yaml index ff9bdfe..3c66a93 100644 --- a/charts/outprint/Chart.yaml +++ b/charts/outprint/Chart.yaml @@ -15,7 +15,7 @@ sources: - https://github.com/taskmedia/helm icon: https://media.task.media/images/logo.png type: application -version: 1.3.3 +version: 1.3.4 # outprint release tag without the leading v appVersion: "1.1.1" @@ -33,4 +33,4 @@ annotations: image: ghcr.io/taskmedia/outprint-injector:1.1.1 artifacthub.io/changes: | - kind: changed - description: Bump Outprint to 1.1.1 + description: Set metadata.namespace to the release namespace on all resources diff --git a/charts/outprint/templates/certificate.yaml b/charts/outprint/templates/certificate.yaml index b236f54..2eca0c0 100644 --- a/charts/outprint/templates/certificate.yaml +++ b/charts/outprint/templates/certificate.yaml @@ -3,6 +3,7 @@ apiVersion: cert-manager.io/v1 kind: Certificate metadata: name: "{{ include "outprint.fullname" . }}" + namespace: {{ .Release.Namespace }} labels: {{- include "outprint.labels" . | nindent 4 }} spec: diff --git a/charts/outprint/templates/configmap.yaml b/charts/outprint/templates/configmap.yaml index ea49fb7..2dcc301 100644 --- a/charts/outprint/templates/configmap.yaml +++ b/charts/outprint/templates/configmap.yaml @@ -4,6 +4,7 @@ apiVersion: v1 kind: ConfigMap metadata: name: {{ include "outprint.fullname" . }}-service + namespace: {{ .Release.Namespace }} labels: {{- include "outprint.labels" . | nindent 4 }} data: diff --git a/charts/outprint/templates/gateway.yaml b/charts/outprint/templates/gateway.yaml index 3c4ac29..61da8d1 100644 --- a/charts/outprint/templates/gateway.yaml +++ b/charts/outprint/templates/gateway.yaml @@ -4,6 +4,7 @@ apiVersion: apps/v1 kind: Deployment metadata: name: {{ $name }} + namespace: {{ .Release.Namespace }} labels: {{- include "outprint.labels" . | nindent 4 }} app.kubernetes.io/component: gateway @@ -102,6 +103,7 @@ apiVersion: v1 kind: Service metadata: name: {{ $name }} + namespace: {{ .Release.Namespace }} labels: {{- include "outprint.labels" . | nindent 4 }} app.kubernetes.io/component: gateway diff --git a/charts/outprint/templates/ingressroute.yaml b/charts/outprint/templates/ingressroute.yaml index 346910f..b5c85b0 100644 --- a/charts/outprint/templates/ingressroute.yaml +++ b/charts/outprint/templates/ingressroute.yaml @@ -7,6 +7,7 @@ apiVersion: traefik.io/v1alpha1 kind: IngressRoute metadata: name: "{{ include "outprint.fullname" . }}-injector" + namespace: {{ .Release.Namespace }} labels: {{- include "outprint.labels" . | nindent 4 }} {{- with .Values.ingressRoute.annotations }} diff --git a/charts/outprint/templates/injector.yaml b/charts/outprint/templates/injector.yaml index 7d2473b..4a16e71 100644 --- a/charts/outprint/templates/injector.yaml +++ b/charts/outprint/templates/injector.yaml @@ -5,6 +5,7 @@ apiVersion: apps/v1 kind: Deployment metadata: name: {{ $name }} + namespace: {{ .Release.Namespace }} labels: {{- include "outprint.labels" . | nindent 4 }} app.kubernetes.io/component: injector @@ -82,6 +83,7 @@ apiVersion: v1 kind: Service metadata: name: {{ $name }} + namespace: {{ .Release.Namespace }} labels: {{- include "outprint.labels" . | nindent 4 }} app.kubernetes.io/component: injector @@ -99,6 +101,7 @@ apiVersion: networking.k8s.io/v1 kind: Ingress metadata: name: {{ $name }} + namespace: {{ .Release.Namespace }} labels: {{- include "outprint.labels" . | nindent 4 }} app.kubernetes.io/component: injector diff --git a/charts/outprint/templates/packages-git.yaml b/charts/outprint/templates/packages-git.yaml index 1202845..a98e443 100644 --- a/charts/outprint/templates/packages-git.yaml +++ b/charts/outprint/templates/packages-git.yaml @@ -7,6 +7,7 @@ apiVersion: v1 kind: PersistentVolumeClaim metadata: name: {{ $name }} + namespace: {{ .Release.Namespace }} labels: {{- include "outprint.labels" . | nindent 4 }} app.kubernetes.io/component: packages @@ -25,6 +26,7 @@ apiVersion: v1 kind: ServiceAccount metadata: name: {{ $name }} + namespace: {{ .Release.Namespace }} labels: {{- include "outprint.labels" . | nindent 4 }} app.kubernetes.io/component: packages @@ -34,6 +36,7 @@ apiVersion: rbac.authorization.k8s.io/v1 kind: Role metadata: name: {{ $name }} + namespace: {{ .Release.Namespace }} labels: {{- include "outprint.labels" . | nindent 4 }} app.kubernetes.io/component: packages @@ -49,6 +52,7 @@ apiVersion: rbac.authorization.k8s.io/v1 kind: RoleBinding metadata: name: {{ $name }} + namespace: {{ .Release.Namespace }} labels: {{- include "outprint.labels" . | nindent 4 }} app.kubernetes.io/component: packages @@ -65,6 +69,7 @@ apiVersion: v1 kind: ConfigMap metadata: name: {{ $name }}-sync + namespace: {{ .Release.Namespace }} labels: {{- include "outprint.labels" . | nindent 4 }} app.kubernetes.io/component: packages @@ -82,6 +87,7 @@ apiVersion: batch/v1 kind: CronJob metadata: name: {{ $name }}-sync + namespace: {{ .Release.Namespace }} labels: {{- include "outprint.labels" . | nindent 4 }} app.kubernetes.io/component: packages @@ -109,6 +115,7 @@ apiVersion: batch/v1 kind: Job metadata: name: {{ printf "%s-sync-%s" $name (include "outprint.packagesSources" . | sha256sum | trunc 8) }} + namespace: {{ .Release.Namespace }} labels: {{- include "outprint.labels" . | nindent 4 }} app.kubernetes.io/component: packages diff --git a/charts/outprint/templates/secret.yaml b/charts/outprint/templates/secret.yaml index debb39a..f95835b 100644 --- a/charts/outprint/templates/secret.yaml +++ b/charts/outprint/templates/secret.yaml @@ -5,6 +5,7 @@ apiVersion: v1 kind: Secret metadata: name: {{ $name }} + namespace: {{ .Release.Namespace }} labels: {{- include "outprint.labels" . | nindent 4 }} type: Opaque diff --git a/charts/outprint/templates/worker.yaml b/charts/outprint/templates/worker.yaml index 682b196..9d0241e 100644 --- a/charts/outprint/templates/worker.yaml +++ b/charts/outprint/templates/worker.yaml @@ -4,6 +4,7 @@ apiVersion: apps/v1 kind: Deployment metadata: name: {{ $name }} + namespace: {{ .Release.Namespace }} labels: {{- include "outprint.labels" . | nindent 4 }} app.kubernetes.io/component: worker @@ -104,6 +105,7 @@ apiVersion: v1 kind: Service metadata: name: {{ $name }} + namespace: {{ .Release.Namespace }} labels: {{- include "outprint.labels" . | nindent 4 }} app.kubernetes.io/component: worker @@ -123,6 +125,7 @@ apiVersion: networking.k8s.io/v1 kind: NetworkPolicy metadata: name: {{ $name }} + namespace: {{ .Release.Namespace }} labels: {{- include "outprint.labels" . | nindent 4 }} app.kubernetes.io/component: worker diff --git a/charts/paperless-gpt/Chart.yaml b/charts/paperless-gpt/Chart.yaml index 0e0e2eb..6797f0f 100644 --- a/charts/paperless-gpt/Chart.yaml +++ b/charts/paperless-gpt/Chart.yaml @@ -15,7 +15,7 @@ sources: - https://github.com/taskmedia/helm icon: https://media.task.media/images/logo.png type: application -version: 0.3.0 +version: 0.3.1 # upstream image tag without the leading v appVersion: "0.29.0" @@ -30,5 +30,5 @@ annotations: - name: paperless-gpt image: icereed/paperless-gpt:v0.29.0 artifacthub.io/changes: | - - kind: added - description: Optional Traefik IngressRoute (ingressRoute.*) with optional cert-manager Certificate + - kind: changed + description: Set metadata.namespace to the release namespace on all resources diff --git a/charts/paperless-gpt/templates/certificate.yaml b/charts/paperless-gpt/templates/certificate.yaml index fe2e5c0..c74bfea 100644 --- a/charts/paperless-gpt/templates/certificate.yaml +++ b/charts/paperless-gpt/templates/certificate.yaml @@ -3,6 +3,7 @@ apiVersion: cert-manager.io/v1 kind: Certificate metadata: name: "{{ include "paperlessgpt.fullname" . }}" + namespace: {{ .Release.Namespace }} labels: {{- include "paperlessgpt.labels" . | nindent 4 }} spec: diff --git a/charts/paperless-gpt/templates/deployment.yaml b/charts/paperless-gpt/templates/deployment.yaml index 27891e2..db9f915 100644 --- a/charts/paperless-gpt/templates/deployment.yaml +++ b/charts/paperless-gpt/templates/deployment.yaml @@ -7,6 +7,7 @@ apiVersion: apps/v1 kind: Deployment metadata: name: "{{ include "paperlessgpt.fullname" . }}" + namespace: {{ .Release.Namespace }} labels: {{- include "paperlessgpt.labels" . | nindent 4 }} spec: diff --git a/charts/paperless-gpt/templates/ingress.yaml b/charts/paperless-gpt/templates/ingress.yaml index 1c41f91..0d2964d 100644 --- a/charts/paperless-gpt/templates/ingress.yaml +++ b/charts/paperless-gpt/templates/ingress.yaml @@ -3,6 +3,7 @@ apiVersion: networking.k8s.io/v1 kind: Ingress metadata: name: "{{ include "paperlessgpt.fullname" . }}" + namespace: {{ .Release.Namespace }} labels: {{- include "paperlessgpt.labels" . | nindent 4 }} {{- with .Values.ingress.annotations }} diff --git a/charts/paperless-gpt/templates/ingressroute.yaml b/charts/paperless-gpt/templates/ingressroute.yaml index c7c3c07..f46537f 100644 --- a/charts/paperless-gpt/templates/ingressroute.yaml +++ b/charts/paperless-gpt/templates/ingressroute.yaml @@ -4,6 +4,7 @@ apiVersion: traefik.io/v1alpha1 kind: IngressRoute metadata: name: "{{ include "paperlessgpt.fullname" . }}" + namespace: {{ .Release.Namespace }} labels: {{- include "paperlessgpt.labels" . | nindent 4 }} {{- with .Values.ingressRoute.annotations }} diff --git a/charts/paperless-gpt/templates/pvc.yaml b/charts/paperless-gpt/templates/pvc.yaml index 83dec49..f1385d8 100644 --- a/charts/paperless-gpt/templates/pvc.yaml +++ b/charts/paperless-gpt/templates/pvc.yaml @@ -3,6 +3,7 @@ apiVersion: v1 kind: PersistentVolumeClaim metadata: name: "{{ include "paperlessgpt.fullname" . }}" + namespace: {{ .Release.Namespace }} labels: {{- include "paperlessgpt.labels" . | nindent 4 }} {{- with .Values.persistence.annotations }} diff --git a/charts/paperless-gpt/templates/secret.yaml b/charts/paperless-gpt/templates/secret.yaml index 6fe0d71..271b805 100644 --- a/charts/paperless-gpt/templates/secret.yaml +++ b/charts/paperless-gpt/templates/secret.yaml @@ -3,6 +3,7 @@ apiVersion: v1 kind: Secret metadata: name: "{{ include "paperlessgpt.fullname" . }}" + namespace: {{ .Release.Namespace }} labels: {{- include "paperlessgpt.labels" . | nindent 4 }} type: Opaque diff --git a/charts/paperless-gpt/templates/service.yaml b/charts/paperless-gpt/templates/service.yaml index 8e39f83..dd390ab 100644 --- a/charts/paperless-gpt/templates/service.yaml +++ b/charts/paperless-gpt/templates/service.yaml @@ -2,6 +2,7 @@ apiVersion: v1 kind: Service metadata: name: "{{ include "paperlessgpt.fullname" . }}" + namespace: {{ .Release.Namespace }} labels: {{- include "paperlessgpt.labels" . | nindent 4 }} {{- with .Values.service.annotations }} diff --git a/charts/paperlessngx-backup/Chart.yaml b/charts/paperlessngx-backup/Chart.yaml index 682b82b..83579fb 100644 --- a/charts/paperlessngx-backup/Chart.yaml +++ b/charts/paperlessngx-backup/Chart.yaml @@ -15,7 +15,7 @@ sources: - https://github.com/taskmedia/helm icon: https://media.task.media/images/logo.png type: application -version: 1.1.2 +version: 1.1.3 annotations: artifacthub.io/category: storage @@ -29,4 +29,4 @@ annotations: image: ghcr.io/taskmedia/kubectl-gpg-ncftp:main artifacthub.io/changes: | - kind: changed - description: Add Artifact Hub metadata (category, links, images) + description: Set metadata.namespace to the release namespace on all resources diff --git a/charts/paperlessngx-backup/templates/configmap.yaml b/charts/paperlessngx-backup/templates/configmap.yaml index f8fdc5c..9c9edc1 100644 --- a/charts/paperlessngx-backup/templates/configmap.yaml +++ b/charts/paperlessngx-backup/templates/configmap.yaml @@ -2,6 +2,7 @@ apiVersion: v1 kind: ConfigMap metadata: name: "{{ include "plngxbackup.fullname" . }}" + namespace: {{ .Release.Namespace }} data: backup.sh: | #!/bin/sh diff --git a/charts/paperlessngx-backup/templates/cronjob.yaml b/charts/paperlessngx-backup/templates/cronjob.yaml index c39980f..2a69626 100644 --- a/charts/paperlessngx-backup/templates/cronjob.yaml +++ b/charts/paperlessngx-backup/templates/cronjob.yaml @@ -2,6 +2,7 @@ apiVersion: batch/v1 kind: CronJob metadata: name: "{{ include "plngxbackup.fullname" . }}" + namespace: {{ .Release.Namespace }} spec: schedule: "{{ .Values.cron }}" concurrencyPolicy: Forbid diff --git a/charts/paperlessngx-backup/templates/rbac/role.yaml b/charts/paperlessngx-backup/templates/rbac/role.yaml index 60bdcca..e6a7c51 100644 --- a/charts/paperlessngx-backup/templates/rbac/role.yaml +++ b/charts/paperlessngx-backup/templates/rbac/role.yaml @@ -2,6 +2,7 @@ apiVersion: rbac.authorization.k8s.io/v1 kind: Role metadata: name: "{{ include "plngxbackup.fullname" . }}" + namespace: {{ .Release.Namespace }} rules: - apiGroups: [""] resources: ["pods"] diff --git a/charts/paperlessngx-backup/templates/rbac/rolebinding.yaml b/charts/paperlessngx-backup/templates/rbac/rolebinding.yaml index b44f481..93313ea 100644 --- a/charts/paperlessngx-backup/templates/rbac/rolebinding.yaml +++ b/charts/paperlessngx-backup/templates/rbac/rolebinding.yaml @@ -2,6 +2,7 @@ apiVersion: rbac.authorization.k8s.io/v1 kind: RoleBinding metadata: name: "{{ include "plngxbackup.fullname" . }}" + namespace: {{ .Release.Namespace }} subjects: - kind: ServiceAccount name: "{{ include "plngxbackup.fullname" . }}" diff --git a/charts/paperlessngx-backup/templates/rbac/serviceaccount.yaml b/charts/paperlessngx-backup/templates/rbac/serviceaccount.yaml index 6a007e9..a5a2158 100644 --- a/charts/paperlessngx-backup/templates/rbac/serviceaccount.yaml +++ b/charts/paperlessngx-backup/templates/rbac/serviceaccount.yaml @@ -2,3 +2,4 @@ apiVersion: v1 kind: ServiceAccount metadata: name: "{{ include "plngxbackup.fullname" . }}" + namespace: {{ .Release.Namespace }} diff --git a/charts/paperlessngx-backup/templates/secret.yaml b/charts/paperlessngx-backup/templates/secret.yaml index 2a78cc1..0a24ff3 100644 --- a/charts/paperlessngx-backup/templates/secret.yaml +++ b/charts/paperlessngx-backup/templates/secret.yaml @@ -3,6 +3,7 @@ apiVersion: v1 kind: Secret metadata: name: "{{ include "plngxbackup.fullname" . }}" + namespace: {{ .Release.Namespace }} type: Opaque stringData: ftp-password: "{{ .Values.ftp.password }}" diff --git a/charts/paperlessngx-ftp-bridge/Chart.yaml b/charts/paperlessngx-ftp-bridge/Chart.yaml index a5dbb67..bee6913 100644 --- a/charts/paperlessngx-ftp-bridge/Chart.yaml +++ b/charts/paperlessngx-ftp-bridge/Chart.yaml @@ -15,7 +15,7 @@ sources: - https://github.com/taskmedia/helm icon: https://media.task.media/images/logo.png type: application -version: 2.0.3 +version: 2.0.4 # app image tag (v); bumped manually when the bridge repo releases appVersion: "2.1.1" @@ -30,5 +30,5 @@ annotations: - name: paperlessngx-ftp-bridge image: ghcr.io/taskmedia/paperlessngx-ftp-bridge-image:v2.1.1 artifacthub.io/changes: | - - kind: fixed - description: Only create the Secret when an inline password is configured + - kind: changed + description: Set metadata.namespace to the release namespace on all resources diff --git a/charts/paperlessngx-ftp-bridge/templates/deployment.yaml b/charts/paperlessngx-ftp-bridge/templates/deployment.yaml index 521779a..07d228e 100644 --- a/charts/paperlessngx-ftp-bridge/templates/deployment.yaml +++ b/charts/paperlessngx-ftp-bridge/templates/deployment.yaml @@ -2,6 +2,7 @@ apiVersion: apps/v1 kind: Deployment metadata: name: "{{ include "plngxftpbridge.fullname" . }}" + namespace: {{ .Release.Namespace }} labels: {{- include "plngxftpbridge.labels" . | nindent 4 }} spec: diff --git a/charts/paperlessngx-ftp-bridge/templates/secrets.yaml b/charts/paperlessngx-ftp-bridge/templates/secrets.yaml index 870134b..0b7e610 100644 --- a/charts/paperlessngx-ftp-bridge/templates/secrets.yaml +++ b/charts/paperlessngx-ftp-bridge/templates/secrets.yaml @@ -13,6 +13,7 @@ apiVersion: v1 kind: Secret metadata: name: "{{ include "plngxftpbridge.fullname" . }}" + namespace: {{ .Release.Namespace }} type: Opaque stringData: {{- range $key, $value := $data }} diff --git a/charts/paperlessngx-ftp-bridge/templates/service.yaml b/charts/paperlessngx-ftp-bridge/templates/service.yaml index a98925f..154d45d 100644 --- a/charts/paperlessngx-ftp-bridge/templates/service.yaml +++ b/charts/paperlessngx-ftp-bridge/templates/service.yaml @@ -2,6 +2,7 @@ apiVersion: v1 kind: Service metadata: name: "{{ include "plngxftpbridge.fullname" . }}" + namespace: {{ .Release.Namespace }} labels: {{- include "plngxftpbridge.labels" . | nindent 4 }} {{- with .Values.service.annotations }} diff --git a/charts/vpn-ios-profile/Chart.yaml b/charts/vpn-ios-profile/Chart.yaml index 9a00ebd..b81ab92 100644 --- a/charts/vpn-ios-profile/Chart.yaml +++ b/charts/vpn-ios-profile/Chart.yaml @@ -16,7 +16,7 @@ sources: type: application -version: 0.3.2 +version: 0.3.3 appVersion: "latest" @@ -40,4 +40,4 @@ annotations: image: nginxinc/nginx-unprivileged artifacthub.io/changes: | - kind: changed - description: Add Artifact Hub metadata (category, links, images) + description: Set metadata.namespace to the release namespace on all resources diff --git a/charts/vpn-ios-profile/templates/secret-ios-profile.yaml b/charts/vpn-ios-profile/templates/secret-ios-profile.yaml index 812f1e5..498c21c 100644 --- a/charts/vpn-ios-profile/templates/secret-ios-profile.yaml +++ b/charts/vpn-ios-profile/templates/secret-ios-profile.yaml @@ -3,6 +3,7 @@ apiVersion: v1 kind: Secret metadata: name: {{ include "vpn-ios-profile.fullname" . }}-ios-profile + namespace: {{ .Release.Namespace }} stringData: index.html: |- diff --git a/charts/vpn-ios-profile/templates/tests/test-connection.yaml b/charts/vpn-ios-profile/templates/tests/test-connection.yaml index 3ea078b..6219d93 100644 --- a/charts/vpn-ios-profile/templates/tests/test-connection.yaml +++ b/charts/vpn-ios-profile/templates/tests/test-connection.yaml @@ -2,6 +2,7 @@ apiVersion: v1 kind: Pod metadata: name: "{{ include "vpn-ios-profile.fullname" . }}-test-connection" + namespace: {{ .Release.Namespace }} labels: {{- include "vpn-ios-profile.labels" . | nindent 4 }} annotations: diff --git a/charts/vpn-ios-profile/templates/web/deployment.yaml b/charts/vpn-ios-profile/templates/web/deployment.yaml index c3c3411..772dc1c 100644 --- a/charts/vpn-ios-profile/templates/web/deployment.yaml +++ b/charts/vpn-ios-profile/templates/web/deployment.yaml @@ -3,6 +3,7 @@ apiVersion: apps/v1 kind: Deployment metadata: name: {{ include "vpn-ios-profile.fullname" . }}-web + namespace: {{ .Release.Namespace }} labels: {{- include "vpn-ios-profile.labels" . | nindent 4 }} spec: diff --git a/charts/vpn-ios-profile/templates/web/ingress.yaml b/charts/vpn-ios-profile/templates/web/ingress.yaml index be941bc..7ecee2f 100644 --- a/charts/vpn-ios-profile/templates/web/ingress.yaml +++ b/charts/vpn-ios-profile/templates/web/ingress.yaml @@ -3,6 +3,7 @@ apiVersion: traefik.io/v1alpha1 kind: IngressRoute metadata: name: {{ include "vpn-ios-profile.fullname" . }}-web + namespace: {{ .Release.Namespace }} spec: entryPoints: - websecure diff --git a/charts/vpn-ios-profile/templates/web/middleware.yaml b/charts/vpn-ios-profile/templates/web/middleware.yaml index e48eb16..5dc554e 100644 --- a/charts/vpn-ios-profile/templates/web/middleware.yaml +++ b/charts/vpn-ios-profile/templates/web/middleware.yaml @@ -3,6 +3,7 @@ apiVersion: traefik.io/v1alpha1 kind: Middleware metadata: name: {{ include "vpn-ios-profile.fullname" . }}-web-basicauth + namespace: {{ .Release.Namespace }} spec: basicAuth: secret: {{ include "vpn-ios-profile.fullname" . }}-web-basicauth diff --git a/charts/vpn-ios-profile/templates/web/secret-basicauth.yaml b/charts/vpn-ios-profile/templates/web/secret-basicauth.yaml index 3e4895d..5af687b 100644 --- a/charts/vpn-ios-profile/templates/web/secret-basicauth.yaml +++ b/charts/vpn-ios-profile/templates/web/secret-basicauth.yaml @@ -3,6 +3,7 @@ apiVersion: v1 kind: Secret metadata: name: {{ include "vpn-ios-profile.fullname" . }}-web-basicauth + namespace: {{ .Release.Namespace }} type: kubernetes.io/basic-auth stringData: username: {{ .Values.web.ingressroute.username }} diff --git a/charts/vpn-ios-profile/templates/web/service.yaml b/charts/vpn-ios-profile/templates/web/service.yaml index a7e998b..f91ba38 100644 --- a/charts/vpn-ios-profile/templates/web/service.yaml +++ b/charts/vpn-ios-profile/templates/web/service.yaml @@ -3,6 +3,7 @@ apiVersion: v1 kind: Service metadata: name: {{ include "vpn-ios-profile.fullname" . }}-web + namespace: {{ .Release.Namespace }} labels: {{- include "vpn-ios-profile.labels" . | nindent 4 }} spec: