Skip to content

Commit

Permalink
Merge branch 'main' of github.com:rh-mobb/charts
Browse files Browse the repository at this point in the history
  • Loading branch information
paulczar committed May 30, 2024
2 parents ffb7870 + 9e69b79 commit a619782
Show file tree
Hide file tree
Showing 26 changed files with 239 additions and 347 deletions.
2 changes: 1 addition & 1 deletion charts/aro-clf-am/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: aro-clf-am
description: A Helm chart for Kubernetes

type: application
version: 0.1.1
version: 0.1.2

home: "https://rh-mobb.github.io/helm-charts/"

Expand Down
2 changes: 1 addition & 1 deletion charts/aro-clf-am/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ image:
repository: fluent/fluent-bit
pullPolicy: IfNotPresent
# Overrides the image tag whose default is the chart appVersion.
tag: 1.6
tag: 2.2

nameOverride: ""
fullnameOverride: ""
Expand Down
2 changes: 1 addition & 1 deletion charts/aro-machinesets/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: aro-machinesets
description: A Helm chart to configure machinesets for ARO
type: application

version: 0.4.0
version: 0.5.0
maintainers:
- name: paulczar
home: https://github.com/rh-mobb/helm-charts
3 changes: 3 additions & 0 deletions charts/aro-machinesets/templates/machineset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,9 @@ spec:
publicLoadBalancer: {{ $machineSetSpec.publicLoadBalancer }}
resourceGroup: {{ $machineSetSpec.resourceGroup }}
subnet: {{ $machineSetSpec.subnet }}
{{- if $machineSetSpec.tags }}
tags: {{ $machineSetSpec.tags | toYaml | nindent 12 }}
{{- end }}
userDataSecret:
name: worker-user-data
vmSize: {{ $.Values.vmSize }}
Expand Down
4 changes: 4 additions & 0 deletions charts/aro-machinesets/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,10 @@ machineSetSpec:
resourceGroup: aro-cddajpe1
subnet: aro-cluster-machine-subnet
vnet: aro-cluster-vnet
## uncomment to add tags on the vms
# tags:
# key1: value1
# key2: value2
## spotVMOptions - optionally declare spotVMOptions when setting enableSpot to true as described on
## https://docs.openshift.com/container-platform/4.12/machine_management/creating_machinesets/creating-machineset-azure.html#machineset-non-guaranteed-instance_creating-machineset-azure
# spotVMOptions:
Expand Down
5 changes: 2 additions & 3 deletions charts/aro-thanos-af/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,11 @@ apiVersion: v2
name: aro-thanos-af
description: A Helm chart for Kubernetes
type: application
version: 0.6.3
version: 0.7.0
dependencies:
- name: grafana-cr
version: "0.4.0"
version: "0.5.0"
repository: "https://rh-mobb.github.io/helm-charts/"
# repository: file://../grafana-cr
home: "https://rh-mobb.github.io/helm-charts/"
maintainers:
- name: rh-mobb
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
apiVersion: integreatly.org/v1alpha1
apiVersion: grafana.integreatly.org/v1beta1
kind: GrafanaDashboard
metadata:
labels:
app: grafana
name: cluster-metrics
spec:
instanceSelector:
matchLabels:
dashboards: "grafana"
json: |
{
"annotations": {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
apiVersion: integreatly.org/v1alpha1
apiVersion: grafana.integreatly.org/v1beta1
kind: GrafanaDashboard
metadata:
labels:
app: grafana
name: infra-metrics
spec:
instanceSelector:
matchLabels:
dashboards: "grafana"
json: |
{
"annotations": {
Expand Down
2 changes: 1 addition & 1 deletion charts/aro-thanos-af/files/grafana-operator.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
subscriptions:
- name: grafana-operator
channel: v4
channel: v5
installPlanApproval: Automatic
source: community-operators
sourceNamespace: openshift-marketplace
Expand Down
7 changes: 4 additions & 3 deletions charts/aro-thanos-af/templates/grafana/dashboards.yaml
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
{{ range $path, $_ := .Files.Glob "files/dashboards/*.json" }}
---
apiVersion: integreatly.org/v1alpha1
apiVersion: grafana.integreatly.org/v1beta1
kind: GrafanaDashboard
metadata:
name: {{ base $path }}
labels:
app: grafana
spec:
instanceSelector:
matchLabels:
dashboards: "grafana"
json: {{ $.Files.Get $path }}
{{ end }}
26 changes: 14 additions & 12 deletions charts/aro-thanos-af/templates/grafana/grafanadatasource.yaml
Original file line number Diff line number Diff line change
@@ -1,17 +1,19 @@
apiVersion: integreatly.org/v1alpha1
kind: GrafanaDataSource
apiVersion: grafana.integreatly.org/v1beta1
kind: GrafanaDatasource
metadata:
name: {{ include "aro-thanos-af.fullname" . }}-prometheus
labels:
{{- include "aro-thanos-af.labels" . | nindent 4 }}
spec:
name: {{ include "aro-thanos-af.fullname" . }}.yaml
datasources:
- access: proxy
editable: false
isDefault: true
jsonData:
timeInterval: 5s
name: prometheus
type: prometheus
url: 'http://thanos-querier.{{ .Release.Namespace }}.svc.cluster.local:9090'
instanceSelector:
matchLabels:
dashboards: grafana
datasource:
access: proxy
editable: false
isDefault: true
jsonData:
timeInterval: 5s
name: prometheus
type: prometheus
url: 'http://thanos-querier.{{ .Release.Namespace }}.svc.cluster.local:9090'
2 changes: 1 addition & 1 deletion charts/aro-thanos-af/templates/thanos/thanos-querier.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ spec:
# fsGroup: 65534
containers:
- name: thanos
image: quay.io/thanos/thanos:v0.24.0-rc.2
image: quay.io/thanos/thanos:v0.34.1
args:
- query
- --query.replica-label=replica
Expand Down
2 changes: 1 addition & 1 deletion charts/aro-thanos-af/templates/thanos/thanos-receive.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ spec:
fsGroup: 65534
containers:
- name: thanos-receive
image: quay.io/thanos/thanos:v0.24.0-rc.2
image: quay.io/thanos/thanos:v0.34.1
args:
- receive
- --tsdb.path=/data/remote-write-receive-data
Expand Down
2 changes: 1 addition & 1 deletion charts/aro-thanos-af/templates/thanos/thanos-store.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ spec:
fsGroup: 65534
containers:
- name: thanos
image: quay.io/thanos/thanos:v0.24.0-rc.2
image: quay.io/thanos/thanos:v0.34.1
args:
- store
- --data-dir=/data
Expand Down
2 changes: 1 addition & 1 deletion charts/grafana-cr/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ apiVersion: v2
name: grafana-cr
description: A Helm chart for Deploying Grafana instances using the Grafana Operator
type: application
version: 0.4.0
version: 0.5.0
home: https://github.com/rh-mobb/helm-charts
maintainers:
- name: paulczar
7 changes: 7 additions & 0 deletions charts/grafana-cr/templates/configmap.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
apiVersion: v1
kind: ConfigMap
metadata:
name: {{ include "grafana-cr.fullname" . }}-certs
labels:
config.openshift.io/inject-trusted-cabundle: "true"
name: {{ include "grafana-cr.fullname" . }}-certs
7 changes: 4 additions & 3 deletions charts/grafana-cr/templates/dashboards.yaml
Original file line number Diff line number Diff line change
@@ -1,12 +1,13 @@
{{ range .Values.dashboards }}
---
apiVersion: integreatly.org/v1alpha1
apiVersion: grafana.integreatly.org/v1beta1
kind: GrafanaDashboard
metadata:
name: {{ .name }}
labels:
app: grafana
spec:
instanceSelector:
matchLabels:
dashboards: "grafana"
json: {{ .json }}
{{ end }}

Loading

0 comments on commit a619782

Please sign in to comment.