diff --git a/charts/common/Chart.yaml b/charts/common/Chart.yaml index 3b3dc34..f41fe3c 100644 --- a/charts/common/Chart.yaml +++ b/charts/common/Chart.yaml @@ -15,4 +15,4 @@ type: library # This is the chart version. This version number should be incremented each time you make changes # to the chart and its templates, including the app version. # Versions are expected to follow Semantic Versioning (https://semver.org/) -version: 0.8.0 +version: 0.9.0 diff --git a/charts/common/templates/_podSpec.yaml b/charts/common/templates/_podSpec.yaml index f7620d5..a58b29c 100644 --- a/charts/common/templates/_podSpec.yaml +++ b/charts/common/templates/_podSpec.yaml @@ -80,4 +80,4 @@ affinity: tolerations: {{- toYaml . | nindent 2 }} {{- end }} -{{- end }} \ No newline at end of file +{{- end }} diff --git a/charts/common/templates/_serviceaccount.yaml b/charts/common/templates/_serviceaccount.yaml index 451a130..2c18ded 100644 --- a/charts/common/templates/_serviceaccount.yaml +++ b/charts/common/templates/_serviceaccount.yaml @@ -1,12 +1,10 @@ {{- define "common.serviceaccount.tpl" -}} -{{- if .Values.serviceAccount.create -}} +{{- if .Values.serviceAccount }} --- apiVersion: v1 kind: ServiceAccount metadata: - name: {{ .Values.serviceAccount.name | default (include "onechart.fullname" .) }} + name: {{ .Values.serviceAccount }} namespace: {{ .Release.Namespace }} - labels: - {{- include "onechart.labels" . | nindent 4 }} {{- end }} {{- end -}} \ No newline at end of file diff --git a/charts/cron-job/Chart.lock b/charts/cron-job/Chart.lock index 81d1342..488864f 100644 --- a/charts/cron-job/Chart.lock +++ b/charts/cron-job/Chart.lock @@ -1,6 +1,6 @@ dependencies: - name: common repository: file://../common - version: 0.8.0 -digest: sha256:ffc064a8d35b9d9d6e48490b41d0caef00096b0c8f9d1b773dfd9380efdff440 -generated: "2026-02-06T16:56:07.364305478+07:00" + version: 0.9.0 +digest: sha256:c691781bff5490003ec6b84de1a1f71ab89d193325e5f5fe1c83b8c1398e2273 +generated: "2026-02-09T14:46:51.755970924+07:00" diff --git a/charts/cron-job/Chart.yaml b/charts/cron-job/Chart.yaml index 0ddd12d..cbbfa3a 100644 --- a/charts/cron-job/Chart.yaml +++ b/charts/cron-job/Chart.yaml @@ -15,9 +15,9 @@ type: application # This is the chart version. This version number should be incremented each time you make changes # to the chart and its templates, including the app version. # Versions are expected to follow Semantic Versioning (https://semver.org/) -version: 0.78.0 +version: 0.77.0 dependencies: - name: common - version: 0.8.0 + version: 0.9.0 repository: file://../common diff --git a/charts/cron-job/charts/common-0.8.0.tgz b/charts/cron-job/charts/common-0.8.0.tgz deleted file mode 100644 index ef4e3cc..0000000 Binary files a/charts/cron-job/charts/common-0.8.0.tgz and /dev/null differ diff --git a/charts/cron-job/charts/common-0.9.0.tgz b/charts/cron-job/charts/common-0.9.0.tgz new file mode 100644 index 0000000..a75fc39 Binary files /dev/null and b/charts/cron-job/charts/common-0.9.0.tgz differ diff --git a/charts/onechart/Chart.lock b/charts/onechart/Chart.lock index 064983a..35869c1 100644 --- a/charts/onechart/Chart.lock +++ b/charts/onechart/Chart.lock @@ -1,6 +1,6 @@ dependencies: - name: common repository: file://../common - version: 0.8.0 -digest: sha256:ffc064a8d35b9d9d6e48490b41d0caef00096b0c8f9d1b773dfd9380efdff440 -generated: "2026-02-06T14:23:44.297299351+07:00" + version: 0.9.0 +digest: sha256:c691781bff5490003ec6b84de1a1f71ab89d193325e5f5fe1c83b8c1398e2273 +generated: "2026-02-09T14:47:43.892718793+07:00" diff --git a/charts/onechart/Chart.yaml b/charts/onechart/Chart.yaml index 3c92bdf..34035fa 100644 --- a/charts/onechart/Chart.yaml +++ b/charts/onechart/Chart.yaml @@ -15,9 +15,9 @@ type: application # This is the chart version. This version number should be incremented each time you make changes # to the chart and its templates, including the app version. # Versions are expected to follow Semantic Versioning (https://semver.org/) -version: 0.78.0 +version: 0.77.0 dependencies: - name: common - version: 0.8.0 + version: 0.9.0 repository: file://../common diff --git a/charts/onechart/charts/common-0.8.0.tgz b/charts/onechart/charts/common-0.8.0.tgz deleted file mode 100644 index 1966100..0000000 Binary files a/charts/onechart/charts/common-0.8.0.tgz and /dev/null differ diff --git a/charts/onechart/charts/common-0.9.0.tgz b/charts/onechart/charts/common-0.9.0.tgz new file mode 100644 index 0000000..a75fc39 Binary files /dev/null and b/charts/onechart/charts/common-0.9.0.tgz differ diff --git a/charts/onechart/values.schema.json b/charts/onechart/values.schema.json index e360a3a..aeec16f 100644 --- a/charts/onechart/values.schema.json +++ b/charts/onechart/values.schema.json @@ -1225,6 +1225,14 @@ } ] } + }, + "serviceAccount": { + "$id": "#/properties/serviceAccount", + "type": "string", + "title": "The name of service account", + "description": "Name of the Kubernetes ServiceAccount to associate with this workload. If not specified, the chart will automatically create one.", + "default": "", + "examples": [] } }, "additionalProperties": true diff --git a/charts/onechart/values.yaml b/charts/onechart/values.yaml index 244f899..9d9758f 100644 --- a/charts/onechart/values.yaml +++ b/charts/onechart/values.yaml @@ -16,10 +16,6 @@ image: # vars: # MY_VAR: "value" -serviceAccount: - create: false - # name: my-service-account - replicas: 1 nameOverride: "" diff --git a/charts/static-site/Chart.lock b/charts/static-site/Chart.lock index 4c2143f..a7ccce2 100644 --- a/charts/static-site/Chart.lock +++ b/charts/static-site/Chart.lock @@ -1,6 +1,6 @@ dependencies: - name: common repository: file://../common - version: 0.8.0 -digest: sha256:ffc064a8d35b9d9d6e48490b41d0caef00096b0c8f9d1b773dfd9380efdff440 -generated: "2026-02-06T16:56:24.024306149+07:00" + version: 0.9.0 +digest: sha256:c691781bff5490003ec6b84de1a1f71ab89d193325e5f5fe1c83b8c1398e2273 +generated: "2026-02-09T15:31:53.899987212+07:00" diff --git a/charts/static-site/Chart.yaml b/charts/static-site/Chart.yaml index 7cad5c2..37ff752 100644 --- a/charts/static-site/Chart.yaml +++ b/charts/static-site/Chart.yaml @@ -14,9 +14,9 @@ type: application # This is the chart version. This version number should be incremented each time you make changes # to the chart and its templates, including the app version. # Versions are expected to follow Semantic Versioning (https://semver.org/) -version: 0.78.0 +version: 0.77.0 dependencies: - name: common - version: 0.8.0 + version: 0.9.0 repository: file://../common diff --git a/charts/static-site/charts/common-0.8.0.tgz b/charts/static-site/charts/common-0.8.0.tgz deleted file mode 100644 index ef4e3cc..0000000 Binary files a/charts/static-site/charts/common-0.8.0.tgz and /dev/null differ diff --git a/charts/static-site/charts/common-0.9.0.tgz b/charts/static-site/charts/common-0.9.0.tgz new file mode 100644 index 0000000..a75fc39 Binary files /dev/null and b/charts/static-site/charts/common-0.9.0.tgz differ diff --git a/common-0.8.0.tgz b/common-0.8.0.tgz deleted file mode 100644 index 1966100..0000000 Binary files a/common-0.8.0.tgz and /dev/null differ diff --git a/common-0.9.0.tgz b/common-0.9.0.tgz new file mode 100644 index 0000000..a75fc39 Binary files /dev/null and b/common-0.9.0.tgz differ