Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Imeplemented the Grafana dashboard as a dependency #225

Merged
merged 11 commits into from
Mar 24, 2024
12 changes: 9 additions & 3 deletions .github/actions/deploy-operator/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,12 @@ runs:
steps:
- name: Deploy the operator
shell: bash
run: |
helm upgrade --install cnpg --namespace cnpg-system \
--create-namespace charts/cloudnative-pg --wait
run:
helm dependency update charts/cloudnative-pg

helm upgrade
--install
--namespace cnpg-system
--create-namespace
--wait
cnpg charts/cloudnative-pg
phisco marked this conversation as resolved.
Show resolved Hide resolved
2 changes: 1 addition & 1 deletion .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,4 +37,4 @@ jobs:

- name: Run chart-testing (lint)
run: |
ct lint --target-branch=main --check-version-increment=false
ct lint --chart-repos cnpg-grafana=https://cloudnative-pg.github.io/grafana-dashboards --target-branch=main --check-version-increment=false
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# Ignore Helm subcharts
charts/**/charts/*.tgz

# Binaries for programs and plugins
*.exe
*.exe~
Expand Down
6 changes: 6 additions & 0 deletions charts/cloudnative-pg/Chart.lock
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
dependencies:
- name: cluster
repository: https://cloudnative-pg.github.io/grafana-dashboards
version: 0.0.1
digest: sha256:f2055d3b9f52be6989a8285cb736ec555f91f133791382787f4beb4387175ca0
generated: "2024-03-23T16:27:46.965208992+02:00"
6 changes: 6 additions & 0 deletions charts/cloudnative-pg/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -36,3 +36,9 @@ home: https://cloudnative-pg.io
maintainers:
- name: phisco
email: [email protected]
dependencies:
- name: cluster
alias: monitoring
condition: monitoring.grafanaDashboard.create
version: "0.0"
repository: https://cloudnative-pg.github.io/grafana-dashboards
12 changes: 10 additions & 2 deletions charts/cloudnative-pg/README.md

Large diffs are not rendered by default.

Loading
Loading