crossplane-contrib / provider-civo

Apache License 2.0
22 stars 22 forks source link

default Marketplace applications colliding with my requirements #19

Closed exocode closed 2 years ago

exocode commented 2 years ago

I am using ArgoCD to apply my manifests. One of my apps is a custom ingress-nginx-controller (not the one of marketplace).

The "default" apps of Civo makes it impossible to deploy my own "traefik" or "ingress-nginx-ingress".

What happened?

When I create a cluster with Civo-Provider (or recreate it by deleting it in the Civo UI) autmatically two "apps" of the Civo marketplace are automatically enabled:

I am not able to disable them.

What I tried so far:

Bot approaches are automatically deploys the "Marketplace" applications. So there is no chance to disable them. This is only possible when creating cluster in the UI.

How can we reproduce it?

Apply on your cluster

kind: CivoKubernetes
apiVersion: cluster.civo.crossplane.io/v1alpha1
metadata:
  name: myapp-production
  labels:
    argocd.civo.crossplane.io/cluster: myapp-production
spec:
  name: myapp-production
  pools:
    - id: "app-pool"
      count: 3
      size: g3.k3s.medium
    - id: "data-pool"
      count: 1
      size: g3.k3s.medium
  applications:  # with or without spec.applications: traefik and metrics-server are always deployed
    - "ANY_APPLICATION"
  connectionDetails:
    connectionSecretNamePrefix: "kubeconfig"
    connectionSecretNamespace: "default"
  providerConfigRef:
    name: civo-provider-config

What environment did it happen in?

Crossplane version: crossplane/crossplane:v1.5.1