Skip to content

Commit

Permalink
Merge pull request #52 from foomo/squadron-pod-labels
Browse files Browse the repository at this point in the history
feat(squadron): add podlabels
  • Loading branch information
gnmsa authored Dec 12, 2024
2 parents 776d241 + dee9d5b commit 4359545
Show file tree
Hide file tree
Showing 10 changed files with 42 additions and 6 deletions.
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.15
appVersion: 0.1.15
version: 0.1.16
appVersion: 0.1.16
3 changes: 2 additions & 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.15](https://img.shields.io/badge/Version-0.1.15-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 0.1.15](https://img.shields.io/badge/AppVersion-0.1.15-informational?style=flat-square)
![Version: 0.1.16](https://img.shields.io/badge/Version-0.1.16-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 0.1.16](https://img.shields.io/badge/AppVersion-0.1.16-informational?style=flat-square)

Squadron Keel Server Chart

Expand Down Expand Up @@ -170,6 +170,7 @@ Squadron Keel Server Chart
| server.hostAliases | list | `[]` | Host aliases |
| server.livenessProbe | object | `{"httpGet":{"path":"/healthz/liveness","port":"healthz"}}` | Liveness probe settings |
| server.podAnnotations | object | `{}` | Pod annotations |
| server.podLabels | object | `{}` | Pod labels |
| server.readinessProbe | object | `{"httpGet":{"path":"/healthz/readiness","port":"healthz"}}` | Readiness probe settings |
| server.resources | object | `{}` | Resource settings |
| server.startupProbe | object | `{"httpGet":{"path":"/healthz/startup","port":"healthz"}}` | Startup probe settings |
Expand Down
3 changes: 3 additions & 0 deletions charts/squadron-keel-server/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,9 @@ spec:
labels:
{{- include "keel.server.labels" . | nindent 8 }}
{{- include "keel.server.networkingLabels" . | nindent 8 }}
{{- with .Values.server.podLabels }}
{{- toYaml . | nindent 8 }}
{{- end }}
annotations:
{{- include "keel.server.annotations.recreatePod" . | nindent 8 }}
{{- with .Values.server.podAnnotations }}
Expand Down
7 changes: 7 additions & 0 deletions charts/squadron-keel-server/values.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -932,6 +932,13 @@
"title": "podAnnotations",
"type": "object"
},
"podLabels": {
"additionalProperties": true,
"description": "Pod labels",
"required": [],
"title": "podLabels",
"type": "object"
},
"readinessProbe": {
"additionalProperties": true,
"description": "Readiness probe settings",
Expand Down
7 changes: 7 additions & 0 deletions charts/squadron-keel-server/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -473,6 +473,13 @@ server:
# @section -- Server
podAnnotations: { }
# @schema
# type: object
# additionalProperties: true
# @schema
# -- Pod labels
# @section -- Server
podLabels: { }
# @schema
# type: array
# items:
# type: object
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/tree/main/charts/squadron-nextjs-server
version: 0.1.9
appVersion: 0.1.9
version: 0.1.10
appVersion: 0.1.10
3 changes: 2 additions & 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.9](https://img.shields.io/badge/Version-0.1.9-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 0.1.9](https://img.shields.io/badge/AppVersion-0.1.9-informational?style=flat-square)
![Version: 0.1.10](https://img.shields.io/badge/Version-0.1.10-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 0.1.10](https://img.shields.io/badge/AppVersion-0.1.10-informational?style=flat-square)

Squadron NextJS Server Chart

Expand Down Expand Up @@ -178,6 +178,7 @@ Squadron NextJS Server Chart
| server.hostAliases | list | `[]` | Host aliases |
| server.livenessProbe | object | `{"tcpSocket":{"port":3000}}` | Liveness probe settings |
| server.podAnnotations | object | `{}` | Pod annotations |
| server.podLabels | object | `{}` | Pod labels |
| server.readinessProbe | object | `{"tcpSocket":{"port":3000}}` | Readiness probe settings |
| server.resources | object | `{}` | Resource settings |
| server.startupProbe | object | `{"tcpSocket":{"port":3000}}` | Startup probe settings |
Expand Down
3 changes: 3 additions & 0 deletions charts/squadron-nextjs-server/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,9 @@ spec:
labels:
{{- include "nextjs.server.labels" . | nindent 8 }}
{{- include "nextjs.server.networkingLabels" . | nindent 8 }}
{{- with .Values.server.podLabels }}
{{- toYaml . | nindent 8 }}
{{- end }}
annotations:
{{- include "nextjs.server.annotations.recreatePod" . | nindent 8 }}
{{- with .Values.server.podAnnotations }}
Expand Down
7 changes: 7 additions & 0 deletions charts/squadron-nextjs-server/values.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -959,6 +959,13 @@
"title": "podAnnotations",
"type": "object"
},
"podLabels": {
"additionalProperties": true,
"description": "Pod labels",
"required": [],
"title": "podLabels",
"type": "object"
},
"readinessProbe": {
"additionalProperties": true,
"description": "Readiness probe settings",
Expand Down
7 changes: 7 additions & 0 deletions charts/squadron-nextjs-server/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -464,6 +464,13 @@ server:
# @section -- Server
podAnnotations: { }
# @schema
# type: object
# additionalProperties: true
# @schema
# -- Pod labels
# @section -- Server
podLabels: { }
# @schema
# type: array
# items:
# type: object
Expand Down

0 comments on commit 4359545

Please sign in to comment.