You can now integrate Cloudsmith with Argo CD to automate the deployment of your Kubernetes applications using Helm charts and Docker images securely stored in Cloudsmith repositories. π With flexible authentication options, including API keys and OpenID Connect (OIDC), you can automate deployment workflows while ensuring security and efficiency. π‘
Use Cloudsmith to securely store and manage Helm charts and container images.
Maintain version control of your deployment artifacts.
Integrate your Cloudsmith repositories with Argo CD for faster, automated deployments.
Authenticate using API keys or OIDC, choosing the best method for your workflow.
This step-by-step guide will walk you through deploying a Helm chart from Cloudsmith to Kubernetes using Argo CD.
Add your Helm repository hosted on Cloudsmith to Argo CD to make it accessible for deployments:
argocd repo add --name cloudsmith-helm --type helm \
https://dl.cloudsmith.io/TOKEN/OWNER/REPOSITORY/helm/charts/
Define how Argo CD should deploy your Helm chart using this application manifest:
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: my-cloudsmith-app
namespace: argocd
spec:
project: default
source:
repoURL: "https://dl.cloudsmith.io/TOKEN/OWNER/REPOSITORY/helm/charts/"
targetRevision: "0.1.0"
chart: my-test-app
destination:
server: https://kubernetes.default.svc
namespace: default
syncPolicy:
automated:
prune: true
selfHeal: true
Once your application manifest is ready, deploy and sync the application using ArgoCD:
kubectl apply -f argocd-application.yaml
argocd app sync my-cloudsmith-app
argocd app get my-cloudsmith-app
If it can be automated, it should! Cloudsmithβs Argo CD integration is another step toward the Cloudsmith Tao of Automate Everything.
To get started with the integration, check out our documentation guide.