Skip to content

Commit

Permalink
Merge pull request #37 from foomo/squadron-pull-secrets
Browse files Browse the repository at this point in the history
fix(squadron): secret mount names
  • Loading branch information
franklinkim authored Oct 30, 2024
2 parents b71dc16 + 6c308a5 commit d56851d
Show file tree
Hide file tree
Showing 15 changed files with 24 additions and 18 deletions.
4 changes: 2 additions & 2 deletions charts/squadron-keel-cronjob/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,5 @@ annotations:
- name: Chart Source
url: https://github.com/foomo/helm-charts
version: 0.1.6
appVersion: 0.1.6
version: 0.1.7
appVersion: 0.1.7
2 changes: 1 addition & 1 deletion charts/squadron-keel-cronjob/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# squadron-keel-cronjob

![Version: 0.1.6](https://img.shields.io/badge/Version-0.1.6-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 0.1.6](https://img.shields.io/badge/AppVersion-0.1.6-informational?style=flat-square)
![Version: 0.1.7](https://img.shields.io/badge/Version-0.1.7-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 0.1.7](https://img.shields.io/badge/AppVersion-0.1.7-informational?style=flat-square)

Squadron Keel CronJob Chart

Expand Down
2 changes: 1 addition & 1 deletion charts/squadron-keel-cronjob/templates/cronjob.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ spec:
claimName: {{ include "keel.cronjob.fullname" . }}-data
{{- end }}
{{- range $key, $value := .Values.secrets }}
- name: {{ $key }}
- name: {{ include "keel.cronjob.fullname" $ }}-{{ $key }}
secret:
secretName: {{ include "keel.cronjob.fullname" $ }}-{{ $key }}
{{- end }}
Expand Down
3 changes: 2 additions & 1 deletion charts/squadron-keel-cronjob/values.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -389,8 +389,9 @@
"pullSecrets": {
"description": "Image pull secrets",
"items": {
"additionalProperties": true,
"required": [],
"type": "string"
"type": "object"
},
"required": [],
"title": "pullSecrets",
Expand Down
3 changes: 2 additions & 1 deletion charts/squadron-keel-cronjob/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -247,7 +247,8 @@ image:
# @schema
# type: array
# items:
# type: string
# type: object
# additionalProperties: true
# @schema
# -- Image pull secrets
# @section -- Image settings
Expand Down
4 changes: 2 additions & 2 deletions charts/squadron-keel-server/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,5 @@ annotations:
- name: Chart Source
url: https://github.com/foomo/helm-charts
version: 0.1.12
appVersion: 0.1.12
version: 0.1.13
appVersion: 0.1.13
2 changes: 1 addition & 1 deletion charts/squadron-keel-server/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# squadron-keel-server

![Version: 0.1.12](https://img.shields.io/badge/Version-0.1.12-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 0.1.12](https://img.shields.io/badge/AppVersion-0.1.12-informational?style=flat-square)
![Version: 0.1.13](https://img.shields.io/badge/Version-0.1.13-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 0.1.13](https://img.shields.io/badge/AppVersion-0.1.13-informational?style=flat-square)

Squadron Keel Server Chart

Expand Down
2 changes: 1 addition & 1 deletion charts/squadron-keel-server/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ spec:
claimName: {{ include "keel.server.fullname" . }}-data
{{- end }}
{{- range $key, $value := .Values.secrets }}
- name: {{ $key }}
- name: {{ include "keel.server.fullname" . }}-{{ $key }}
secret:
secretName: {{ include "keel.server.fullname" $ }}-{{ $key }}
{{- end }}
Expand Down
3 changes: 2 additions & 1 deletion charts/squadron-keel-server/values.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -199,8 +199,9 @@
"pullSecrets": {
"description": "Image pull secrets",
"items": {
"additionalProperties": true,
"required": [],
"type": "string"
"type": "object"
},
"required": [],
"title": "pullSecrets",
Expand Down
3 changes: 2 additions & 1 deletion charts/squadron-keel-server/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -262,7 +262,8 @@ image:
# @schema
# type: array
# items:
# type: string
# type: object
# additionalProperties: true
# @schema
# -- Image pull secrets
# @section -- Image settings
Expand Down
4 changes: 2 additions & 2 deletions charts/squadron-nextjs-server/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,5 +14,5 @@ annotations:
- name: Chart Source
url: https://github.com/foomo/helm-charts
version: 0.1.6
appVersion: 0.1.6
version: 0.1.7
appVersion: 0.1.7
2 changes: 1 addition & 1 deletion charts/squadron-nextjs-server/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# squadron-nextjs-server

![Version: 0.1.6](https://img.shields.io/badge/Version-0.1.6-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 0.1.6](https://img.shields.io/badge/AppVersion-0.1.6-informational?style=flat-square)
![Version: 0.1.7](https://img.shields.io/badge/Version-0.1.7-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 0.1.7](https://img.shields.io/badge/AppVersion-0.1.7-informational?style=flat-square)

Squadron NextJS Server Chart

Expand Down
2 changes: 1 addition & 1 deletion charts/squadron-nextjs-server/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ spec:
claimName: {{ include "nextjs.server.fullname" . }}-data
{{- end }}
{{- range $key, $value := .Values.secrets }}
- name: {{ $key }}
- name: {{ include "nextjs.server.fullname" $ }}-{{ $key }}
secret:
secretName: {{ include "nextjs.server.fullname" $ }}-{{ $key }}
{{- end }}
Expand Down
3 changes: 2 additions & 1 deletion charts/squadron-nextjs-server/values.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -239,8 +239,9 @@
"pullSecrets": {
"description": "Image pull secrets",
"items": {
"additionalProperties": true,
"required": [],
"type": "string"
"type": "object"
},
"required": [],
"title": "pullSecrets",
Expand Down
3 changes: 2 additions & 1 deletion charts/squadron-nextjs-server/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -253,7 +253,8 @@ image:
# @schema
# type: array
# items:
# type: string
# type: object
# additionalProperties: true
# @schema
# -- Image pull secrets
# @section -- Image settings
Expand Down

0 comments on commit d56851d

Please sign in to comment.