main.yml 556 B

123456789101112131415161718192021
  1. ---
  2. - name: Ensure the openshift-operators-redhat and openshift-operators project are enabled for monitoring.
  3. k8s:
  4. kubeconfig: tmp/kubeconfig-ocp4
  5. validate_certs: no
  6. api_version: v1
  7. kind: namespace
  8. name: openshift-operators-redhat
  9. definition:
  10. metadata:
  11. labels:
  12. openshift.io/cluster-monitoring: "true"
  13. # Ensure openshift-logging namespace is there, and it is enabled for monitoring.
  14. # Create a LokiStack resource if not yet there.
  15. # Create a ClusterLogging instance if not yet there.
  16. # Verification???