Compare commits

..

1 Commits

Author SHA1 Message Date
6d54df8564 Update helm/chart-testing-action action to v2.8.0
Some checks failed
lint-and-test / lint-helm (pull_request) Failing after 15s
lint-and-test / chart-testing (pull_request) Failing after 52s
2025-12-17 23:11:03 +00:00
5 changed files with 9 additions and 11 deletions

View File

@@ -42,7 +42,7 @@ jobs:
python-version: '3.14' python-version: '3.14'
- name: Set up Chart Testing - name: Set up Chart Testing
uses: helm/chart-testing-action@v2.7.0 uses: helm/chart-testing-action@v2.8.0
with: with:
yamale_version: "6.0.0" yamale_version: "6.0.0"

View File

@@ -1,6 +1,6 @@
apiVersion: v2 apiVersion: v2
name: cloudflared name: cloudflared
version: 2.1.4 version: 2.1.0
description: Cloudflared Tunnel description: Cloudflared Tunnel
keywords: keywords:
- cloudflare - cloudflare

View File

@@ -1,6 +1,6 @@
# cloudflared # cloudflared
![Version: 2.1.4](https://img.shields.io/badge/Version-2.1.4-informational?style=flat-square) ![AppVersion: 2025.11.1](https://img.shields.io/badge/AppVersion-2025.11.1-informational?style=flat-square) ![Version: 2.1.0](https://img.shields.io/badge/Version-2.1.0-informational?style=flat-square) ![AppVersion: 2025.11.1](https://img.shields.io/badge/AppVersion-2025.11.1-informational?style=flat-square)
Cloudflared Tunnel Cloudflared Tunnel

View File

@@ -3,9 +3,9 @@ Generate the root name
*/}} */}}
{{- define "cloudflared.name" -}} {{- define "cloudflared.name" -}}
{{- if .Values.name }} {{- if .Values.name }}
{{- printf "%s-cloudflared" .Values.name -}} {{- printf "%s-%s-cloudflared" .Release.Name .Values.name -}}
{{- else }} {{- else }}
{{- printf "cloudflared" -}} {{- printf "%s-cloudflared" .Release.Name -}}
{{- end }} {{- end }}
{{- end }} {{- end }}
@@ -17,7 +17,7 @@ Generate the secret name
{{- if .Values.secret.externalSecret.nameOverride }} {{- if .Values.secret.externalSecret.nameOverride }}
{{- .Values.secret.externalSecret.nameOverride | trunc 63 | trimSuffix "-" }} {{- .Values.secret.externalSecret.nameOverride | trunc 63 | trimSuffix "-" }}
{{- else }} {{- else }}
{{- printf "%s-%s-secret" .Release.Name (include "cloudflared.name" .) -}} {{- printf "%s-secret" (include "cloudflared.name" .) -}}
{{- end }} {{- end }}
{{- else if .Values.secret.existingSecret.name }} {{- else if .Values.secret.existingSecret.name }}
{{- printf "%s" .Values.secret.existingSecret.name -}} {{- printf "%s" .Values.secret.existingSecret.name -}}
@@ -44,11 +44,7 @@ Generate path in the secret store
*/}} */}}
{{- define "secret.path" -}} {{- define "secret.path" -}}
{{- if and (.Values.secret.externalSecret.enabled) (.Values.secret.externalSecret.store.path) }} {{- if and (.Values.secret.externalSecret.enabled) (.Values.secret.externalSecret.store.path) }}
{{- if .Values.name }} {{- printf "%s/%s" .Values.secret.externalSecret.store.path .Release.Name -}}
{{- printf "%s/%s-%s" .Values.secret.externalSecret.store.path .Release.Name .Values.name -}}
{{- else }}
{{- printf "%s/%s" .Values.secret.externalSecret.store.path .Release.Name -}}
{{- end }}
{{- else }} {{- else }}
{{ fail "No Secret Store Path Found!" }} {{ fail "No Secret Store Path Found!" }}
{{- end }} {{- end }}

View File

@@ -1,9 +1,11 @@
{{- include "bjw-s.common.loader.init" . }} {{- include "bjw-s.common.loader.init" . }}
{{- define "cloudflared.hardcodedValues" -}} {{- define "cloudflared.hardcodedValues" -}}
{{ if not .Values.global.nameOverride }}
global: global:
nameOverride: {{ include "cloudflared.name" . }} nameOverride: {{ include "cloudflared.name" . }}
fullNameOverride: {{ include "cloudflared.name" . }} fullNameOverride: {{ include "cloudflared.name" . }}
{{ end }}
controllers: controllers:
main: main:
type: deployment type: deployment