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

NGF with NGINX+ fails to deploy because of imagePullSecrets template error #1952

Closed
bjee19 opened this issue May 9, 2024 · 0 comments · Fixed by #1953
Closed

NGF with NGINX+ fails to deploy because of imagePullSecrets template error #1952

bjee19 opened this issue May 9, 2024 · 0 comments · Fixed by #1953
Assignees
Labels
bug Something isn't working helm-chart Relates to helm chart

Comments

@bjee19
Copy link
Contributor

bjee19 commented May 9, 2024

Describe the bug
NGF with NGINX+ fails to deploy with the following errors:
Error: INSTALLATION FAILED: unable to build kubernetes objects from release manifest: error validating "": error validating data: ValidationError(ServiceAccount.metadata): unknown field "imagePullSecrets" in io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta with an Openshift cluster

and

W0509 13:45:42.175175 10280 warnings.go:70] unknown field "metadata.imagePullSecrets"
on a local Kind cluster.

On the local kind cluster, the NGF pod would still deploy but would never become ready due to an ErrImagePull

To Reproduce
Steps to reproduce the behavior:

  1. Follow instructions here to create a docker config secret using a JWT.
  2. Deploy NGF with NGINX+ using helm install ngf oci://ghcr.io/nginxinc/charts/nginx-gateway-fabric --set nginx.image.repository=private-registry.nginx.com/nginx-gateway-fabric/nginx-plus --set nginx.plus=true --set serviceAccount.imagePullSecret=nginx-plus-registry-secret --create-namespace -n nginx-gateway --set nginxGateway.productTelemetry.enable=false

Expected behavior
NGF should deploy with NGINX+ correctly.

Your environment

  • Version of the NGINX Gateway Fabric - edge and 1.2
  • Kubernetes platform : Kind and Openshift
@sjberman sjberman added bug Something isn't working helm-chart Relates to helm chart labels May 9, 2024
@bjee19 bjee19 self-assigned this May 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working helm-chart Relates to helm chart
Projects
Status: Done
Development

Successfully merging a pull request may close this issue.

2 participants