open-horizon / anax

Horizon agent control system
https://open-horizon.github.io/docs/anax/docs/
Apache License 2.0
73 stars 98 forks source link

Issue 4081 - Make kube worker aware of Secret kube resource type #4082

Closed scwhaley closed 3 months ago

scwhaley commented 3 months ago

Description

Before, secrets were considered and UNSTRUCTURED type, and created last. This is problematic for Deployment resources that may depend on an ImagePullSecret being created first.

Fixes #4081

Type of change

Please delete options that are not relevant.

How Has This Been Tested?

Tested by installing a service to a k3d cluster running on Ubuntu 20.04 that includes a Deployment YAML and a ImagePullSecret YAML.

Before the install would fail multiple times due to image pull errors before eventually succeeding.

Now, the install succeeds on the first try. No image pull errors present anymore.

Additional Context (Please include any Screenshots/gifs if relevant)

...

Checklist: