forked from Praqma/helmsman
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathexample.toml
59 lines (48 loc) · 2.41 KB
/
example.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
# metadata -- add as many key/value pairs as you want
[metadata]
org = "someClient"
maintainer = "k8s-admin"
# paths to the certificate for connecting to the cluster
# You can skip this if you use Helmsman on a machine with kubectl already connected to your k8s cluster.
[certifications]
caRt = "s3://my-bucket/pki/issued/ca/1234567.crt" # s3 bucket path
caKey = "../path/ca.key" # Or, a path to the file location
[settings]
kubeContext = "minikube" # will try connect to this context first, if it does not exist, it will be created using the details below
username = "admin"
password = "/passwd.passwd" # read it from a file which is ignored by git. e.g. passwd.passwd
clientKey = "caKey" # reference to the key in certifications
clusterURI = "https://192.168.99.100:8443" # cluster API
# define your environments and thier k8s namespaces
# syntax: environment_name = "k8s_namespace"
[namespaces]
staging = "staging"
production = "default"
# define any private/public helm charts repos you would like to get charts from
# syntax: repo_name = "repo_url"
[helmRepos]
stable = "https://kubernetes-charts.storage.googleapis.com"
incubator = "http://storage.googleapis.com/kubernetes-charts-incubator"
# define the desired state of your applications helm charts
# each contains the following:
[apps]
[apps.jenkins]
name = "jenkins" # should be unique across all apps
description = "jenkins"
env = "staging" # maps to the namespace as defined in environmetns above
enabled = true # change to false if you want to delete this app release [empty = flase]
chart = "stable/jenkins" # changing the chart name means delete and recreate this chart
version = "0.9.0"
valuesFile = "" # from this TOML file
purge = false # will only be considered when there is a delete operation
test = true # run the tests whenever this release is installed/upgraded
[apps.vault]
name = "vault" # should be unique across all apps
description = "vault"
env = "staging" # maps to the namespace as defined in environmetns above
enabled = true # change to false if you want to delete this app release [empty = flase]
chart = "incubator/vault" # don't change the chart name, create a new release instead
version = "0.1.0"
valuesFile = "" # from this TOML file
purge = false # will only be considered when there is a delete operation
test = true # run the tests whenever this release is installed/upgraded