Skip to content

Commit

Permalink
Mount new config for LDAP to Grafana and add IPA CA cert
Browse files Browse the repository at this point in the history
  • Loading branch information
jb3 committed Jul 26, 2024
1 parent 6b687b0 commit 0af3b07
Showing 1 changed file with 14 additions and 2 deletions.
16 changes: 14 additions & 2 deletions kubernetes/namespaces/monitoring/grafana/deployment-grafana.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,30 +23,42 @@ spec:
- containerPort: 3000
resources:
requests:
cpu: 200m
memory: 100Mi
cpu: 200m
memory: 100Mi
limits:
cpu: 300m
memory: 250Mi
envFrom:
- configMapRef:
name: grafana-default
- configMapRef:
name: grafana-ldap
- secretRef:
name: grafana-secret-env
volumeMounts:
- mountPath: /var/lib/grafana
name: grafana-volume
- mountPath: /tmp
name: grafana-tmp
- mountPath: /opt/pydis
name: grafana-ldap-toml
- mountPath: /opt/ipa-ca
name: ipa-ca
securityContext:
readOnlyRootFilesystem: true
volumes:
- name: grafana-volume
persistentVolumeClaim:
claimName: grafana-storage
- name: grafana-ldap-toml
configMap:
name: grafana-ldap-toml
- name: grafana-tmp
emptyDir:
medium: Memory
- name: ipa-ca
configMap:
name: ipa-ca-configmap
securityContext:
fsGroup: 2000
runAsUser: 1000
Expand Down

0 comments on commit 0af3b07

Please sign in to comment.