Skip to content

Commit

Permalink
GPX-698: Adapt helm chart to changes
Browse files Browse the repository at this point in the history
  • Loading branch information
Lucostus committed Sep 12, 2023
1 parent b208d60 commit ea4fe3c
Show file tree
Hide file tree
Showing 6 changed files with 36 additions and 38 deletions.
2 changes: 1 addition & 1 deletion infra/gp-multena/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,4 @@ version: 1.4.0
# This is the version number of the application being deployed. This version number should be
# incremented each time you make changes to the application. Versions are not expected to
# follow Semantic Versioning. They should reflect the version the application is using.
appVersion: 0.5.0
appVersion: 0.6.0
1 change: 1 addition & 0 deletions infra/gp-multena/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ metadata:
{{- include "gp-multena.labels" . | nindent 4 }}
spec:
replicas: {{ .Values.replicas }}
revisionHistoryLimit: 1
selector:
matchLabels:
{{- include "gp-multena.selectorLabels" . | nindent 6 }}
Expand Down
5 changes: 3 additions & 2 deletions infra/gp-multena/templates/rbac-collector/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ metadata:
{{- include "gp-multena.labels" . | nindent 4 }}
spec:
replicas: 1
revisionHistoryLimit: 1
selector:
matchLabels:
{{- include "gp-multena-rbac-collector.selectorLabels" . | nindent 6 }}
Expand All @@ -24,8 +25,8 @@ spec:
args:
- serve
- '--level={{ .Values.collector.logLevel }}'
- '--cmName={{ .Values.collector.cmName }}'
- '--cmNamespace={{ .Values.collector.cmNamespace }}'
- '--cmName={{ include "gp-multena.name" . }}-labels'
- '--cmNamespace={{ .Release.Namespace }}'
readinessProbe:
httpGet:
port: {{ .Values.collector.healthPort }}
Expand Down
8 changes: 4 additions & 4 deletions infra/gp-multena/templates/system-datasources.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ metadata:
namespace: {{ .Release.Namespace }}
spec:
datasource:
name: metrics-multena (Thanos)
uid: metrics-multena
name: {{ include "gp-multena.name" . }}-metrics (Thanos)
uid: {{ include "gp-multena.name" . }}-metrics
type: prometheus
url: "http://{{ include "gp-multena.name" . }}:{{ .Values.service.webPort }}"
access: proxy
Expand All @@ -29,8 +29,8 @@ metadata:
namespace: {{ .Release.Namespace }}
spec:
datasource:
name: logs-multena (Loki-Application)
uid: logs-multena
name: {{ include "gp-multena.name" . }}-logs (Loki-Application)
uid: {{ include "gp-multena.name" . }}-logs
type: loki
url: "http://{{ include "gp-multena.name" . }}:{{ .Values.service.webPort }}"
access: proxy
Expand Down
4 changes: 2 additions & 2 deletions infra/gp-multena/templates/tls-copy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
apiVersion: kyverno.io/v1
kind: ClusterPolicy
metadata:
name: copy-secret-policy-loki
name: {{ include "gp-multena.name" . }}-copy-secret-policy-loki
spec:
generateExisting: true
validationFailureAction: enforce
Expand Down Expand Up @@ -30,7 +30,7 @@ spec:
apiVersion: kyverno.io/v1
kind: ClusterPolicy
metadata:
name: copy-secret-policy-thanos
name: {{ include "gp-multena.name" . }}-copy-secret-policy-thanos
spec:
generateExisting: true
validationFailureAction: enforce
Expand Down
54 changes: 25 additions & 29 deletions infra/gp-multena/values.yaml
Original file line number Diff line number Diff line change
@@ -1,23 +1,10 @@
GrafanaOperatorDatasources: true
replicas: 1

tls:
loki:
enabled: true
secretName: loki-query-frontend-http
cert: tls.crt
key: tls.key
thanos:
enabled: false
secretName: thanos-querier-tls
cert: tls.crt
key: tls.key
copy:
loki:
enabled: true
secretNamespace: openshift-logging
thanos:
enabled: false
secretNamespace: openshift-monitoring
image:
repository: ghcr.io/gepaplexx/multena-proxy
pullPolicy: IfNotPresent
tag: "0.6.0"

multena:
log:
Expand All @@ -44,7 +31,7 @@ multena:
existingSecret: ""
web:
labelStoreKind: configmap
keycloakTokenGroupName: ""
keycloakTokenGroupName: "groups"
serviceAccountToken: ""
jwksCertUrl: https://sso.keycloak-namespace.svc.cluster.local:8443/realms/internal/protocol/openid-connect/certs
insecureSkipVerify: false
Expand All @@ -56,12 +43,24 @@ service:
webPort: 8080
metricsPort: 8081

replicas: 1

image:
repository: ghcr.io/gepaplexx/multena-proxy
pullPolicy: Always
tag: "0.5.1"
tls:
loki:
enabled: true
secretName: loki-query-frontend-http
cert: tls.crt
key: tls.key
thanos:
enabled: false
secretName: thanos-querier-tls
cert: tls.crt
key: tls.key
copy:
loki:
enabled: true
secretNamespace: openshift-logging
thanos:
enabled: false
secretNamespace: openshift-monitoring

probes:
readinessProbe:
Expand All @@ -77,7 +76,6 @@ probes:

serviceAccount:
create: true
name: ""

resources:
requests:
Expand All @@ -88,12 +86,10 @@ collector:
enabled: true
logLevel: 1
healthPort: 8080
cmName: gp-multena-labels
cmNamespace: gp-grafana
image:
name: ghcr.io/gepaplexx/multena-rbac-collector
tag: 0.1.5
pullPolicy: Always
pullPolicy: IfNotPresent
resources:
requests:
memory: 40Mi
Expand Down

0 comments on commit ea4fe3c

Please sign in to comment.