From 490e690e09b30fdc51c5d1544d4b20fc8bb86994 Mon Sep 17 00:00:00 2001 From: Christopher Homberger Date: Tue, 8 Apr 2025 16:03:48 +0000 Subject: [PATCH] refactor: remove unused secretName template variable (#12) ### Description of the change Removes unused variable in template, does not change existing behavior Reviewed-on: https://gitea.com/gitea/helm-actions/pulls/12 Reviewed-by: Lunny Xiao Co-authored-by: Christopher Homberger Co-committed-by: Christopher Homberger --- templates/rolebinding-job.yaml | 1 - 1 file changed, 1 deletion(-) diff --git a/templates/rolebinding-job.yaml b/templates/rolebinding-job.yaml index f88cea6..881a1fa 100644 --- a/templates/rolebinding-job.yaml +++ b/templates/rolebinding-job.yaml @@ -1,7 +1,6 @@ {{- if .Values.enabled }} {{- if and (and .Values.provisioning.enabled .Values.persistence.enabled) .Values.persistence.mount }} {{- $name := include "gitea.workername" (dict "global" . "worker" "actions-token-job") }} -{{- $secretName := include "gitea.workername" (dict "global" . "worker" "actions-token") }} --- apiVersion: rbac.authorization.k8s.io/v1 kind: RoleBinding