From f3f5e45940a0220b5c4e3097774b04c31ac44017 Mon Sep 17 00:00:00 2001 From: Tania Morell <94491372+tmorell-ns1@users.noreply.github.com> Date: Tue, 28 Nov 2023 12:11:18 -0600 Subject: [PATCH 1/2] Update nginx-internal.yaml to add annotations variables necessary for adding annotations so that the application stakater/reloader can be used for automatic reloadings upon TLS certification renewals. --- charts/orb/templates/nginx-internal.yaml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/charts/orb/templates/nginx-internal.yaml b/charts/orb/templates/nginx-internal.yaml index f5bebf4..6dbfd33 100644 --- a/charts/orb/templates/nginx-internal.yaml +++ b/charts/orb/templates/nginx-internal.yaml @@ -337,6 +337,10 @@ apiVersion: apps/v1 kind: Deployment metadata: name: {{ .Release.Name }}-nginx-internal + annotations: + {{- with .Values.nginx_internal.metadata.annotations }} + {{- toYaml . | nindent 4 }} + {{- end }} spec: selector: matchLabels: @@ -347,6 +351,10 @@ spec: labels: app: {{ .Release.Name }} component: nginx-internal + annotations: + {{- with .Values.nginx_internal.metadata.annotations }} + {{- toYaml . | nindent 8 }} + {{- end }} spec: containers: - image: "{{ .Values.nginx_internal.image.repository }}:{{ .Values.nginx_internal.image.tag }}" From 0c1a31f14dbf5c6c3501c6dda158affadf10e9a4 Mon Sep 17 00:00:00 2001 From: Tania Morell Date: Tue, 28 Nov 2023 13:33:08 -0600 Subject: [PATCH 2/2] - added default annotation for nginx-internal - increased Chart.yaml version to 1.0.54 --- charts/orb/Chart.yaml | 2 +- charts/orb/values.yaml | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/charts/orb/Chart.yaml b/charts/orb/Chart.yaml index 8b8fe3d..c86e3cb 100644 --- a/charts/orb/Chart.yaml +++ b/charts/orb/Chart.yaml @@ -10,7 +10,7 @@ name: orb description: Orb Observability Platform icon: https://avatars1.githubusercontent.com/u/13207490 type: application -version: 1.0.53 +version: 1.0.54 appVersion: "0.27.0" home: https://getorb.io sources: diff --git a/charts/orb/values.yaml b/charts/orb/values.yaml index 0936119..fe1b056 100644 --- a/charts/orb/values.yaml +++ b/charts/orb/values.yaml @@ -345,6 +345,8 @@ nginx_internal: pullPolicy: "IfNotPresent" repository: "nginx" tag: "1.21.1" + metadata: + annotations: {} keto: keto: