Skip to content

Commit

Permalink
Update chart (triggered by operator helm release 0.1.35)
Browse files Browse the repository at this point in the history
Repository: SAP/project-operator-helm
Release: 0.1.35
Commit: eb5c7ddcd835e1e4cca4bb9035c69464473b5732
  • Loading branch information
ERP4SME-DevOps-GitHub-Workflow-User committed Apr 23, 2024
1 parent ca48756 commit c19eb07
Show file tree
Hide file tree
Showing 6 changed files with 44 additions and 37 deletions.
2 changes: 1 addition & 1 deletion pkg/operator/data/charts/project-operator/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@ apiVersion: v2
name: project-operator
description: A Helm chart for https://github.com/sap/project-operator
type: application
version: 0.1.34
version: 0.1.35
appVersion: v0.1.30
7 changes: 4 additions & 3 deletions pkg/operator/data/charts/project-operator/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# project-operator

![Version: 0.1.34](https://img.shields.io/badge/Version-0.1.34-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: v0.1.30](https://img.shields.io/badge/AppVersion-v0.1.30-informational?style=flat-square)
![Version: 0.1.35](https://img.shields.io/badge/Version-0.1.35-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: v0.1.30](https://img.shields.io/badge/AppVersion-v0.1.30-informational?style=flat-square)

A Helm chart for https://github.com/sap/project-operator

Expand Down Expand Up @@ -38,8 +38,9 @@ A Helm chart for https://github.com/sap/project-operator
| adminClusterRole | string | `""` | Cluster role to be granted to admin members on the project namespace (if empty, the operator default will be used) |
| viewerClusterRole | string | `""` | Cluster role to be granted to viewer members on the project namespace (if empty, the operator default will be used) |
| enableClusterView | bool | `false` | Automatically grant cluster view privileges to all members of the project |
| monitoring.enabled | bool | `false` | Enable montoring (requires prometheus-operator) |
| monitoring.rules | list | `[]` | Prometheus operator (record or alert) rules |
| metrics.podMonitor.enabled | bool | `false` | Whether to create a PodMonitor resource |
| metrics.prometheusRule.enabled | bool | `false` | Whether to create a PrometheusRule resource |
| metrics.prometheusRule.rules | list | `[]` | PrometheusRule rules |

----------------------------------------------
Autogenerated from chart metadata using [helm-docs v1.11.0](https://github.com/norwoodj/helm-docs/releases/v1.11.0)

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
{{- if .Values.metrics.podMonitor.enabled }}
apiVersion: monitoring.coreos.com/v1
kind: PodMonitor
metadata:
name: {{ include "project-operator.fullname" . }}
labels:
{{- include "project-operator.labels" . | nindent 4 }}
spec:
namespaceSelector:
matchNames:
- {{ .Release.Namespace }}
selector:
matchLabels:
{{- include "project-operator.selectorLabels" . | nindent 6 }}
podMetricsEndpoints:
- port: metrics
{{- end }}
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
{{- if and .Values.metrics.prometheusRule.enabled .Values.metrics.prometheusRule.rules }}
apiVersion: monitoring.coreos.com/v1
kind: PrometheusRule
metadata:
name: {{ include "project-operator.fullname" . }}
labels:
{{- include "project-operator.labels" . | nindent 4 }}
spec:
groups:
- name: {{ include "project-operator.name" . }}-alerts
rules:
{{- toYaml .Values.metrics.prometheusRule.rules | nindent 4 }}
{{- end }}
14 changes: 9 additions & 5 deletions pkg/operator/data/charts/project-operator/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -66,8 +66,12 @@ adminClusterRole: ""
viewerClusterRole: ""
# -- Automatically grant cluster view privileges to all members of the project
enableClusterView: false
monitoring:
# -- Enable montoring (requires prometheus-operator)
enabled: false
# -- Prometheus operator (record or alert) rules
rules: []
metrics:
podMonitor:
# -- Whether to create a PodMonitor resource
enabled: false
prometheusRule:
# -- Whether to create a PrometheusRule resource
enabled: false
# -- PrometheusRule rules
rules: []

0 comments on commit c19eb07

Please sign in to comment.