Duplicate app and release labels on nginx-ingress components
Summary
The helm chart renders with multiple app and release labels on objects associated with the nginx ingress controller.
Steps to reproduce
Run helm template gitlab-prod gitlab/gitlab --version=5.6.0 -f values.yaml
with the values.yaml file from below.
Everything renders correctly but will fail to apply. In my situation the flux helm controller caught the issue before any changes were made.
Configuration used
The following is my values.yaml file (sanitized down from a much larger version used in production, but this causes the same issue).
postgresql:
install: false
global:
edition: ce
gitlabVersion: 14.6.0
time_zone: America/New_York
hosts:
domain: gitlab.example.edu
gitlab:
name: gitlab.example.edu
registry:
name: registry.gitlab.example.edu
psql:
host: external-db-instances
password:
secret: gitlab-postgres
key: psql-password
port: 5432
database: gitlab
username: gitlab
minio:
enabled: true
ingress:
proxyBodySize: 1024m
configureCertmanager: false
tls:
secretName: gitlab.example.edu
certmanager:
install: false
Current behavior
All nginx-ingress objects have 2 app
labels and 2 release
labels, so they can't be applied.
Expected behavior
Each resource to have unique labels.
Versions
- Chart: 5.6.0
- Platform:
- Cloud: EKS
- Kubernetes: (
kubectl version
)- Client: 1.23.1
- Server: 1.21.2
- Helm: (
helm version
)- Client: 3.7.2
- Server: N/A (Flux helm controller is at 0.14.1, but isn't relevant to the bug)