Skip to content

Latest commit

 

History

History
31 lines (30 loc) · 824 Bytes

albo-deleting.adoc

File metadata and controls

31 lines (30 loc) · 824 Bytes

Deleting the example AWS Load Balancer Operator installation

  1. Delete the hello world application namespace (and all the resources in the namespace):

    $ oc delete project hello-world
  2. Delete the AWS Load Balancer Operator and the AWS IAM roles:

    $ oc delete subscription aws-load-balancer-operator -n aws-load-balancer-operator
    $ aws iam detach-role-policy \
      --role-name "${ROSA_CLUSTER_NAME}-alb-operator" \
      --policy-arn $POLICY_ARN
    $ aws iam delete-role \
      --role-name "${ROSA_CLUSTER_NAME}-alb-operator"
  3. Delete the AWS IAM policy:

    $ aws iam delete-policy --policy-arn $POLICY_ARN