mirror of
https://github.com/k8s-at-home/charts.git
synced 2025-01-24 07:59:02 +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
|
name: bitwardenrs
|
||||||
description: Unofficial Bitwarden compatible server written in Rust
|
description: Unofficial Bitwarden compatible server written in Rust
|
||||||
type: application
|
type: application
|
||||||
version: 2.1.7
|
version: 2.1.8
|
||||||
appVersion: 1.18.0
|
appVersion: 1.18.0
|
||||||
keywords:
|
keywords:
|
||||||
- bitwarden
|
- bitwarden
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
# bitwardenrs
|
# 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
|
Unofficial Bitwarden compatible server written in Rust
|
||||||
|
|
||||||
|
@ -2,9 +2,10 @@
|
|||||||
{{- $fullName := include "bitwardenrs.fullname" . -}}
|
{{- $fullName := include "bitwardenrs.fullname" . -}}
|
||||||
{{- $svcPort := .Values.service.port -}}
|
{{- $svcPort := .Values.service.port -}}
|
||||||
{{- $websockets := .Values.bitwardenrs.websockets -}}
|
{{- $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
|
apiVersion: extensions/v1beta1
|
||||||
{{- else if semverCompare "<1.19-0" .Capabilities.KubeVersion.GitVersion -}}
|
{{- else if semverCompare "<1.19-0" $apiVersion -}}
|
||||||
apiVersion: networking.k8s.io/v1beta1
|
apiVersion: networking.k8s.io/v1beta1
|
||||||
{{- else -}}
|
{{- else -}}
|
||||||
apiVersion: networking.k8s.io/v1
|
apiVersion: networking.k8s.io/v1
|
||||||
@ -36,7 +37,7 @@ spec:
|
|||||||
paths:
|
paths:
|
||||||
{{- range .paths }}
|
{{- range .paths }}
|
||||||
- path: {{ . }}
|
- path: {{ . }}
|
||||||
{{- if semverCompare ">=1.19-0" .Capabilities.KubeVersion.GitVersion }}
|
{{- if semverCompare ">=1.19-0" $apiVersion }}
|
||||||
pathType: Prefix
|
pathType: Prefix
|
||||||
backend:
|
backend:
|
||||||
service:
|
service:
|
||||||
@ -51,7 +52,7 @@ spec:
|
|||||||
|
|
||||||
{{- if $websockets.enabled }}
|
{{- if $websockets.enabled }}
|
||||||
- path: {{ . | trimSuffix "/" }}/notifications/hub
|
- path: {{ . | trimSuffix "/" }}/notifications/hub
|
||||||
{{- if semverCompare ">=1.19-0" .Capabilities.KubeVersion.GitVersion }}
|
{{- if semverCompare ">=1.19-0" $apiVersion }}
|
||||||
pathType: Prefix
|
pathType: Prefix
|
||||||
backend:
|
backend:
|
||||||
service:
|
service:
|
||||||
@ -63,7 +64,7 @@ spec:
|
|||||||
serviceName: {{ $fullName }}
|
serviceName: {{ $fullName }}
|
||||||
servicePort: {{ $websockets.port }}
|
servicePort: {{ $websockets.port }}
|
||||||
- path: {{ . | trimSuffix "/" }}/notifications/hub/negotiate
|
- path: {{ . | trimSuffix "/" }}/notifications/hub/negotiate
|
||||||
{{- if semverCompare ">=1.19-0" .Capabilities.KubeVersion.GitVersion }}
|
{{- if semverCompare ">=1.19-0" $apiVersion }}
|
||||||
pathType: Prefix
|
pathType: Prefix
|
||||||
backend:
|
backend:
|
||||||
service:
|
service:
|
||||||
|
Loading…
Reference in New Issue
Block a user