Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 14 additions & 0 deletions test/suites/optional/cert-manager.robot
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,12 @@ Library Collections
Library OperatingSystem
Library Process
Library String
Library ../../resources/journalctl.py
Resource ../../resources/common.resource
Resource ../../resources/kubeconfig.resource
Resource ../../resources/oc.resource
Resource ../../resources/microshift-network.resource
Resource ../../resources/microshift-process.resource

Suite Setup Setup Suite With Namespace
Suite Teardown Teardown Suite With Namespace
Expand Down Expand Up @@ -42,6 +44,7 @@ ${PEBBLE_DEPLOYMENT_FILE} ./assets/cert-manager/pebble-server.yaml
Create Ingress route with Custom certificate
[Documentation] Create route with a custom certificate
[Setup] Run Keywords
Verify Cert Manager Kustomization Success
${cert_issuer_yaml}= Create Cert Issuer YAML
Apply YAML Manifest ${cert_issuer_yaml}
Oc Wait -n ${NAMESPACE} clusterissuer ${ISSUER_NAME} --for="condition=Ready" --timeout=120s
Expand Down Expand Up @@ -364,3 +367,14 @@ Remove DNS Configuration
Oc Wait
... -n openshift-dns pod -l dns.operator.openshift.io/daemonset-dns=default
... --for=condition=Ready --timeout=60s

Verify Cert Manager Kustomization Success
[Documentation] Verify that cert-manager kustomization was successfully applied by checking journalctl logs
${cursor}= Get Journal Cursor
Restart MicroShift
Pattern Should Appear In Log Output
... ${cursor}
... Applying kustomization at /usr/lib/microshift/manifests.d/060-microshift-cert-manager was successful
... unit=microshift
... retries=6
... wait=5