Closed misohu closed 11 months ago
Should we also add removal test in which we test accessibility of URL after charm is removed? Just to make sure we clean up everything.
Hi @i-chvets resolved your comments ... added integration test for remove application. I also added readme.
Failed integration test in local setup. Timeout on waiting for UI.
INFO httpx:_client.py:1013 HTTP Request: PATCH https://10.1.1.124:16443/api/v1/namespaces/kubeflow-user-example-com?fieldManager=pvcviewer-operator "HTTP/1.1 200 OK"
INFO httpx:_client.py:1013 HTTP Request: PATCH https://10.1.1.124:16443/apis/kubeflow.org/v1alpha1/namespaces/kubeflow-user-example-com/pvcviewers/pvcviewer-sample?fieldManager=pvcviewer-operator "HTTP/1.1 200 OK"
INFO httpx:_client.py:1013 HTTP Request: PATCH https://10.1.1.124:16443/api/v1/namespaces/kubeflow-user-example-com/persistentvolumeclaims/pvcviewer-sample?fieldManager=pvcviewer-operator "HTTP/1.1 200 OK"
INFO httpx:_client.py:1013 HTTP Request: GET https://10.1.1.124:16443/api/v1/namespaces/test-charm-fwxe/services/istio-ingressgateway-workload "HTTP/1.1 200 OK"
INFO httpx:_client.py:1013 HTTP Request: PATCH https://10.1.1.124:16443/api/v1/namespaces/kubeflow-user-example-com?fieldManager=pvcviewer-operator "HTTP/1.1 200 OK"
INFO httpx:_client.py:1013 HTTP Request: PATCH https://10.1.1.124:16443/apis/kubeflow.org/v1alpha1/namespaces/kubeflow-user-example-com/pvcviewers/pvcviewer-sample?fieldManager=pvcviewer-operator "HTTP/1.1 200 OK"
INFO httpx:_client.py:1013 HTTP Request: PATCH https://10.1.1.124:16443/api/v1/namespaces/kubeflow-user-example-com/persistentvolumeclaims/pvcviewer-sample?fieldManager=pvcviewer-operator "HTTP/1.1 200 OK"
INFO httpx:_client.py:1013 HTTP Request: GET https://10.1.1.124:16443/api/v1/namespaces/test-charm-fwxe/services/istio-ingressgateway-workload "HTTP/1.1 200 OK"
FAILED
Verified by creating PR https://github.com/canonical/pvcviewer-operator/pull/7
This PR implements this upstream component. Key features:
webhook
objects. We use similar implementation as inkserve-operators
Integration tests: