mirror of
https://github.com/gomods/athens
synced 2026-02-03 11:00:32 +00:00
Remove chart version from deployments and services selectors (#1562)
Label selectors are immutable; having the chart version part of the label selectors means that upgrades require a full recreation of the deployments and services instead of a simple update. This branch removes the chart version from the selectors to allow smooth upgrades.
This commit is contained in:
committed by
GitHub
parent
e42546a2b0
commit
e1374bea39
@@ -1,5 +1,5 @@
|
||||
name: athens-proxy
|
||||
version: 0.4.3
|
||||
version: 0.4.4
|
||||
appVersion: 0.7.0
|
||||
description: The proxy server for Go modules
|
||||
icon: https://raw.githubusercontent.com/gomods/athens/master/docs/static/banner.png
|
||||
|
||||
@@ -12,7 +12,6 @@ spec:
|
||||
selector:
|
||||
matchLabels:
|
||||
app: {{ template "fullname" . }}
|
||||
chart: "{{ .Chart.Name }}-{{ .Chart.Version }}"
|
||||
release: "{{ .Release.Name }}"
|
||||
template:
|
||||
metadata:
|
||||
|
||||
@@ -13,7 +13,6 @@ spec:
|
||||
selector:
|
||||
matchLabels:
|
||||
app: {{ template "fullname" . }}-jaeger
|
||||
chart: "{{ .Chart.Name }}-{{ .Chart.Version }}"
|
||||
release: "{{ .Release.Name }}"
|
||||
template:
|
||||
metadata:
|
||||
|
||||
@@ -37,6 +37,5 @@ spec:
|
||||
targetPort: 16686
|
||||
selector:
|
||||
app: {{ template "fullname" . }}-jaeger
|
||||
chart: "{{ .Chart.Name }}-{{ .Chart.Version }}"
|
||||
release: "{{ .Release.Name }}"
|
||||
{{- end -}}
|
||||
|
||||
@@ -23,5 +23,4 @@ spec:
|
||||
{{- end }}
|
||||
selector:
|
||||
app: {{ template "fullname" . }}
|
||||
chart: "{{ .Chart.Name }}-{{ .Chart.Version }}"
|
||||
release: "{{ .Release.Name }}"
|
||||
|
||||
Reference in New Issue
Block a user