Skip to content

Commit 33e332b

Browse files
committed
fix: common chart not always released
1 parent d0e471a commit 33e332b

2 files changed

Lines changed: 0 additions & 17 deletions

File tree

.github/workflows/test-and-release.yml

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -100,13 +100,6 @@ jobs:
100100
changed_charts=("${charts_dirs[@]}")
101101
fi
102102
103-
# Always include common so it is always built and released (avoids index
104-
# pointing to common-1.0.0 release that was never created when common wasn't "changed")
105-
if [[ " ${changed_charts[*]} " != *" common "* ]] && [[ -d "charts/common" ]]; then
106-
echo "📌 Including common so release and tgz always exist for index"
107-
changed_charts+=("common")
108-
fi
109-
110103
echo "Final charts to process: ${changed_charts[@]}"
111104
112105
# Create JSON output

charts/common/templates/_helpers.tpl

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -162,13 +162,3 @@ Usage: {{ include "common.configChecksum" (dict "configMap" "my-config" "context
162162
{{- $ctx := .context -}}
163163
checksum/config: {{ include (printf "%s" $configMapName) $ctx | sha256sum }}
164164
{{- end }}
165-
166-
{{/*
167-
Generate a secret checksum for pod restart on secret change
168-
Usage: {{ include "common.secretChecksum" (dict "secret" "my-secret" "context" .) }}
169-
*/}}
170-
{{- define "common.secretChecksum" -}}
171-
{{- $secretName := .secret -}}
172-
{{- $ctx := .context -}}
173-
checksum/secret: {{ include (printf "%s" $secretName) $ctx | sha256sum }}
174-
{{- end }}

0 commit comments

Comments
 (0)