-
Notifications
You must be signed in to change notification settings - Fork 2.3k
Closed
Labels
kind/bugCategorizes issue or PR as related to a bug.Categorizes issue or PR as related to a bug.lifecycle/rottenDenotes an issue or PR that has aged beyond stale and will be auto-closed.Denotes an issue or PR that has aged beyond stale and will be auto-closed.
Description
Describe the bug:
Helm chart's ValidatingWebhookConfiguration is missing a configuration section which Kubernetes adds in on Azure Kubernetes Service to every ValidatingWebhookConfiguration which causes ArgoCD to place the Helm chart into a constant sync loop and never become healthy.
Expected behaviour:
This ValidatingWebhookConfiguration
Steps to reproduce the bug:
Install this Application CRD on your cluster running ArgoCD 2.0.3 on an Azure Kubernetes Service cluster:
---
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
finalizers:
- resources-finalizer.argocd.argoproj.io
name: cert-manager
spec:
project: default
destination:
namespace: cert-manager
server: 'https://kubernetes.default.svc'
syncPolicy:
automated:
prune: true
selfHeal: true
source:
chart: cert-manager
repoURL: 'https://charts.jetstack.io'
targetRevision: v1.4.0
helm:
releaseName: cert-manager
values: |+
global:
logLevel: 2
ingressShim:
defaultIssuerName: letsencrypt
defaultIssuerKind: ClusterIssuer
installCRDs: true
prometheus:
enabled: true
servicemonitor:
enabled: true
Once you do, this section will repeatedly want to delete webhooks[0].namespaceSelector.matchExpressions[2]:
- key: control-plane
operator: DoesNotExist
Anything else we need to know?:
Nope.
Environment details::
- Kubernetes version: 1.20.7
- Cloud-provider/provisioner: Azure Kubernetes Service
- cert-manager version: v1.4.0
- Install method: e.g. helm/static manifests: ArgoCD 2.0.3 using above Application CRD instance.
/kind bug
mazilu88, cod-r, TeamDman, h4tt3n, Retoxx-dev and 1 more
Metadata
Metadata
Assignees
Labels
kind/bugCategorizes issue or PR as related to a bug.Categorizes issue or PR as related to a bug.lifecycle/rottenDenotes an issue or PR that has aged beyond stale and will be auto-closed.Denotes an issue or PR that has aged beyond stale and will be auto-closed.