Skip to content

Commit 55f2755

Browse files
committed
🎨 Fix ci
1 parent cc88ab2 commit 55f2755

18 files changed

+25
-23
lines changed

.github/workflows/publish-helm.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,5 +21,7 @@ jobs:
2121
2222
- name: Run chart-releaser
2323
uses: helm/[email protected]
24+
with:
25+
charts_dir: charts
2426
env:
2527
CR_TOKEN: "${{ secrets.GITHUB_TOKEN }}"

GITHUB_ACTIONS.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -123,8 +123,8 @@ To customize the container build:
123123

124124
To customize the Helm chart publishing:
125125

126-
1. Modify `helm/Chart.yaml` for metadata
127-
2. Update `helm/values.yaml` for default values
126+
1. Modify `charts/slaking/Chart.yaml` for metadata
127+
2. Update `charts/slaking/values.yaml` for default values
128128
3. Add additional chart dependencies if needed
129129
4. Customize the GitHub Pages landing page in `setup-pages.yml`
130130

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ Before installing from the Helm repository, ensure the GitHub Pages repository i
3939
2. **Trigger Chart Release**:
4040
- The chart-releaser action will automatically run on pushes to `main`
4141
- It will create the `gh-pages` branch and publish the chart
42-
- You can manually trigger it by pushing changes to the `helm/` directory
42+
- You can manually trigger it by pushing changes to the `charts/slaking/` directory
4343

4444
3. **Verify Repository**:
4545
```bash
@@ -70,7 +70,7 @@ helm install slaking slaking/slaking \
7070
./helm-deploy.sh
7171

7272
# Manual Helm deployment from local chart
73-
helm install slaking ./helm \
73+
helm install slaking ./charts/slaking \
7474
--namespace slaking \
7575
--create-namespace \
7676
--set env.SLACK_TOKEN="xoxb-your-token" \
@@ -311,7 +311,7 @@ helm upgrade slaking slaking/slaking \
311311

312312
**Local Helm deployment:**
313313
```bash
314-
helm upgrade slaking ./helm \
314+
helm upgrade slaking ./charts/slaking \
315315
--namespace slaking \
316316
--set env.LOG_LEVEL=debug
317317
```
File renamed without changes.

helm/README.md renamed to charts/slaking/README.md

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -23,13 +23,13 @@ helm repo update
2323

2424
```bash
2525
# Install with default values
26-
helm install slaking ./helm
26+
helm install slaking ./
2727

2828
# Install with custom values
29-
helm install slaking ./helm --values values-production.yaml
29+
helm install slaking ./ --values values-production.yaml
3030

3131
# Install in a specific namespace
32-
helm install slaking ./helm --namespace slaking --create-namespace
32+
helm install slaking ./ --namespace slaking --create-namespace
3333
```
3434

3535
### 3. Using the Deployment Script
@@ -191,15 +191,15 @@ containerSecurityContext:
191191
### Basic Installation
192192

193193
```bash
194-
helm install slaking ./helm \
194+
helm install slaking ./ \
195195
--set env.SLACK_TOKEN="xoxb-your-token" \
196196
--set env.SLACK_DEFAULT_CHANNEL="#alerts"
197197
```
198198

199199
### Production Installation
200200

201201
```bash
202-
helm install slaking ./helm \
202+
helm install slaking ./ \
203203
--namespace slaking \
204204
--create-namespace \
205205
--values values-production.yaml \
@@ -211,7 +211,7 @@ helm install slaking ./helm \
211211
### Development Installation
212212

213213
```bash
214-
helm install slaking-dev ./helm \
214+
helm install slaking-dev ./ \
215215
--namespace development \
216216
--create-namespace \
217217
--set env.LOG_LEVEL=debug \
@@ -271,15 +271,15 @@ config:
271271
### Upgrade with New Values
272272

273273
```bash
274-
helm upgrade slaking ./helm \
274+
helm upgrade slaking ./ \
275275
--namespace slaking \
276276
--values values-production.yaml
277277
```
278278

279279
### Upgrade with Specific Values
280280

281281
```bash
282-
helm upgrade slaking ./helm \
282+
helm upgrade slaking ./ \
283283
--namespace slaking \
284284
--set image.tag="v1.1.0" \
285285
--set config.slack.defaultChannel="#new-alerts"
@@ -415,7 +415,7 @@ kubectl exec -n slaking <pod-name> -- env | grep SLACK
415415
Enable debug logging:
416416

417417
```bash
418-
helm upgrade slaking ./helm \
418+
helm upgrade slaking ./ \
419419
--namespace slaking \
420420
--set env.LOG_LEVEL=debug
421421
```
@@ -475,13 +475,13 @@ kubectl delete clusterrolebinding slaking-role-binding
475475

476476
```bash
477477
# Lint the chart
478-
helm lint ./helm
478+
helm lint ./
479479
480480
# Template the chart
481-
helm template slaking ./helm --values values-production.yaml
481+
helm template slaking ./ --values values-production.yaml
482482
483483
# Dry run installation
484-
helm install slaking ./helm --dry-run --debug --values values-production.yaml
484+
helm install slaking ./ --dry-run --debug --values values-production.yaml
485485
```
486486

487487
## Support
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)