Skip to content

Commit

Permalink
[castai-evictor] managed by label placement on deployment (#188)
Browse files Browse the repository at this point in the history
* [castai-evictor] managed by label placement on deployment
  • Loading branch information
zilvinasu authored Nov 23, 2022
1 parent a3d0e22 commit bb49121
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion charts/castai-evictor/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ type: application
# This is the chart version. This version number should be incremented each time you make changes
# to the chart and its templates, including the app version.
# Versions are expected to follow Semantic Versioning (https://semver.org/)
version: 0.20.8
version: 0.20.9
# This is the version number of the application being deployed. This version number should be
# incremented each time you make changes to the application. Versions are not expected to
# follow Semantic Versioning. They should reflect the version the application is using.
Expand Down
6 changes: 3 additions & 3 deletions charts/castai-evictor/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@ kind: Deployment
metadata:
name: {{ include "evictor.fullname" . }}
labels:
{{- if .Values.managedByCASTAI }}
charts.cast.ai/managed-by: cast.ai
{{ end }}
{{- include "evictor.labels" . | nindent 4 }}
{{ if gt (len .Values.commonAnnotations) 0 -}}
annotations:
Expand All @@ -22,9 +25,6 @@ spec:
{{- toYaml . | nindent 8 }}
{{- end }}
labels:
{{- if .Values.managedByCASTAI }}
charts.cast.ai/managed-by: cast.ai
{{ end }}
{{- include "evictor.selectorLabels" . | nindent 8 }}
{{- with .Values.podLabels }}
{{- toYaml . | nindent 8 }}
Expand Down

0 comments on commit bb49121

Please sign in to comment.