Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support kubernetes configuration using core mode #490

Open
lnattrass opened this issue Nov 4, 2024 · 0 comments
Open

Support kubernetes configuration using core mode #490

lnattrass opened this issue Nov 4, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@lnattrass
Copy link

Description

From the documentation:

core (Boolean) Configure direct access using Kubernetes API server.
this feature works by starting a local ArgoCD API server that talks directly to the Kubernetes API using the current context in the default kubeconfig (~/.kube/config). This behavior cannot be overridden using either environment variables or the kubernetes block in the provider configuration at present).

It would be good to be able to supply a Kubernetes configuration to the ArgoCD core instance when using core mode

Potential Terraform Configuration

provider "argocd" {
  core = true
  kubernetes {
    host                   = aws_eks_cluster.this.endpoint
    cluster_ca_certificate = base64decode(aws_eks_cluster.this.certificate_authority[0].data)
    exec {
      api_version = "client.authentication.k8s.io/v1beta1"
      command     = "aws-iam-authenticator"
      args        = concat("token", "-i", aws_eks_cluster.this.name)
    }
  }

References

#268

(I searched, but, sorry if this is a dupe!)

Community Note

  • Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
  • If you are interested in working on this issue or have submitted a pull request, please leave a comment
@lnattrass lnattrass added the enhancement New feature or request label Nov 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant