Skip to content

Commit

Permalink
Merge pull request #26 from vantage-sh/allow-labels
Browse files Browse the repository at this point in the history
Allow users to specfiy pod labels.
  • Loading branch information
macb authored Mar 19, 2024
2 parents d9770cb + 1b07575 commit a3f80e6
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 2 deletions.
4 changes: 2 additions & 2 deletions charts/vantage-kubernetes-agent/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@ apiVersion: v2
name: vantage-kubernetes-agent
description: Provisions the Vantage Kubernetes agent.
type: application
version: 1.0.29
appVersion: "1.0.22"
version: 1.0.30
appVersion: "1.0.23"
icon: "https://assets.vantage.sh/www/vantage_avatar-social.jpg"
3 changes: 3 additions & 0 deletions charts/vantage-kubernetes-agent/templates/application.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,9 @@ spec:
{{- end }}
labels:
{{- include "vantage-kubernetes-agent.selectorLabels" . | nindent 8 }}
{{- with .Values.podLabels }}
{{- toYaml . | nindent 8 }}
{{- end}}
spec:
{{- with .Values.imagePullSecrets }}
imagePullSecrets:
Expand Down
3 changes: 3 additions & 0 deletions charts/vantage-kubernetes-agent/values.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -121,6 +121,9 @@
"podAnnotations": {
"type": "object"
},
"podLabels": {
"type": "object"
},
"resources": {
"type": "object",
"properties": {
Expand Down
1 change: 1 addition & 0 deletions charts/vantage-kubernetes-agent/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,7 @@ clusterRole:
clusterRoleBinding:
annotations: {}

podLabels: {}
podAnnotations: {}
securityContext: {}
nodeSelector: {}
Expand Down

0 comments on commit a3f80e6

Please sign in to comment.