mirror of
https://github.com/k8s-at-home/charts.git
synced 2025-01-23 23:49:12 +00:00
[bitwardenrs] Fix Ingress API version (#795)
* fix: dot context in template Signed-off-by: Waldemar Faist <cubic@coldice.net> * docs: regenerate Signed-off-by: Waldemar Faist <cubic@coldice.net> * build: bump version Signed-off-by: Waldemar Faist <cubic@coldice.net>
This commit is contained in:
parent
b4cc349fcc
commit
4976fa0801
@ -2,7 +2,7 @@ apiVersion: v2
|
||||
name: bitwardenrs
|
||||
description: Unofficial Bitwarden compatible server written in Rust
|
||||
type: application
|
||||
version: 2.1.7
|
||||
version: 2.1.8
|
||||
appVersion: 1.18.0
|
||||
keywords:
|
||||
- bitwarden
|
||||
|
@ -1,6 +1,6 @@
|
||||
# bitwardenrs
|
||||
|
||||
![Version: 2.1.5](https://img.shields.io/badge/Version-2.1.5-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 1.18.0](https://img.shields.io/badge/AppVersion-1.18.0-informational?style=flat-square)
|
||||
![Version: 2.1.8](https://img.shields.io/badge/Version-2.1.8-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 1.18.0](https://img.shields.io/badge/AppVersion-1.18.0-informational?style=flat-square)
|
||||
|
||||
Unofficial Bitwarden compatible server written in Rust
|
||||
|
||||
|
@ -2,9 +2,10 @@
|
||||
{{- $fullName := include "bitwardenrs.fullname" . -}}
|
||||
{{- $svcPort := .Values.service.port -}}
|
||||
{{- $websockets := .Values.bitwardenrs.websockets -}}
|
||||
{{- if semverCompare "<1.14-0" .Capabilities.KubeVersion.GitVersion -}}
|
||||
{{- $apiVersion := .Capabilities.KubeVersion.GitVersion -}}
|
||||
{{- if semverCompare "<1.14-0" $apiVersion -}}
|
||||
apiVersion: extensions/v1beta1
|
||||
{{- else if semverCompare "<1.19-0" .Capabilities.KubeVersion.GitVersion -}}
|
||||
{{- else if semverCompare "<1.19-0" $apiVersion -}}
|
||||
apiVersion: networking.k8s.io/v1beta1
|
||||
{{- else -}}
|
||||
apiVersion: networking.k8s.io/v1
|
||||
@ -36,7 +37,7 @@ spec:
|
||||
paths:
|
||||
{{- range .paths }}
|
||||
- path: {{ . }}
|
||||
{{- if semverCompare ">=1.19-0" .Capabilities.KubeVersion.GitVersion }}
|
||||
{{- if semverCompare ">=1.19-0" $apiVersion }}
|
||||
pathType: Prefix
|
||||
backend:
|
||||
service:
|
||||
@ -51,7 +52,7 @@ spec:
|
||||
|
||||
{{- if $websockets.enabled }}
|
||||
- path: {{ . | trimSuffix "/" }}/notifications/hub
|
||||
{{- if semverCompare ">=1.19-0" .Capabilities.KubeVersion.GitVersion }}
|
||||
{{- if semverCompare ">=1.19-0" $apiVersion }}
|
||||
pathType: Prefix
|
||||
backend:
|
||||
service:
|
||||
@ -63,7 +64,7 @@ spec:
|
||||
serviceName: {{ $fullName }}
|
||||
servicePort: {{ $websockets.port }}
|
||||
- path: {{ . | trimSuffix "/" }}/notifications/hub/negotiate
|
||||
{{- if semverCompare ">=1.19-0" .Capabilities.KubeVersion.GitVersion }}
|
||||
{{- if semverCompare ">=1.19-0" $apiVersion }}
|
||||
pathType: Prefix
|
||||
backend:
|
||||
service:
|
||||
|
Loading…
Reference in New Issue
Block a user