Skip to content

Commit

Permalink
Adding setting Priority CalssNames in prometheus-federator chart
Browse files Browse the repository at this point in the history
  • Loading branch information
fendrifirasleminnov committed Oct 22, 2024
1 parent 50d7c1a commit e85a8e8
Show file tree
Hide file tree
Showing 8 changed files with 26 additions and 2 deletions.
Binary file modified assets/prometheus-federator/prometheus-federator-0.4.3-rc.1.tgz
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,9 @@ spec:
labels: {{ include "helm-project-operator.labels" . | nindent 8 }}
app: {{ template "helm-project-operator.name" . }}
spec:
{{- if .Values.priorityClassName }}
priorityClassName: {{ .Values.priorityClassName }}
{{- end }}
containers:
- name: {{ template "helm-project-operator.name" . }}
image: "{{ template "system_default_registry" . }}{{ .Values.image.repository }}:{{ .Values.image.tag }}"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -184,6 +184,11 @@ securityContext: {}
# supplementalGroups:
# - 1000

## Priority class assigned to the Pods
##
priorityClassName: ""


debug: false
debugLevel: 0

Expand Down
4 changes: 4 additions & 0 deletions charts/prometheus-federator/0.4.3-rc.1/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,10 @@ helmProjectOperator:
securityContext: {}
# allowPrivilegeEscalation: false
# readOnlyRootFilesystem: true

## Priority class assigned to the Pods
##
priorityClassName: ""

debug: false
debugLevel: 0
4 changes: 2 additions & 2 deletions index.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,13 @@ entries:
catalog.cattle.io/release-name: prometheus-federator
apiVersion: v2
appVersion: 0.4.3-rc.1
created: "2024-10-07T13:17:48.590665-04:00"
created: "2024-10-22T08:50:59.66311678Z"
dependencies:
- name: helmProjectOperator
repository: file://./charts/helmProjectOperator
version: 0.3.1
description: Prometheus Federator
digest: 914d6606b938383710b923174e2505231fea144da555aa88119c7e3c88209c01
digest: 1b3e8643286a7857971f9e02a58e546102d285c47a284130acf6001e62c96e11
icon: https://raw.githubusercontent.com/rancher/prometheus-federator/main/assets/logos/prometheus-federator.svg
name: prometheus-federator
urls:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,9 @@ spec:
labels: {{ include "helm-project-operator.labels" . | nindent 8 }}
app: {{ template "helm-project-operator.name" . }}
spec:
{{- if .Values.priorityClassName }}
priorityClassName: {{ .Values.priorityClassName }}
{{- end }}
containers:
- name: {{ template "helm-project-operator.name" . }}
image: "{{ template "system_default_registry" . }}{{ .Values.image.repository }}:{{ .Values.image.tag }}"
Expand Down
5 changes: 5 additions & 0 deletions packages/helm-project-operator/charts/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -184,6 +184,11 @@ securityContext: {}
# supplementalGroups:
# - 1000

## Priority class assigned to the Pods
##
priorityClassName: ""


debug: false
debugLevel: 0

Expand Down
4 changes: 4 additions & 0 deletions packages/prometheus-federator/charts/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,10 @@ helmProjectOperator:
securityContext: {}
# allowPrivilegeEscalation: false
# readOnlyRootFilesystem: true

## Priority class assigned to the Pods
##
priorityClassName: ""

debug: false
debugLevel: 0

0 comments on commit e85a8e8

Please sign in to comment.