docs / articles / ArgoCD Helm: Set Value Efficiently

ArgoCD Helm: Set Value Efficiently

Noah Aug 16, 2026 2026-08-16 04:58:21

When working with Argo CD, a powerful tool for continuous deployment, you might find yourself needing to set or update values for a specific Helm chart. This is where understanding and leveraging the command argocd helm set value comes in handy. Let's delve into the intricacies of this command, its syntax, and how to effectively utilize it in your CD pipelines.

Stoneshard - Functional visors: one step closer to the ultimate knightly fantasy 🛡️  #stoneshard #medieval #armor #knight #pixelart #gamedev #indiedev #indiegame #ドット絵 #像素艺术 #픽셀아트 | Facebook
Stoneshard - Functional visors: one step closer to the ultimate knightly fantasy 🛡️ #stoneshard #medieval #armor #knight #pixelart #gamedev #indiedev #indiegame #ドット絵 #像素艺术 #픽셀아트 | Facebook

The argocd helm set value command enables you to modify Kubernetes values at application level, allowing for advanced configuration of your applications without having to manually edit YAML files. It's a time-saving, streamlined way to manage your application's configuration.

the armor and helmet design for an upcoming video game
the armor and helmet design for an upcoming video game

Understanding the Command Syntax

The basic syntax for argocd helm set value is as follows:

Types Of Warrior Helmets, Ancient Warrior Helmets, Ancient Warrior Helmet Design, Ancient Helmet Designs, Roman Cavalry Helmets, Bronze Armor, Medieval Helmet Design, Greek Helmet Designs, Fantasy Greek Helmet
Types Of Warrior Helmets, Ancient Warrior Helmets, Ancient Warrior Helmet Design, Ancient Helmet Designs, Roman Cavalry Helmets, Bronze Armor, Medieval Helmet Design, Greek Helmet Designs, Fantasy Greek Helmet

argocd helm set value RESOURCE_NAME --value Key=Value

Resource Name

the different helmets in halo wars
the different helmets in halo wars

The RESOURCE_NAME paramter represents the name of your Argo CD Application resource. It specifies the deployment that you want to configure.

Here's an example of using the command with a resource named 'my-app':

argocd helm set value my-app

an image of the helmets and helmet designs for halo wars, which are available in multiple colors
an image of the helmets and helmet designs for halo wars, which are available in multiple colors

Setting Multiple Values

You can set multiple values in a single command using the same --value flag, separated by spaces:

argocd helm set value my-app --value key1=value1 --value key2=value2

knight Armor
knight Armor

Accessing Argo CD Server

Before executing the argocd helm set value command, ensure you access the Argo CD server. You can use the following command:

Triunfo del Gladiador
Triunfo del Gladiador
a close up of a person wearing a helmet and armor with wings on their head
a close up of a person wearing a helmet and armor with wings on their head
three different types of armor and helmets with numbers on the front, side, and back
three different types of armor and helmets with numbers on the front, side, and back
a helmet with gold leaves on it sitting on top of a rock in front of a dark background
a helmet with gold leaves on it sitting on top of a rock in front of a dark background
a bunch of different types of helmets on a white background
a bunch of different types of helmets on a white background
some drawings of helmets and other items from the ancient world are shown in this drawing
some drawings of helmets and other items from the ancient world are shown in this drawing
SFORZA Helmet / ARC Raiders, Mira студия 3D-печати
SFORZA Helmet / ARC Raiders, Mira студия 3D-печати

argocd login

Replace ARGOCD_SERVER with your Argo CD server's URL. Then, provide your Argo CD credentials when prompted.

Verifying the Configuration

After setting the values, you can verify the changes by executing:

kubectl get application my-app -o yaml

This command will display the YAML manifest of the application, showing the updated values.

Handling Secrets with Argo CD

Argo CD allows for mid-air updates, which means you can change the configuration of a running application without having to redeploy it. This is particularly useful when dealing with sensitive data like secrets.

Setting Secret Values

To set or update a secret value, you'll use the same argocd helm set value command. However, you'll need to specify the secret's name using the --secret flag:

argocd helm set value my-app --secret my-secret --value Key=Value

Verifying Secret Updates

To confirm that the secret has been updated, you can use the kubectl describe secret my-secret command.

Remember, it's crucial to monitor your running applications and keep your configurations up-to-date to ensure they behave as expected in your production environment. The argocd helm set value command is a powerful tool in achieving this, offering a seamless way to manage your application's configuration.