Skip to content

Commit

Permalink
readme and examples
Browse files Browse the repository at this point in the history
  • Loading branch information
rigazilla committed Jan 18, 2024
1 parent b161960 commit 1279399
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 3 deletions.
2 changes: 2 additions & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ All PRs that require modifications to the `README.md` or `values.schema.json` fi
The `brand.sh` script should then be executed using the upstream properties, i.e. `./brand.sh infinispan.conf`, and all
modified `*.tpl`, `*.md` and `*.json` files added to the commit.

All PRs that require modifications to the `values.yaml` or `test/tls_values.yaml.yq` must run `./build_examples.sh` to rebuild all the examples.

# Creating a Release
1. Update `Chart.yaml`
- `.version` should be set to the version of the chart released
Expand Down
7 changes: 4 additions & 3 deletions README-tls.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
## Deploy a TLS cluster with HELM
## Quickstart: deploy a TLS cluster with HELM

kubectl apply -f tls_secret.yaml<br>
helm install -f values-tls.yaml infinispan .
kubectl apply -f test/tls_secret.yaml<br>
kubectl apply -f test/transport_tls_secret.yaml<br>
helm install -f test/tls_values.yaml infinispan .
11 changes: 11 additions & 0 deletions build_examples.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
#!/bin/bash

yq --version | grep "yq (https://github.com/mikefarah/yq/) version v4.35.1"

if [ $? -eq 0 ]
then
yq ea 'select(fileIndex == 0) * select(fileIndex == 1)' values.yaml test/tls_values.yaml.yq > test/tls_values.yaml
else
echo "ERROR: yq behaviour is strongly depended from version"
echo " yq --version must match 'yq (https://github.com/mikefarah/yq/) version v4.35.1'"
fi

0 comments on commit 1279399

Please sign in to comment.