Skip to content

Commit

Permalink
make charts
Browse files Browse the repository at this point in the history
  • Loading branch information
mallardduck committed Oct 7, 2024
1 parent 57f6119 commit 8210a5c
Show file tree
Hide file tree
Showing 8 changed files with 19 additions and 27 deletions.
Binary file modified assets/prometheus-federator/prometheus-federator-0.4.3-rc.1.tgz
Binary file not shown.
7 changes: 3 additions & 4 deletions charts/prometheus-federator/0.4.3-rc.1/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,11 @@ annotations:
catalog.cattle.io/provides-gvr: helm.cattle.io.projecthelmchart/v1alpha1
catalog.cattle.io/release-name: prometheus-federator
apiVersion: v2
appVersion: 0.3.5
appVersion: 0.4.3-rc.1
dependencies:
- condition: helmProjectOperator.enabled
name: helmProjectOperator
- name: helmProjectOperator
repository: file://./charts/helmProjectOperator
version: 0.2.1
version: 0.3.1
description: Prometheus Federator
icon: https://raw.githubusercontent.com/rancher/prometheus-federator/main/assets/logos/prometheus-federator.svg
name: prometheus-federator
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,10 @@ annotations:
catalog.cattle.io/rancher-version: '>= 2.6.0-0'
catalog.cattle.io/release-name: helm-project-operator
apiVersion: v2
appVersion: 0.2.1
appVersion: v0.3.1
description: Helm Project Operator
maintainers:
- email: [email protected]
name: Dan Pock
name: helmProjectOperator
version: 0.2.1
version: 0.3.1
Original file line number Diff line number Diff line change
Expand Up @@ -64,12 +64,3 @@ heritage: {{ $.Release.Service | quote }}
{{ toYaml .Values.commonLabels }}
{{- end }}
{{- end -}}

{{/* Replica Default - Allow setting to 0, or default to 1 */}}
{{- define "replicaDefault" -}}
{{- if (eq 0 (int .Values.replicas)) -}}
{{ .Values.replicas }}
{{- else -}}
{{ default .Values.replicas 1 }}
{{- end -}}
{{- end -}}
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,9 @@ metadata:
labels: {{ include "helm-project-operator.labels" . | nindent 4 }}
app: {{ template "helm-project-operator.name" . }}
spec:
replicas: {{ include "replicaDefault" . }}
{{- if .Values.replicas }}
replicas: {{ .Values.replicas }}
{{- end }}
selector:
matchLabels:
app: {{ template "helm-project-operator.name" . }}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -129,8 +129,8 @@ namespaceOverride: ""
replicas: 1

image:
repository: rancher/helm-project-operator
tag: v0.2.1
repository: ghcr.io/rancher/helm-project-operator
tag: v0.3.0
pullPolicy: IfNotPresent

helmController:
Expand Down
4 changes: 1 addition & 3 deletions charts/prometheus-federator/0.4.3-rc.1/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,6 @@ global:
# - name: "image-pull-secret"

helmProjectOperator:
enabled: true

# ensures that all resources created by subchart show up as prometheus-federator
helmApiVersion: monitoring.cattle.io/v1alpha1

Expand All @@ -58,7 +56,7 @@ helmProjectOperator:

image:
repository: rancher/prometheus-federator
tag: v0.3.5
tag: v0.4.3-rc.1
pullPolicy: IfNotPresent

# Additional arguments to be passed into the Prometheus Federator image
Expand Down
11 changes: 5 additions & 6 deletions index.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,15 +10,14 @@ entries:
catalog.cattle.io/provides-gvr: helm.cattle.io.projecthelmchart/v1alpha1
catalog.cattle.io/release-name: prometheus-federator
apiVersion: v2
appVersion: 0.3.5
created: "2024-09-12T14:09:16.571722-04:00"
appVersion: 0.4.3-rc.1
created: "2024-10-07T13:17:48.590665-04:00"
dependencies:
- condition: helmProjectOperator.enabled
name: helmProjectOperator
- name: helmProjectOperator
repository: file://./charts/helmProjectOperator
version: 0.2.1
version: 0.3.1
description: Prometheus Federator
digest: d17b79b337568b320c06e34582cdbdc13bddcceb74d700572f044d1e7938f569
digest: 914d6606b938383710b923174e2505231fea144da555aa88119c7e3c88209c01
icon: https://raw.githubusercontent.com/rancher/prometheus-federator/main/assets/logos/prometheus-federator.svg
name: prometheus-federator
urls:
Expand Down

0 comments on commit 8210a5c

Please sign in to comment.