Skip to content

Commit

Permalink
fix(authelia): invalid semver compare (#67)
Browse files Browse the repository at this point in the history
  • Loading branch information
james-d-elliott authored May 11, 2021
1 parent d4c7619 commit fde08a6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion charts/authelia/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
apiVersion: v2
name: authelia
version: 0.4.4
version: 0.4.5
kubeVersion: ">= 1.13.0-0"
description: Authelia is a Single Sign-On Multi-Factor portal for web apps
type: application
Expand Down
2 changes: 1 addition & 1 deletion charts/authelia/templates/_helpers.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -537,7 +537,7 @@ Returns applicable Deployment API version
Deployment API Version Releases: apps/v1 in 1.9, apps/v1beta2 in 1.8, apps/v1beta1 prior.
*/}}
{{- define "capabilities.apiVersion.deployment" -}}
{{- if semverCompare .Capabilities.APIVersions.Has "apps/v1/Deployment" -}}
{{- if .Capabilities.APIVersions.Has "apps/v1/Deployment" -}}
{{- print "apps/v1" -}}
{{- else if .Capabilities.APIVersions.Has "apps/v1beta2/Deployment" -}}
{{- print "apps/v1beta2" -}}
Expand Down

0 comments on commit fde08a6

Please sign in to comment.