Skip to content

Commit

Permalink
Merge pull request #307 from mintel/fix-selector
Browse files Browse the repository at this point in the history
Fix basic-config template for Service selector
  • Loading branch information
jtdoepke authored Jan 13, 2024
2 parents be0f81f + a446952 commit 574f387
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 3 deletions.
4 changes: 4 additions & 0 deletions charts/basic-config/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

## [v0.3.1] - 2024-01-12
### Fixed
- Fix template for Service selector

## [v0.3.0] - 2023-06-28
### Removed
- Remove `helm.sh/chart` annotation from all remaining manifests.
Expand Down
2 changes: 1 addition & 1 deletion charts/basic-config/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,4 @@ type: application
# 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.
# Versions are expected to follow Semantic Versioning (https://semver.org/)
version: 0.3.0
version: 0.3.1
2 changes: 1 addition & 1 deletion charts/basic-config/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# basic-config

![Version: 0.3.0](https://img.shields.io/badge/Version-0.3.0-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square)
![Version: 0.3.1](https://img.shields.io/badge/Version-0.3.1-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square)

A Helm chart for defining basic k8s configuration res

Expand Down
2 changes: 1 addition & 1 deletion charts/basic-config/templates/service.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,5 @@ spec:
clusterIP: None
{{- end }}
type: {{ .Values.service.type }}
selector: {{ (toYaml .Values.service.selectorLabelsOverride | nindent 6) | default (include "mintel_common.selectorLabels" .) }}
selector: {{ toYaml .Values.service.selectorLabelsOverride | default (include "mintel_common.selectorLabels" .) | nindent 6 }}
{{- end }}

0 comments on commit 574f387

Please sign in to comment.