Skip to content

Commit 72c4fb9

Browse files
committed
fix: disable appproject when no envs is configured in the project
1 parent b34c8c7 commit 72c4fb9

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

charts/dso-grafana/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ apiVersion: v2
22
name: dso-grafana
33
description: This Helm chart deploy Grafana instances and default dashboards for each projects read from values file.
44
type: application
5-
version: 1.4.0
5+
version: 1.4.1
66
dependencies:
77
- name: grafana-operator
88
repository: oci://ghcr.io/grafana/helm-charts

charts/dso-grafana/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# dso-grafana
22

3-
![Version: 1.4.0](https://img.shields.io/badge/Version-1.4.0-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square)
3+
![Version: 1.4.1](https://img.shields.io/badge/Version-1.4.1-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square)
44

55
This Helm chart deploy Grafana instances and default dashboards for each projects read from values file.
66

charts/dso-grafana/templates/custom_resources.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{{- range $project := default .Values.projects .Values.global.projects }}
2-
{{- if $project.projectRepository }}
2+
{{- if and $project.projectRepository $project.envs }}
33
apiVersion: argoproj.io/v1alpha1
44
kind: AppProject
55
metadata:

0 commit comments

Comments
 (0)