Skip to content
This repository was archived by the owner on Feb 22, 2022. It is now read-only.

Commit 98b48cb

Browse files
mostafahusseink8s-ci-robot
authored andcommitted
add selector matchLabels (#7441)
* add selector matchLabels Signed-off-by: Mostafa Hussein <[email protected]> * remove immutable label from selector Signed-off-by: Adnan Abdulhussein <[email protected]> * bump chart version Signed-off-by: Adnan Abdulhussein <[email protected]>
1 parent eb54bc8 commit 98b48cb

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

stable/mongodb/Chart.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
name: mongodb
2-
version: 4.3.0
2+
version: 4.3.1
33
appVersion: 4.0.2
44
description: NoSQL document-oriented database that stores JSON-like documents with dynamic schemas, simplifying the integration of data in content-driven applications.
55
keywords:

stable/mongodb/templates/deployment-standalone.yaml

+4-1
Original file line numberDiff line numberDiff line change
@@ -9,12 +9,15 @@ metadata:
99
release: "{{ .Release.Name }}"
1010
heritage: "{{ .Release.Service }}"
1111
spec:
12+
selector:
13+
matchLabels:
14+
app: {{ template "mongodb.name" . }}
15+
release: "{{ .Release.Name }}"
1216
template:
1317
metadata:
1418
labels:
1519
app: {{ template "mongodb.name" . }}
1620
release: "{{ .Release.Name }}"
17-
chart: {{ template "mongodb.chart" . }}
1821
spec:
1922
{{- if .Values.securityContext.enabled }}
2023
securityContext:

0 commit comments

Comments
 (0)