Skip to content

Commit 5088753

Browse files
committed
Add CONTRIBUTING.md
1 parent e57f1aa commit 5088753

File tree

1 file changed

+31
-0
lines changed

1 file changed

+31
-0
lines changed

CONTRIBUTING.md

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
Before submitting a pul request, I'd encourage you to test it yourself.
2+
3+
To do so, you need to run the plugin indirectly or directly-
4+
5+
**Indirect** Install the plugin locally and run it via helm:
6+
7+
```
8+
$ helm plugin uninstall diff
9+
10+
$ helm plugin list
11+
#=> Make sure that the previous installation of helm-diff has unisntalled
12+
13+
$ make install
14+
15+
$ helm plugin list
16+
#=> Make sure that the version of helm-diff built from your branch has instaled
17+
18+
$ helm diff upgrade ... (snip)
19+
```
20+
21+
**Direct** Build the plugin binary and execute it with a few helm-specific environment variables:
22+
23+
```
24+
$ go build .
25+
26+
$ HELM_NAMESPACE=default \
27+
HELM_BIN=helm372 \
28+
./helm-diff upgrade foo $CHART \
29+
--set argo-cd.nameOverride=testtest \
30+
--install
31+
```

0 commit comments

Comments
 (0)