logo
0
0
Login
add two parameters in config map

Chart demo

This is a helm chart for demonstration purposes, which only contains a simple ConfigMap.

Values Override

This is a top level configuration file for this chart. You can install it by following command:

helm install ${release_name} demo-1.0.0.tgz -n ${namespace} -f values-override.yaml

The following will introduce the parameters in the configuration file:

  • .global Contains global parameters. It can be used in all charts.
  • .global.author Author name for this build. It will be setting in CondifMap named environment-variables.

Values

This is a defualt values template file for this chart. You can install it by following command:

helm install ${release_name} demo/ -n ${namespace}

The following will introduce the parameters in the configuration file:

  • .global Contains global parameters. It can be used in all charts.
  • .global.author Author name for this build. It will be setting in CondifMap named environment-variables.

Resource

ConfigMap

environment-variables

VariableDirection
authorThe value of author name can be setting in values.yaml or values-override.yaml. Default is porthole.
kube_versionNumbers of Kubernetes version, such as v1.22.0. It is based on your environment.
support_grpc_in_probeIf the number of Kubernetes version is >= v1.23.0, the value is "true". Otherwise is "false".