Fix problem of lack of matchlabels

The lack of matchlabels will cause install to fail.

Change-Id: I5e1065b41692206018f94de1668cb0ad13d49aee
This commit is contained in:
jinyuanliu 2021-06-09 16:04:00 +08:00 committed by Wenping Song
parent 9ae088ec67
commit 770f97d921
3 changed files with 5 additions and 1 deletions

View File

@ -15,7 +15,7 @@ appVersion: 5.11.1
description: OpenStack-Helm Artifactory
home: https://opendev.org/openstack/openstack-helm-addons
name: artifactory
version: 0.1.2
version: 0.1.3
sources:
- https://opendev.org/openstack/openstack-helm-addons
maintainers:

View File

@ -22,6 +22,9 @@ metadata:
spec:
serviceName: artifactory
replicas: 1
selector:
matchLabels:
{{ tuple $envAll "artifactory" "server" | include "helm-toolkit.snippets.kubernetes_metadata_labels" | indent 6 }}
template:
metadata:
labels:

View File

@ -3,3 +3,4 @@ artifactory:
- 0.1.0 Initial Chart
- 0.1.1 Change helm-toolkit dependency version to ">= 0.1.0"
- 0.1.2 Fix helm3 linting issue
- 0.1.3 Fix problem of lack of matchlabels