This content is associated with a legacy version of the Replicated product. For the current Replicated product documentation, see docs.replicated.com.
apiVersion: troubleshoot.replicated.com/v1beta1
kind: Preflight
metadata:
name: preflight-sample
spec:
analyzers:
- secret:
checkName: PG URI
secretName: postgres
namespace: default
key: uri
outcomes:
- fail:
message: You don't have a pg uri secret
- pass:
message: Probably a green light connecting to pg