What's new on Cloudsmith

Cloudsmith is your friendly neighbourhood Package Management SaaS; for secure delivery of the world's software. For DevOps-y people.

New
October 21, 2024

Automate K8s deployments with Cloudsmith’s new Argo CD integration

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. πŸ›‘

With this integration, you can:

  • 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.

End-to-End Guide: Deploy a Helm Chart from Cloudsmith with Argo CD

This step-by-step guide will walk you through deploying a Helm chart from Cloudsmith to Kubernetes using Argo CD.

Step 1: Add Cloudsmith Helm Repository to 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/

Step 2: Create an ArgoCD Application Manifest

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

Step 3: Deploy and Sync the Application

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

Get started today

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.

We are ⚑by Beamer