Additional installation notes
Soon, we will explore the WordPress application that we just installed. First, there are several areas of consideration that should be mentioned before leaving behind the topic of installation.
The -n flag
The -n
flag can be used instead of the --namespace
flag to reduce the typing effort when entering commands. This holds true for the upgrade
and rollback
commands, which we will describe later in this chapter. From here on, we will use the -n
flag when we denote the namespace that Helm should interact with.
The HELM_NAMESPACE environment variable
You can also set an environment variable to denote the namespace that Helm should interact with.
Let's look at how we can set this environment variable on various operating systems:
- You can set the variable on macOS and Linux as follows:
$ export HELM_NAMESPACE=chapter3
- Windows users can set this environment variable by running this command in PowerShell:
> $env:HELM_NAMESPACE...