To create a chart:
helm create first-chart
To make it simple, lets delete the contents of templates folder and just create a configmap (configmap.yaml).
apiVersion: v1
kind: ConfigMap
metadata:
name: first-chart-configmap
data:
port: "8080"
Once created, can install it using:
helm install first-chart .
Let's modify the above configmap.yaml file and add one more data entry.
apiVersion: v1
kind: ConfigMap
metadata:
name: first-chart-configmap
data:
port: "8080"
allowTesting: "true"
To see what are the changes added, run below.
helm template first-chart .
To apply the modifications:
helm upgrade first-chart .
No comments:
Post a Comment