Merge "Add app.kubernetes.io/name label to openstack pods"
This commit is contained in:
commit
5d81f0f5a4
@ -15,7 +15,7 @@ apiVersion: v1
|
|||||||
appVersion: v1.0.0
|
appVersion: v1.0.0
|
||||||
description: OpenStack-Helm Helm-Toolkit
|
description: OpenStack-Helm Helm-Toolkit
|
||||||
name: helm-toolkit
|
name: helm-toolkit
|
||||||
version: 0.2.76
|
version: 0.2.77
|
||||||
home: https://docs.openstack.org/openstack-helm
|
home: https://docs.openstack.org/openstack-helm
|
||||||
icon: https://www.openstack.org/themes/openstack/images/project-mascots/OpenStack-Helm/OpenStack_Project_OpenStackHelm_vertical.png
|
icon: https://www.openstack.org/themes/openstack/images/project-mascots/OpenStack-Helm/OpenStack_Project_OpenStackHelm_vertical.png
|
||||||
sources:
|
sources:
|
||||||
|
@ -40,6 +40,9 @@ return: |
|
|||||||
release_group: {{ $envAll.Values.release_group | default $envAll.Release.Name }}
|
release_group: {{ $envAll.Values.release_group | default $envAll.Release.Name }}
|
||||||
application: {{ $application }}
|
application: {{ $application }}
|
||||||
component: {{ $component }}
|
component: {{ $component }}
|
||||||
|
app.kubernetes.io/name: {{ $application }}
|
||||||
|
app.kubernetes.io/component: {{ $component }}
|
||||||
|
app.kubernetes.io/instance: {{ $envAll.Values.release_group | default $envAll.Release.Name }}
|
||||||
{{- if ($envAll.Values.pod).labels }}
|
{{- if ($envAll.Values.pod).labels }}
|
||||||
{{- if hasKey $envAll.Values.pod.labels $component }}
|
{{- if hasKey $envAll.Values.pod.labels $component }}
|
||||||
{{ index $envAll.Values.pod "labels" $component | toYaml }}
|
{{ index $envAll.Values.pod "labels" $component | toYaml }}
|
||||||
|
@ -83,4 +83,5 @@ helm-toolkit:
|
|||||||
- 0.2.74 Remove trailing slash in endpoinds
|
- 0.2.74 Remove trailing slash in endpoinds
|
||||||
- 0.2.75 Add daemonset_overrides_root util
|
- 0.2.75 Add daemonset_overrides_root util
|
||||||
- 0.2.76 update tookit to support fqdn alias
|
- 0.2.76 update tookit to support fqdn alias
|
||||||
|
- 0.2.77 Add recommended kubernetes name label to pods definition
|
||||||
...
|
...
|
||||||
|
Loading…
Reference in New Issue
Block a user