Skip to content

Commit

Permalink
hotfix/fix hard-coded resources
Browse files Browse the repository at this point in the history
Signed-off-by: fhochleitner <felix.hochleitner@outlook.com>
  • Loading branch information
fhochleitner committed Jul 25, 2023
1 parent 0314390 commit 3842b45
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 9 deletions.
2 changes: 1 addition & 1 deletion infra/gp-grafana-instance/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@ name: gp-grafana-instance
description: A Helm chart for deploying Grafana on OpenShift

type: application
version: 1.0.4
version: 1.0.5
7 changes: 3 additions & 4 deletions infra/gp-grafana-instance/templates/grafana-crd.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -58,11 +58,10 @@ spec:
image: {{ .Values.grafana.version }}
resources:
requests:
cpu: "25m"
memory: "125Mi"
cpu: "{{ .Values.resources.requests.cpu }}"
memory: "{{ .Values.resources.requests.memory }}"
limits:
cpu: "100m"
memory: "256Mi"
memory: "{{ .Values.resources.limits.memory }}"
volumeMounts:
- mountPath: /var/lib/grafana
name: grafana-data
Expand Down
7 changes: 3 additions & 4 deletions infra/gp-grafana-instance/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,10 @@ sso:
realmUrl: "https://sso.apps.clustername.basedomain.com/realms/realmname"
resources:
requests:
cpu: 100m
memory: 256m
cpu: 25m
memory: 128m
limits:
cpu: 500m
memory: 1Gi
memory: 512Mi
systemDatasources: true
systemDashboards: true
patch:
Expand Down

0 comments on commit 3842b45

Please sign in to comment.