Skip to content

Commit af47999

Browse files
authored
feat(chart): Change template to allow prometheus integration config (#1113)
Signed-off-by: Javier Rodriguez <[email protected]>
1 parent 71918c5 commit af47999

File tree

4 files changed

+11
-2
lines changed

4 files changed

+11
-2
lines changed

deployment/chainloop/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ description: Chainloop is an open source software supply chain control plane, a
77

88
type: application
99
# Bump the patch (not minor, not major) version on each change in the Chart Source code
10-
version: 1.79.0
10+
version: 1.79.1
1111
# Do not update appVersion, this is handled automatically by the release process
1212
appVersion: v0.94.0
1313

deployment/chainloop/README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -532,6 +532,7 @@ chainloop config save \
532532
| `controlplane.referrerSharedIndex.allowedOrgs` | List of UUIDs of organizations that are allowed to publish to the shared index | `[]` |
533533
| `controlplane.onboarding.name` | Name of the organization to onboard | |
534534
| `controlplane.onboarding.role` | Role of the organization to onboard | |
535+
| `controlplane.prometheus_org_metrics` | List of organizations to expose metrics for using Prometheus | |
535536
| `controlplane.migration.image.registry` | Image registry | `ghcr.io` |
536537
| `controlplane.migration.image.repository` | Image repository | `chainloop-dev/chainloop/control-plane-migrations` |
537538
| `controlplane.migration.ssl` | Connect to the database using SSL (required fro AWS RDS, etc) | `false` |

deployment/chainloop/templates/controlplane/config.configmap.yaml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,4 +43,8 @@ data:
4343
{{ if .Values.controlplane.onboarding }}
4444
onboarding:
4545
{{- toYaml .Values.controlplane.onboarding | nindent 6 }}
46-
{{- end }}
46+
{{- end }}
47+
{{ if .Values.controlplane.prometheus_org_metrics }}
48+
prometheus_integration:
49+
{{- toYaml .Values.controlplane.prometheus_org_metrics | nindent 6 }}
50+
{{- end }}

deployment/chainloop/values.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -144,6 +144,10 @@ controlplane:
144144
# - name: "read-only-demo"
145145
# role: "MEMBERSHIP_ROLE_ORG_VIEWER"
146146

147+
## @extra controlplane.prometheus_org_metrics List of organizations to expose metrics for using Prometheus
148+
# prometheus_org_metrics:
149+
# - org_name: "read-only-demo"
150+
147151
# Database migration
148152
## @param controlplane.migration.image.registry Image registry
149153
## @param controlplane.migration.image.repository Image repository

0 commit comments

Comments
 (0)