Skip to content

Commit

Permalink
fix(tpl): fix logic in tpl (#1668)
Browse files Browse the repository at this point in the history
* fix(common): fix login in portal path

* fix(authelia): fix logic in configmap

* fix(traefik): fix logic in args.tpl

* fix(prometheus): fix login in clusterrolebinding.yaml

* fix(prometheus): fix logic in clusterrole.yaml

* fix(common): fix logic in wireguard's container.tpl

* bump patch common

* bump patch authelia

* bump patch prometheus

* bump patch traefik
  • Loading branch information
stavros-k committed Jan 9, 2022
1 parent 8c1164b commit 29ce3e1
Show file tree
Hide file tree
Showing 10 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion charts/core/prometheus/Chart.yaml
Expand Up @@ -28,7 +28,7 @@ sources:
- https://github.com/prometheus-community/helm-charts
- https://github.com/prometheus-operator/kube-prometheus
type: application
version: 1.1.35
version: 1.1.36
annotations:
truecharts.org/catagories: |
- metrics
Expand Down
@@ -1,4 +1,4 @@
{{- if and .Values.prometheus.enabled -}}
{{- if .Values.prometheus.enabled -}}
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRole
metadata:
Expand Down
@@ -1,4 +1,4 @@
{{- if and .Values.prometheus.enabled }}
{{- if .Values.prometheus.enabled }}
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRoleBinding
metadata:
Expand Down
2 changes: 1 addition & 1 deletion charts/core/traefik/Chart.yaml
Expand Up @@ -22,7 +22,7 @@ sources:
- https://github.com/traefik/traefik-helm-chart
- https://traefik.io/
type: application
version: 10.0.33
version: 10.0.34
annotations:
truecharts.org/catagories: |
- network
Expand Down
2 changes: 1 addition & 1 deletion charts/core/traefik/templates/_args.tpl
Expand Up @@ -48,7 +48,7 @@ args:
{{- end }}
{{- if .Values.providers.kubernetesIngress.enabled }}
- "--providers.kubernetesingress"
{{- if and .Values.providers.kubernetesIngress.publishedService.enabled }}
{{- if .Values.providers.kubernetesIngress.publishedService.enabled }}
- "--providers.kubernetesingress.ingressendpoint.publishedservice={{ template "providers.kubernetesIngress.publishedServicePath" . }}"
{{- end }}
{{- if .Values.providers.kubernetesIngress.labelSelector }}
Expand Down
2 changes: 1 addition & 1 deletion charts/library/common/Chart.yaml
Expand Up @@ -15,4 +15,4 @@ maintainers:
name: common
sources: null
type: library
version: 8.10.2
version: 8.10.3
Expand Up @@ -53,7 +53,7 @@ env:
volumeMounts:
- mountPath: {{ .Values.persistence.shared.mountPath }}
name: shared
{{- if or .Values.addons.vpn.configFile }}
{{- if .Values.addons.vpn.configFile }}
- name: vpnconfig
mountPath: /etc/wireguard/wg0.conf
{{- end }}
Expand Down
2 changes: 1 addition & 1 deletion charts/library/common/templates/configmaps/_portal.tpl
Expand Up @@ -69,7 +69,7 @@
{{- $host = .Values.portal.host }}
{{- end }}

{{- if and ( .Values.portal.path ) }}
{{- if .Values.portal.path }}
{{- $path = .Values.portal.path }}
{{- end }}

Expand Down
2 changes: 1 addition & 1 deletion charts/stable/authelia/Chart.yaml
Expand Up @@ -38,7 +38,7 @@ sources:
- https://github.com/authelia/chartrepo
- https://github.com/authelia/authelia
type: application
version: 8.0.23
version: 8.0.24
annotations:
truecharts.org/catagories: |
- security
Expand Down
2 changes: 1 addition & 1 deletion charts/stable/authelia/templates/_configmap.tpl
Expand Up @@ -18,7 +18,7 @@ data:
AUTHELIA_NOTIFIER_SMTP_PASSWORD_FILE: "/secrets/SMTP_PASSWORD"
{{- end }}
AUTHELIA_SESSION_REDIS_PASSWORD_FILE: "/secrets/REDIS_PASSWORD"
{{- if and .Values.redisProvider.high_availability.enabled}}
{{- if .Values.redisProvider.high_availability.enabled }}
AUTHELIA_SESSION_REDIS_HIGH_AVAILABILITY_SENTINEL_PASSWORD_FILE: "/secrets/REDIS_SENTINEL_PASSWORD"
{{- end }}
{{- if .Values.duo_api.enabled }}
Expand Down

0 comments on commit 29ce3e1

Please sign in to comment.