Adding Application Configurations/Secrets
Before diving in, it's essential to have a Hello World App Deployment running. Once that's in place, we can explore how to tweak its greeting using configurations and secrets.
In this guide, you'll learn how to add configurations and secrets to your applications using the GlueOps platform. As an example, we'll update the default greeting of your existing 'Hello World' app to showcase this functionality.
Let's create the new greeting message
Before you get started we will begin referencing links located on your cluster information home page:
Using the URL above, replace
<MY_CAPTAIN_DOMAIN> with the correct value provided by your Platform Administrator
Once you are on the cluster info home page, click on the
Secrets Management. You will then be taking our our secrets management system (Vault). For the role enter "editor" as you will need read/write access and then click on
Sign in with OIDC Provider
To create our first configuration/secret, Click on "Create secret +`
Finally, let's enter in the details for the new greeting message. For the field
Path for this secret you will want to use
app-projectname in our case our demo projectname as used in other tutorials is
GREETING_MESSAGE (this is indeed case sensitive) and for the value (left of the
Once complete, click Save!
You can expect the confirmation page to look like this:
Let's wrap up and get this new greeting deployed!
You will need to go back to your
values.yaml within your deployment configurations repository. In this case case it's the same repo/file you used when you initially deployed the "Hello World!" application.
│ └── app-antoniostacos
│ └── envs
│ └── qa
│ └── values.yaml <
We are going to add the following YAML to the very bottom of the existing file:
<MY_APP_PROJECTNAME> with the name you used when adding the secret/configuration. In our case it's
And that's it! Save the file, commit the changes and push them back up! Within a few moments you should see the greeting changed on the QA deployment of your "Hello World" website.
In case you aren't sure where to place the
YAML in this guide, it would look like this when appended to the previously provided
- name: public
- hostname: '<MY_APP_NAME>-qa.apps.<MY_CAPTAIN_DOMAIN>'