From 8fa716013db1d66dd07ca5c9eeec60f37e2ad585 Mon Sep 17 00:00:00 2001 From: Alexandre Chappaz Date: Wed, 1 Oct 2025 20:35:26 +0200 Subject: [PATCH 1/2] envfrom --- .../github-actions-cache-server/templates/deployment.yaml | 3 +++ install/kubernetes/github-actions-cache-server/values.yaml | 1 + 2 files changed, 4 insertions(+) diff --git a/install/kubernetes/github-actions-cache-server/templates/deployment.yaml b/install/kubernetes/github-actions-cache-server/templates/deployment.yaml index 2e4862c..4129ada 100644 --- a/install/kubernetes/github-actions-cache-server/templates/deployment.yaml +++ b/install/kubernetes/github-actions-cache-server/templates/deployment.yaml @@ -67,6 +67,9 @@ spec: {{- with .Values.env }} {{- toYaml . | nindent 12 }} {{- end }} + {{- with .Values.envFrom }} + envFrom: {{ toYaml . | nindent 12 }} + {{- end }} volumes: - name: tmp {{- toYaml .Values.tmpVolume | nindent 10 }} diff --git a/install/kubernetes/github-actions-cache-server/values.yaml b/install/kubernetes/github-actions-cache-server/values.yaml index e2c0af0..c7780a7 100644 --- a/install/kubernetes/github-actions-cache-server/values.yaml +++ b/install/kubernetes/github-actions-cache-server/values.yaml @@ -128,3 +128,4 @@ apiBaseUrl: '' env: - name: DEBUG value: 'false' +envFrom: [] \ No newline at end of file From a6aef4567d88b93b62c20c345997cfd2d44f4133 Mon Sep 17 00:00:00 2001 From: Alexandre Chappaz Date: Tue, 7 Oct 2025 09:51:23 +0200 Subject: [PATCH 2/2] service annotations --- .../github-actions-cache-server/templates/service.yaml | 4 ++++ install/kubernetes/github-actions-cache-server/values.yaml | 1 + 2 files changed, 5 insertions(+) diff --git a/install/kubernetes/github-actions-cache-server/templates/service.yaml b/install/kubernetes/github-actions-cache-server/templates/service.yaml index 634cdc2..77eb2ef 100644 --- a/install/kubernetes/github-actions-cache-server/templates/service.yaml +++ b/install/kubernetes/github-actions-cache-server/templates/service.yaml @@ -4,6 +4,10 @@ metadata: name: {{ include "github-actions-cache-server.fullname" . }} labels: {{- include "github-actions-cache-server.labels" . | nindent 4 }} + {{- with .Values.service.annotations }} + annotations: + {{- toYaml . | nindent 4 }} + {{- end }} spec: type: {{ .Values.service.type }} ports: diff --git a/install/kubernetes/github-actions-cache-server/values.yaml b/install/kubernetes/github-actions-cache-server/values.yaml index c7780a7..84ae4d9 100644 --- a/install/kubernetes/github-actions-cache-server/values.yaml +++ b/install/kubernetes/github-actions-cache-server/values.yaml @@ -45,6 +45,7 @@ securityContext: service: type: ClusterIP port: 80 + annotations: {} ingress: enabled: false