Page MenuHomePhabricator

Cannot deploy ingress-nginx chart 4.8.0
Closed, ResolvedPublic

Description

TASK [Deploy paws] *******************************************************************************************************************
fatal: [localhost]: FAILED! => {
    "changed": false,
    "command": "/usr/local/bin/helm upgrade -i --reset-values --timeout 50m --create-namespace --values=../paws/secrets.yaml --values=../paws/production.yaml paws ../paws"
}

STDERR:

WARNING: Kubernetes configuration file is group-readable. This is insecure. Location: /home/rook/paws/terraform/kube.config
WARNING: Kubernetes configuration file is world-readable. This is insecure. Location: /home/rook/paws/terraform/kube.config
Error: UPGRADE FAILED: failed to create resource: admission webhook "validate.nginx.ingress.kubernetes.io" denied the request: nginx.ingress.kubernetes.io/configuration-snippet annotation cannot be used. Snippet directives are disabled by the Ingress administrator



MSG:

Failure when executing Helm command. Exited 1.
stdout: 
stderr: WARNING: Kubernetes configuration file is group-readable. This is insecure. Location: /home/rook/paws/terraform/kube.config
WARNING: Kubernetes configuration file is world-readable. This is insecure. Location: /home/rook/paws/terraform/kube.config
Error: UPGRADE FAILED: failed to create resource: admission webhook "validate.nginx.ingress.kubernetes.io" denied the request: nginx.ingress.kubernetes.io/configuration-snippet annotation cannot be used. Snippet directives are disabled by the Ingress administrator

Event Timeline

Pinning to previous version 4.7.2

ingress-nginx/ingress-nginx	4.8.0        	1.9.0      	Ingress controller for Kubernetes using NGINX a...
ingress-nginx/ingress-nginx	4.7.2        	1.8.2      	Ingress controller for Kubernetes using NGINX a...
rook claimed this task.