Skip to content

Commit

Permalink
Merge pull request #28 from vantage-sh/applabels
Browse files Browse the repository at this point in the history
Add appLabels to support labeling the application resource.
  • Loading branch information
macb authored Apr 22, 2024
2 parents 1e664c0 + 768fa40 commit 583ff7c
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 1 deletion.
2 changes: 1 addition & 1 deletion 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.31
version: 1.0.32
appVersion: "1.0.24"
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 @@ -13,6 +13,9 @@ metadata:
namespace: {{ .Release.Namespace }}
labels:
{{- include "vantage-kubernetes-agent.labels" . | nindent 4 }}
{{- with .Values.appLabels }}
{{- toYaml . | nindent 4 }}
{{- end}}
spec:
replicas: 1
{{- if .Values.agent.useDeployment }}
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 @@ -51,6 +51,9 @@
}
}
},
"appLabels": {
"type": "object"
},
"clusterRole": {
"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 @@ -90,6 +90,7 @@ clusterRole:
clusterRoleBinding:
annotations: {}

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

0 comments on commit 583ff7c

Please sign in to comment.