Skip to content

Commit 5497e8c

Browse files
feat: add owner-info dependency to helm charts (#16)
Ref: https://github.com/sapcc/helm-charts/pkgs/container/helm-charts%2Fowner-info
1 parent 195bc79 commit 5497e8c

File tree

3 files changed

+18
-2
lines changed

3 files changed

+18
-2
lines changed

.github/workflows/test-chart.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -84,10 +84,11 @@ jobs:
8484
# kubectl wait --namespace monitoring --for=condition=available --timeout=300s deployment/prometheus-server
8585
- name: Install Helm chart for project
8686
run: |
87-
helm install my-release ./charts/network-operator --create-namespace --namespace network-operator-system
87+
helm dependency build ./charts/network-operator
88+
helm install network-operator ./charts/network-operator --create-namespace --namespace network-operator-system
8889
- name: Check Helm release status
8990
run: |
90-
helm status my-release --namespace network-operator-system
91+
helm status network-operator --namespace network-operator-system
9192
# TODO: Uncomment if prometheus.enabled is set to true to confirm that the ServiceMonitor gets created
9293
# - name: Check Presence of ServiceMonitor
9394
# run: |

charts/network-operator/Chart.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,3 +5,8 @@ type: application
55
version: 0.1.0
66
appVersion: "0.1.0"
77
icon: "https://example.com/icon.png"
8+
dependencies:
9+
# See: https://github.com/sapcc/helm-charts/pkgs/container/helm-charts%2Fowner-info
10+
- name: owner-info
11+
repository: oci://ghcr.io/sapcc/helm-charts
12+
version: 1.0.0

charts/network-operator/values.yaml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,3 +74,13 @@ certmanager:
7474
# [NETWORK POLICIES]: To enable NetworkPolicies set true
7575
networkPolicy:
7676
enable: false
77+
78+
owner-info:
79+
helm-chart-url: "https://github.com/ironcore-dev/network-operator/charts/network-operator"
80+
maintainers:
81+
82+
83+
84+
85+
support-group: "network-api"
86+
enabled: true

0 commit comments

Comments
 (0)