Skip to content

Commit 931fd8d

Browse files
reproduced
Signed-off-by: ivan katliarchuk <[email protected]>
1 parent ef8c2aa commit 931fd8d

File tree

7 files changed

+41
-2
lines changed

7 files changed

+41
-2
lines changed

Makefile

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,6 @@
66
DOCKER_HELM_UNITITEST_IMAGE := helmunittest/helm-unittest:3.16.1-0.6.3
77
LOCAL_UNIT_TEST := $(HOME)/source/self/go-workshop/helm-unittest-tmp/untt
88

9-
ISSUE := issue-497
10-
119
SUPPORTED := chart \
1210
issue-156 \
1311
issue-268 \
@@ -36,8 +34,11 @@ SUPPORTED := chart \
3634
issue-351 \
3735
issue-457 \
3836
issue-471 \
37+
issue-494 \
3938
issue-497
4039

40+
ISSUE := issue-494
41+
4142
FILTER_FOLDER := $(filter $(folder),$(SUPPORTED))
4243

4344
.PHONY: help

issue-494/Chart.yaml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
apiVersion: v2
2+
description: An example chart with customized subchart
3+
name: base64-decode-issue
4+
version: 0.1.0
5+
issueLink: https://github.com/helm-unittest/helm-unittest/issues/494
6+
supportedLinks:
7+
- https://github.com/helm-unittest/helm-unittest/issues/494

issue-494/README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# ISSUE 497
2+
3+
![reproduced stack trace](./assets/evidence.png)

issue-494/assets/evidence.png

412 KB
Loading

issue-494/templates/secret.yaml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
apiVersion: v1
2+
kind: Secret
3+
type: Opaque
4+
metadata:
5+
name: foo
6+
data:
7+
greeting: 'aGVsbG8K'
8+

issue-494/tests/secret_test.yaml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
suite: test wardend service
2+
templates:
3+
- secret.yaml
4+
tests:
5+
- it: should be "hello"
6+
asserts:
7+
- equal:
8+
path: data.greeting
9+
value: hello
10+
decodeBase64: true
11+
# value: 'aGVsbG8K'

issue-494/values.yaml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
hosts:
2+
- chart-example.local
3+
- chart-example.remote
4+
5+
hostsMap:
6+
- name: value0
7+
attribute: attribute0
8+
- name: value1
9+
attribute: attribute1

0 commit comments

Comments
 (0)