diff options
| author | 2024-07-26 01:19:53 +0100 | |
|---|---|---|
| committer | 2024-07-26 15:08:59 +0100 | |
| commit | 0af3b0731c4bd877d5127ea263313f14415da305 (patch) | |
| tree | 54cfc9e37f9040450a3e69deb5c23aa9547cea0c /kubernetes/namespaces | |
| parent | Add LDAP bind user password for Grafana (diff) | |
Mount new config for LDAP to Grafana and add IPA CA cert
Diffstat (limited to 'kubernetes/namespaces')
| -rw-r--r-- | kubernetes/namespaces/monitoring/grafana/deployment-grafana.yaml | 16 | 
1 files changed, 14 insertions, 2 deletions
| diff --git a/kubernetes/namespaces/monitoring/grafana/deployment-grafana.yaml b/kubernetes/namespaces/monitoring/grafana/deployment-grafana.yaml index 87e3059..1303cd9 100644 --- a/kubernetes/namespaces/monitoring/grafana/deployment-grafana.yaml +++ b/kubernetes/namespaces/monitoring/grafana/deployment-grafana.yaml @@ -23,14 +23,16 @@ 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: @@ -38,15 +40,25 @@ spec:                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 | 
