Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support protected registry when loading WASM image #1077

Open
maleck13 opened this issue Dec 11, 2024 · 2 comments
Open

Support protected registry when loading WASM image #1077

maleck13 opened this issue Dec 11, 2024 · 2 comments

Comments

@maleck13
Copy link
Collaborator

maleck13 commented Dec 11, 2024

Describe the bug
When loading the WASM image we provide the registry URL to Isito via the WASMPlugin resource. However we do not have a way to configure a imagePullSecret to authenitcate against a registry that is protected.

To Reproduce

  • Delete any existing policies
  • Set the RELATED_IMAGE_WASMSHIM in the operator subscription to one behind a protected registry
  • Create a new policy
  • Watch the logs of Istio it will fail to load the image as it is unauthenticated.

Expected behavior

  • Provide a way to accept a imagePullSecret that we could then pass on to the WASMPlugin resource created in response to a policy being created.

Additional context
Manual Workaround.

@maleck13
Copy link
Collaborator Author

One option here would be to allow users to specify an imagePullSecret in the kuadrant-operator via the kuadrant resource or some other mechanism such as an EnvVar, we would then expect that secret to be in the same namespace as the gateway. If it is not there it is an error and the WASMPlugin is not setup cc @eguzki

@smccarthy-ie smccarthy-ie changed the title Suport protected registry when loading WASM image Support protected registry when loading WASM image Dec 11, 2024
@eguzki
Copy link
Contributor

eguzki commented Dec 12, 2024

For the context, some PoC's done in the past:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: No status
Development

No branches or pull requests

2 participants