-
Notifications
You must be signed in to change notification settings - Fork 56
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Kingdon Barrett <[email protected]>
- Loading branch information
Showing
7 changed files
with
117 additions
and
52 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,7 +8,7 @@ annotations: | |
- name: Upstream Project | ||
url: https://github.com/controlplaneio-fluxcd/flux-operator | ||
apiVersion: v2 | ||
appVersion: v0.6.0 | ||
appVersion: v0.9.0 | ||
description: 'A Helm chart for deploying the Flux Operator. ' | ||
home: https://github.com/controlplaneio-fluxcd | ||
icon: https://raw.githubusercontent.com/cncf/artwork/main/projects/flux/icon/color/flux-icon-color.png | ||
|
@@ -18,13 +18,11 @@ keywords: | |
- gitops | ||
kubeVersion: '>=1.22.0-0' | ||
maintainers: | ||
- email: [email protected] | ||
name: Stefan Prodan | ||
- name: Soule Ba | ||
url: [email protected] | ||
- email: [email protected] | ||
name: ControlPlane Flux Team | ||
name: flux-operator | ||
sources: | ||
- https://github.com/controlplaneio-fluxcd/flux-operator | ||
- https://github.com/controlplaneio-fluxcd/charts | ||
type: application | ||
version: 0.6.0 | ||
version: 0.9.0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
31 changes: 31 additions & 0 deletions
31
packages/system/fluxcd-operator/charts/flux-operator/templates/servicemonitor.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
{{- if .Values.serviceMonitor.create }} | ||
apiVersion: monitoring.coreos.com/v1 | ||
kind: ServiceMonitor | ||
metadata: | ||
name: {{ include "flux-operator.fullname" . }} | ||
namespace: {{ .Release.Namespace }} | ||
labels: | ||
{{- include "flux-operator.labels" . | nindent 4 }} | ||
{{- with .Values.commonLabels }} | ||
{{- toYaml . | nindent 4 }} | ||
{{- end }} | ||
{{- with .Values.serviceMonitor.labels }} | ||
{{- toYaml . | nindent 4 }} | ||
{{- end }} | ||
{{- with .Values.commonAnnotations }} | ||
annotations: | ||
{{- toYaml . | nindent 4 }} | ||
{{- end }} | ||
spec: | ||
namespaceSelector: | ||
matchNames: | ||
- {{ .Release.Namespace | quote }} | ||
selector: | ||
matchLabels: | ||
{{- include "flux-operator.selectorLabels" . | nindent 6 }} | ||
endpoints: | ||
- targetPort: 8080 | ||
path: /metrics | ||
interval: {{ .Values.serviceMonitor.interval }} | ||
scrapeTimeout: {{ .Values.serviceMonitor.scrapeTimeout }} | ||
{{- end }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters