Skip to content

Commit

Permalink
Merge branch 'main' into karpenter-0.2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
hiteshmakol1 authored Jan 13, 2025
2 parents 025f953 + 57fbc49 commit 14853a5
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 28 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/lint-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,14 +8,14 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
fetch-depth: 0

- name: Install Helm
uses: azure/setup-helm@v3
with:
version: v3.5.4
version: v3.16.2

- uses: actions/setup-python@v4
with:
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/linter.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,3 +25,4 @@ jobs:
VALIDATE_YAML: false
DEFAULT_BRANCH: main
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
FILTER_REGEX_EXCLUDE: .*(README\.md|NOTES.txt).*
32 changes: 14 additions & 18 deletions .github/workflows/test-charts.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,9 @@ jobs:

steps:
- name: Check out code
uses: actions/checkout@v2
uses: actions/checkout@v4
with:
fetch-depth: 0

- name: Create k8s Kind Cluster
uses: helm/[email protected]
Expand All @@ -18,24 +20,18 @@ jobs:
- name: Install Helm
uses: azure/setup-helm@v3
with:
version: v3.5.4
version: v3.16.2

- name: Install yq
run: |
sudo snap install yq
- name: Set up chart-testing
uses: helm/[email protected]

- uses: actions/setup-python@v4
with:
python-version: '3.9'
check-latest: true

- name: Install and test Redis Related Helm charts
- name: Install and test Helm charts
run: |
kubectl cluster-info --context kind-kind
chart_dirs=("redis-operator" "redis" "redis-cluster" "redis-replication" "redis-sentinel")
for dir in "${chart_dirs[@]}"
do
if [[ -f ./charts/$dir/Chart.yaml ]]; then
helm dependency update ./charts/$dir/
fi
chart_version=$(yq e .version ./charts/$dir/Chart.yaml)
echo "Installing $dir chart with version $chart_version..."
helm install $dir ./charts/$dir/
helm test $dir
done
echo "Listing installed Helm charts..."
changed=$(ct list-changed --config ct.yaml)
ct install --config ct.yaml
8 changes: 0 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,14 +14,6 @@ helm repo add ot-helm https://ot-container-kit.github.io/helm-charts

You can then run `helm search repo ot-helm` to see the charts.

### Helm Charts List

Currently supported helm charts are:-

- [Redis Operator](./charts/redis-operator)
- [Redis Standalone](./charts/redis)
- [Redis Cluster](./charts/redis-cluster)
- [K8s Vault Webhook](./charts/k8s-vault-webhook)

### Pre-Requisities

Expand Down

0 comments on commit 14853a5

Please sign in to comment.