registry action creating configmap in the wrong namespace

Bug #1812382 reported by Alexandre Gomes
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Kubernetes Worker Charm
Fix Released
High
Unassigned

Bug Description

The most recent version of nginx-ingress(0.21.0) puts the worker ingresses in its own namespace instead of the default one. And it expects a configmap to be in the same namespace as well.

The charm explicitly installs 0.21.0 but also still puts the registry configmap into the default namespace[1], which no longer hosts the ingress.

This causes the registry to keep the default value for client_max_body_size.

The new namespace is called "ingress-nginx-kubernetes-worker" and the configmap is "nginx-configuration".

I also believe the key name that should be used in the configmap has changed from "body-size" to "proxy-body-size"[2].

[1]https://github.com/juju-solutions/kubernetes/blob/master/cluster/juju/layers/kubernetes-worker/actions/registry
[2]https://github.com/kubernetes/ingress-nginx/blob/master/rootfs/etc/nginx/template/nginx.tmpl#L1015

Revision history for this message
Alexandre Gomes (alejdg) wrote :
Revision history for this message
Junien F (axino) wrote :
Changed in charm-kubernetes-worker:
status: New → Fix Committed
importance: Undecided → High
Changed in charm-kubernetes-worker:
milestone: none → 1.14
Changed in charm-kubernetes-worker:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.