Skip to content

Commit ce5c550

Browse files
authored
Bugfix/lint workflow (CloudPirates-io#363)
* Fix invalid caching in github workflow * fix invalid testing script * Fix unit tests yet again
1 parent bbf7bd5 commit ce5c550

File tree

3 files changed

+8
-3
lines changed

3 files changed

+8
-3
lines changed

.github/workflows/pull-request.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -168,10 +168,10 @@ jobs:
168168
UPSTREAM_REPO="CloudPirates-io/helm-charts"
169169
echo "Fetching tags from upstream: ${UPSTREAM_REPO}"
170170
git remote add upstream https://github.com/${UPSTREAM_REPO}.git || true
171-
git fetch upstream --tags
171+
git fetch upstream --tags --force
172172
173173
# Also fetch tags from origin (the fork/current repo)
174-
git fetch origin --tags || true
174+
git fetch origin --tags --force || true
175175
176176
# List all tags for debugging
177177
echo "Available tags:"

charts/clusterpirate/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ apiVersion: v2
22
name: clusterpirate
33
description: Client agent for the CloudPirates Managed Observability Platform to connect your Kubernetes cluster to our infrastructure
44
type: application
5-
version: 1.1.0
5+
version: 1.1.1
66
appVersion: "1.0.1"
77

88
keywords:

charts/clusterpirate/templates/deployment.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -98,6 +98,7 @@ spec:
9898
configMapKeyRef:
9999
name: {{ include "clusterpirate.fullname" . }}
100100
key: valkeyTtl
101+
{{- if or .Values.valkey.enabled .Values.clusterPirate.metrics.cache.password }}
101102
- name: VALKEY_PASSWORD
102103
valueFrom:
103104
secretKeyRef:
@@ -114,6 +115,10 @@ spec:
114115
name: {{ include "clusterpirate.fullname" . }}
115116
key: valkeyPassword
116117
{{- end }}
118+
{{- else }}
119+
- name: VALKEY_PASSWORD
120+
value: ""
121+
{{- end }}
117122
- name: MONITORING_RESOURCE_EVENTS_ENABLED
118123
valueFrom:
119124
configMapKeyRef:

0 commit comments

Comments
 (0)