nerc-project / operations

Issues related to the operation of the NERC OpenShift environment
2 stars 0 forks source link

update: obs.nerc renew certs and keys if not another solution is in place #801

Open schwesig opened 2 weeks ago

schwesig commented 2 weeks ago

@larsks @schwesig I updated the certs and keys described in this issue (observability-grafana-certs, observability-server-ca-certs) in nerc-ocp-obs/dex/grafanas vault (GF_TLSCLIENTCERT, GF_TLSCLIENTKEY, GF_TLSCACERT) and restarted the grafana pods to get Grafana working again!

oc --as system:admin -n open-cluster-management-observability get secret/observability-grafana-certs -o jsonpath='{.data.tls\.crt}' | base64 -d
oc --as system:admin -n open-cluster-management-observability get secret/observability-grafana-certs -o jsonpath='{.data.tls\.key}' | base64 -d
oc --as system:admin -n open-cluster-management-observability get secret/observability-server-ca-certs -o jsonpath='{.data.ca\.crt}' | base64 -d

It's still a temporary solution until:

        Validity
            Not Before: Aug 20 14:16:50 2024 GMT
            Not After : Aug 20 14:16:50 2025 GMT

Originally posted by @computate in #800