From 607d158bb490ce4c1ca23162b51140e314fd0009 Mon Sep 17 00:00:00 2001 From: Karl Haworth Date: Mon, 4 Dec 2023 10:08:25 -0500 Subject: [PATCH 1/2] bump ct chart to version 0.2.49 Signed-off-by: Karl Haworth --- charts/ctlog/Chart.yaml | 2 +- charts/ctlog/README.md | 5 ++++- charts/ctlog/templates/createctconfig-job.yaml | 4 ++++ charts/ctlog/templates/createtree-job.yaml | 4 ++++ charts/ctlog/templates/ctlog-deployment.yaml | 4 ++++ charts/ctlog/values.schema.json | 3 +++ charts/ctlog/values.yaml | 2 ++ 7 files changed, 22 insertions(+), 2 deletions(-) diff --git a/charts/ctlog/Chart.yaml b/charts/ctlog/Chart.yaml index a4f917e8..fc563ade 100644 --- a/charts/ctlog/Chart.yaml +++ b/charts/ctlog/Chart.yaml @@ -4,7 +4,7 @@ description: Certificate Log type: application -version: 0.2.48 +version: 0.2.49 appVersion: 0.6.10 keywords: diff --git a/charts/ctlog/README.md b/charts/ctlog/README.md index 123d41f3..dd9b4c71 100644 --- a/charts/ctlog/README.md +++ b/charts/ctlog/README.md @@ -1,6 +1,6 @@ # ctlog -![Version: 0.2.48](https://img.shields.io/badge/Version-0.2.48-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 0.6.10](https://img.shields.io/badge/AppVersion-0.6.10-informational?style=flat-square) +![Version: 0.2.49](https://img.shields.io/badge/Version-0.2.49-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 0.6.10](https://img.shields.io/badge/AppVersion-0.6.10-informational?style=flat-square) Certificate Log @@ -57,6 +57,7 @@ Certificate Log | createtree.serviceAccount.name | string | `""` | | | createtree.ttlSecondsAfterFinished | int | `3600` | | | forceNamespace | string | `""` | | +| imagePullSecrets | list | `[]` | | | namespace.create | bool | `false` | | | namespace.name | string | `"ctlog-system"` | | | server.config.key | string | `"treeID"` | | @@ -115,3 +116,5 @@ Certificate Log | trillian.logServer.portRPC | int | `8091` | | | trillian.namespace | string | `"trillian-system"` | | +---------------------------------------------- +Autogenerated from chart metadata using [helm-docs v1.11.3](https://github.com/norwoodj/helm-docs/releases/v1.11.3) diff --git a/charts/ctlog/templates/createctconfig-job.yaml b/charts/ctlog/templates/createctconfig-job.yaml index 45917e4c..fa6a45df 100644 --- a/charts/ctlog/templates/createctconfig-job.yaml +++ b/charts/ctlog/templates/createctconfig-job.yaml @@ -38,6 +38,10 @@ spec: securityContext: {{ toYaml .Values.createctconfig.initContainerSecurityContext | indent 12 }} {{- end }} + {{- if .Values.imagePullSecrets }} + imagePullSecrets: +{{ toYaml .Values.imagePullSecrets | indent 8 }} + {{- end }} containers: - name: {{ template "ctlog.createctconfig.fullname" . }} image: "{{ template "ctlog.image" .Values.createctconfig.image }}" diff --git a/charts/ctlog/templates/createtree-job.yaml b/charts/ctlog/templates/createtree-job.yaml index 1feabbc9..2e9eaea8 100644 --- a/charts/ctlog/templates/createtree-job.yaml +++ b/charts/ctlog/templates/createtree-job.yaml @@ -19,6 +19,10 @@ spec: serviceAccountName: {{ template "ctlog.serviceAccountName.createtree" . }} restartPolicy: Never automountServiceAccountToken: {{ .Values.createtree.serviceAccount.mountToken }} + {{- if .Values.imagePullSecrets }} + imagePullSecrets: +{{ toYaml .Values.imagePullSecrets | indent 8 }} + {{- end }} containers: - name: {{ template "ctlog.createtree.fullname" . }} image: "{{ template "ctlog.image" .Values.createtree.image }}" diff --git a/charts/ctlog/templates/ctlog-deployment.yaml b/charts/ctlog/templates/ctlog-deployment.yaml index ce7fc78a..be437d90 100644 --- a/charts/ctlog/templates/ctlog-deployment.yaml +++ b/charts/ctlog/templates/ctlog-deployment.yaml @@ -21,6 +21,10 @@ spec: {{- include "ctlog.labels" . | nindent 8 }} spec: serviceAccountName: {{ template "ctlog.serviceAccountName" . }} + {{- if .Values.imagePullSecrets }} + imagePullSecrets: +{{ toYaml .Values.imagePullSecrets | indent 8 }} + {{- end }} containers: - name: {{ template "ctlog.fullname" . }} image: "{{ template "ctlog.image" .Values.server.image }}" diff --git a/charts/ctlog/values.schema.json b/charts/ctlog/values.schema.json index 32077bbf..ebeefdae 100644 --- a/charts/ctlog/values.schema.json +++ b/charts/ctlog/values.schema.json @@ -13,6 +13,9 @@ "forceNamespace" ], "properties": { + "imagePullSecrets": { + "type": "array" + }, "namespace": { "type": "object", "default": {}, diff --git a/charts/ctlog/values.yaml b/charts/ctlog/values.yaml index 548369b2..828402d1 100644 --- a/charts/ctlog/values.yaml +++ b/charts/ctlog/values.yaml @@ -2,6 +2,8 @@ namespace: create: false name: ctlog-system +imagePullSecrets: [] + server: replicaCount: 1 config: From 6f4ee740a18825eec18bafd4c2737556fbcfa41c Mon Sep 17 00:00:00 2001 From: Karl Haworth Date: Mon, 4 Dec 2023 11:27:41 -0500 Subject: [PATCH 2/2] remove autogenerated markdown content Signed-off-by: Karl Haworth --- charts/ctlog/README.md | 3 --- 1 file changed, 3 deletions(-) diff --git a/charts/ctlog/README.md b/charts/ctlog/README.md index dd9b4c71..55414948 100644 --- a/charts/ctlog/README.md +++ b/charts/ctlog/README.md @@ -115,6 +115,3 @@ Certificate Log | trillian.logServer.name | string | `"trillian-logserver"` | | | trillian.logServer.portRPC | int | `8091` | | | trillian.namespace | string | `"trillian-system"` | | - ----------------------------------------------- -Autogenerated from chart metadata using [helm-docs v1.11.3](https://github.com/norwoodj/helm-docs/releases/v1.11.3)