Skip to content
Snippets Groups Projects
Verified Commit afdb4b21 authored by Nik | Klampfradler's avatar Nik | Klampfradler
Browse files

[Chart] Fix service selectors for multiple linkups

parent 2f673112
No related branches found
No related tags found
No related merge requests found
Pipeline #46901 failed
...@@ -4,6 +4,12 @@ All notable changes to this project will be documented in this file. ...@@ -4,6 +4,12 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
## [2.2.1] - 2021-12-23
### Fixed
- \[Chart\] Fix service selectors for multiple linkups
## [2.2.0] - 2021-12-23 ## [2.2.0] - 2021-12-23
### Added ### Added
...@@ -64,6 +70,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ...@@ -64,6 +70,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
### Added ### Added
- Initial release - Initial release
[2.2.1]: https://edugit.org/AlekSIS/libs/k8s-linkup/-/tags/2.2.1
[2.2.0]: https://edugit.org/AlekSIS/libs/k8s-linkup/-/tags/2.2.0 [2.2.0]: https://edugit.org/AlekSIS/libs/k8s-linkup/-/tags/2.2.0
[2.1.3]: https://edugit.org/AlekSIS/libs/k8s-linkup/-/tags/2.1.3 [2.1.3]: https://edugit.org/AlekSIS/libs/k8s-linkup/-/tags/2.1.3
[2.1.2]: https://edugit.org/AlekSIS/libs/k8s-linkup/-/tags/2.1.2 [2.1.2]: https://edugit.org/AlekSIS/libs/k8s-linkup/-/tags/2.1.2
......
...@@ -11,8 +11,8 @@ annotations: ...@@ -11,8 +11,8 @@ annotations:
artifacthub.io/screenshots: | artifacthub.io/screenshots: |
- title: k8s-linkup running with OpenVPN backend in k9s - title: k8s-linkup running with OpenVPN backend in k9s
url: https://edugit.org/AlekSIS/libs/k8s-linkup/-/raw/master/screenshot.webp url: https://edugit.org/AlekSIS/libs/k8s-linkup/-/raw/master/screenshot.webp
artifacthub.io/changes: | artifacthub.io/changes:
- Allow configuration of timeouts per linkup and per port mapping - Fix service selectors for multiple linkups
# A chart can be either an 'application' or a 'library' chart. # A chart can be either an 'application' or a 'library' chart.
# #
...@@ -27,9 +27,9 @@ type: application ...@@ -27,9 +27,9 @@ type: application
# This is the chart version. This version number should be incremented each time you make changes # 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. # to the chart and its templates, including the app version.
# Versions are expected to follow Semantic Versioning (https://semver.org/) # Versions are expected to follow Semantic Versioning (https://semver.org/)
version: 2.2.0 version: 2.2.1
# This is the version number of the application being deployed. This version number should be # 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 # 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. # follow Semantic Versioning. They should reflect the version the application is using.
appVersion: 2.2.0 appVersion: 2.2.1
...@@ -17,6 +17,7 @@ spec: ...@@ -17,6 +17,7 @@ spec:
{{- toYaml . | nindent 8 }} {{- toYaml . | nindent 8 }}
{{- end }} {{- end }}
labels: labels:
aleksis.edugit.io/k8s-linkup-name: {{ .name }}
{{- include "k8s-linkup.selectorLabels" $ | nindent 8 }} {{- include "k8s-linkup.selectorLabels" $ | nindent 8 }}
spec: spec:
{{- with $.Values.imagePullSecrets }} {{- with $.Values.imagePullSecrets }}
......
...@@ -16,6 +16,7 @@ spec: ...@@ -16,6 +16,7 @@ spec:
name: {{ .name }} name: {{ .name }}
{{- end }} {{- end }}
selector: selector:
aleksis.edugit.io/k8s-linkup-name: {{ .name }}
{{- include "k8s-linkup.selectorLabels" $ | nindent 4 }} {{- include "k8s-linkup.selectorLabels" $ | nindent 4 }}
--- ---
{{- end }} {{- end }}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment