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

Commit

Permalink
[common] Release common 4.0.1 (#90)
Browse files Browse the repository at this point in the history
* fix: include custom ingress labels
  • Loading branch information
onedr0p authored Sep 15, 2021
1 parent 5a05c6c commit bfd8402
Show file tree
Hide file tree
Showing 5 changed files with 20 additions and 5 deletions.
2 changes: 1 addition & 1 deletion charts/stable/common/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ apiVersion: v2
name: common
description: Function library for k8s-at-home charts
type: library
version: 4.0.0
version: 4.0.1
kubeVersion: ">=1.16.0-0"
keywords:
- k8s-at-home
Expand Down
8 changes: 7 additions & 1 deletion charts/stable/common/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# common

![Version: 4.0.0](https://img.shields.io/badge/Version-4.0.0-informational?style=flat-square) ![Type: library](https://img.shields.io/badge/Type-library-informational?style=flat-square)
![Version: 4.0.1](https://img.shields.io/badge/Version-4.0.1-informational?style=flat-square) ![Type: library](https://img.shields.io/badge/Type-library-informational?style=flat-square)

Function library for k8s-at-home charts

Expand Down Expand Up @@ -211,6 +211,12 @@ All notable changes to this library Helm chart will be documented in this file.
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).

### [4.0.1]

#### Fixed

- Fixed an issue where users weren't able to set custom ingress labels.

### [4.0.0]

#### Added
Expand Down
6 changes: 6 additions & 0 deletions charts/stable/common/README_CHANGELOG.md.gotmpl
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,12 @@ All notable changes to this library Helm chart will be documented in this file.
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).

### [4.0.1]

#### Fixed

- Fixed an issue where users weren't able to set custom ingress labels.

### [4.0.0]

#### Added
Expand Down
3 changes: 3 additions & 0 deletions charts/stable/common/templates/classes/_ingress.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,9 @@ metadata:
name: {{ $ingressName }}
labels:
{{- include "common.labels" . | nindent 4 }}
{{- with $values.labels }}
{{- toYaml . | nindent 4 }}
{{- end }}
{{- with $values.annotations }}
annotations:
{{- toYaml . | nindent 4 }}
Expand Down
6 changes: 3 additions & 3 deletions charts/stable/common/templates/classes/_service.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,9 @@ metadata:
name: {{ $serviceName }}
labels:
{{- include "common.labels" . | nindent 4 }}
{{- if $values.labels }}
{{ toYaml $values.labels | nindent 4 }}
{{- end }}
{{- with $values.labels }}
{{- toYaml . | nindent 4 }}
{{- end }}
annotations:
{{- if eq ( $primaryPort.protocol | default "" ) "HTTPS" }}
traefik.ingress.kubernetes.io/service.serversscheme: https
Expand Down

0 comments on commit bfd8402

Please sign in to comment.