Skip to content

Commit eb3c078

Browse files
hazim1093Hazim MalikHazim Malik
authored
Add podLabels field (#26)
* Add standard podLabels field to allow additional labels on pods * Update chart version and documentation Co-authored-by: Hazim Malik <[email protected]> Co-authored-by: Hazim Malik <[email protected]>
1 parent b774a7a commit eb3c078

File tree

4 files changed

+10
-1
lines changed

4 files changed

+10
-1
lines changed

src/chartmuseum/Chart.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
apiVersion: v2
22
description: Host your own Helm Chart Repository
33
name: chartmuseum
4-
version: 3.7.1
4+
version: 3.8.0
55
appVersion: 0.14.0
66
home: https://github.com/helm/chartmuseum
77
icon: https://raw.githubusercontent.com/chartmuseum/charts/main/logo.jpg

src/chartmuseum/README.md

+1
Original file line numberDiff line numberDiff line change
@@ -203,6 +203,7 @@ their default values. See values.yaml for all available options.
203203
| `deployment.extraVolumes` | Additional volumes for deployment | `[]` |
204204
| `deployment.extraVolumeMounts` | Additional volumes to mount in container for deployment | `[]` |
205205
| `podAnnotations` | Annotations for pods | `{}` |
206+
| `podLabels` | Labels for pods | `{}` |
206207
| `ingress.enabled` | Enable ingress controller resource | `false` |
207208
| `ingress.pathType` | Ingress pathType for Kubernetes 1.18 and above | `ImplementationSpecific` |
208209
| `ingress.annotations` | Ingress annotations | `{}` |

src/chartmuseum/templates/deployment.yaml

+3
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,9 @@ spec:
2727
{{- end }}
2828
labels:
2929
{{- include "chartmuseum.selectorLabels" . | nindent 8 }}
30+
{{- if .Values.podLabels }}
31+
{{- toYaml .Values.podLabels | nindent 8 }}
32+
{{- end }}
3033
spec:
3134
{{- if .Values.priorityClassName }}
3235
priorityClassName: "{{ .Values.priorityClassName }}"

src/chartmuseum/values.yaml

+5
Original file line numberDiff line numberDiff line change
@@ -139,6 +139,11 @@ deployment:
139139
podAnnotations: {}
140140
# iam.amazonaws.com/role: role-arn
141141

142+
## Pod labels
143+
## ref: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/
144+
podLabels: {}
145+
# name: value
146+
142147
service:
143148
servicename:
144149
type: ClusterIP

0 commit comments

Comments
 (0)