Skip to content

Commit ab9f08e

Browse files
authored
Merge pull request #553 from kmala/charts
feat(charts): Add helm charts for workflow
2 parents 297307c + 659116d commit ab9f08e

4 files changed

Lines changed: 220 additions & 0 deletions

File tree

charts/workflow/Chart.yaml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
name: workflow
2+
home: https://github.com/deis/workflow
3+
version: <Will be populated by the ci before publishing the chart>
4+
description: Deis Workflow
5+
maintainers:
6+
- name: Deis Team
7+
email: engineering@deis.com

charts/workflow/requirements.yaml

Lines changed: 52 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,52 @@
1+
dependencies:
2+
- name: builder
3+
version: <builder-tag>
4+
repository: https://charts.deis.com/builder
5+
- name: slugbuilder
6+
version: <slugbuilder-tag>
7+
repository: https://charts.deis.com/slugbuilder
8+
- name: dockerbuilder
9+
version: <dockerbuilder-tag>
10+
repository: https://charts.deis.com/dockerbuilder
11+
- name: controller
12+
version: <controller-tag>
13+
repository: https://charts.deis.com/controller
14+
- name: slugrunner
15+
version: <slugrunner-tag>
16+
repository: https://charts.deis.com/slugrunner
17+
- name: database
18+
version: <database-tag>
19+
repository: https://charts.deis.com/database
20+
- name: fluentd
21+
version: <fluentd-tag>
22+
repository: https://charts.deis.com/fluentd
23+
- name: redis
24+
version: <redis-tag>
25+
repository: https://charts.deis.com/redis
26+
- name: logger
27+
version: <logger-tag>
28+
repository: https://charts.deis.com/logger
29+
- name: minio
30+
version: <minio-tag>
31+
repository: https://charts.deis.com/minio
32+
- name: monitor
33+
version: <monitor-tag>
34+
repository: https://charts.deis.com/monitor
35+
- name: nsqd
36+
version: <nsqd-tag>
37+
repository: https://charts.deis.com/nsqd
38+
- name: registry
39+
version: <registry-tag>
40+
repository: https://charts.deis.com/registry
41+
- name: registry-proxy
42+
version: <registry-proxy-tag>
43+
repository: https://charts.deis.com/registry-proxy
44+
- name: registry-token-refresher
45+
version: <registry-token-refresher-tag>
46+
repository: https://charts.deis.com/registry-token-refresher
47+
- name: router
48+
version: <router-tag>
49+
repository: https://charts.deis.com/router
50+
- name: workflow-manager
51+
version: <workflow-manager-tag>
52+
repository: https://charts.deis.com/workflow-manager
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
apiVersion: batch/v1
2+
kind: Job
3+
metadata:
4+
name: deis-upgrade
5+
labels:
6+
heritage: deis
7+
annotations:
8+
"helm.sh/hook": post-upgrade
9+
spec:
10+
template:
11+
metadata:
12+
name: deis-upgrade
13+
spec:
14+
containers:
15+
- name: deis-upgrade
16+
image: quay.io/deis/workflow-upgrade:canary
17+
imagePullPolicy: Always
18+
restartPolicy: Never

charts/workflow/values.yaml

Lines changed: 143 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,143 @@
1+
#
2+
# This is the main configuration file for Deis object storage. The values in
3+
# this file are passed into the appropriate services so that they can configure
4+
# themselves for persisting data in object storage.
5+
#
6+
# In general, all object storage credentials must be able to read and write to
7+
# the container or bucket they are configured to use.
8+
#
9+
10+
global:
11+
# Set the storage backend
12+
#
13+
# Valid values are:
14+
# - s3: Store persistent data in AWS S3 (configure in S3 section)
15+
# - azure: Store persistent data in Azure's object storage
16+
# - gcs: Store persistent data in Google Cloud Storage
17+
# - minio: Store persistent data on in-cluster Minio server
18+
storage: minio
19+
# Set the location of Workflow's PostgreSQL database
20+
#
21+
# Valid values are:
22+
# - on-cluster: Run PostgreSQL within the Kubernetes cluster (credentials are generated
23+
# automatically; backups are sent to object storage
24+
# configured above)
25+
# - off-cluster: Run PostgreSQL outside the Kubernetes cluster (configure in database section)
26+
database_location: "on-cluster"
27+
# Set the location of Workflow's logger-specific Redis instance
28+
#
29+
# Valid values are:
30+
# - on-cluster: Run Redis within the Kubernetes cluster
31+
# - off-cluster: Run Redis outside the Kubernetes cluster (configure in loggerRedis section)
32+
logger_redis_location: "on-cluster"
33+
34+
# Set the location of Workflow's Registry
35+
#
36+
# Valid values are:
37+
# - on-cluster: Run registry within the Kubernetes cluster
38+
# - off-cluster: Use registry outside the Kubernetes cluster (example: dockerhub,quay.io,self-hosted)
39+
# - ecr: Use Amazon's ECR
40+
# - gcr: Use Google's GCR
41+
registry_location: "on-cluster"
42+
# The host port to which registry proxy binds to
43+
host_port: 5555
44+
# Prefix for the imagepull secret created when using private registry
45+
secret_prefix: "private-registry"
46+
47+
48+
s3:
49+
# Your AWS access key. Leave it empty if you want to use IAM credentials.
50+
accesskey: ""
51+
# Your AWS secret key. Leave it empty if you want to use IAM credentials.
52+
secretkey: ""
53+
# Any S3 region
54+
region: "us-west-1"
55+
# Your buckets.
56+
registry_bucket: "your-registry-bucket-name"
57+
database_bucket: "your-database-bucket-name"
58+
builder_bucket: "your-builder-bucket-name"
59+
60+
azure:
61+
accountname: "YOUR ACCOUNT NAME"
62+
accountkey: "YOUR ACCOUNT KEY"
63+
registry_container: "your-registry-container-name"
64+
database_container: "your-database-container-name"
65+
builder_container: "your-builder-container-name"
66+
67+
gcs:
68+
# key_json is expanded into a JSON file on the remote server. It must be
69+
# well-formatted JSON data.
70+
key_json: ''
71+
registry_bucket: "your-registry-bucket-name"
72+
database_bucket: "your-database-bucket-name"
73+
builder_bucket: "your-builder-bucket-name"
74+
75+
swift:
76+
username: "Your OpenStack Swift Username"
77+
password: "Your OpenStack Swift Password"
78+
authurl: "Swift auth URL for obtaining an auth token"
79+
# Your OpenStack tenant name if you are using auth version 2 or 3.
80+
tenant: ""
81+
authversion: "Your OpenStack swift auth version"
82+
registry_container: "your-registry-container-name"
83+
database_container: "your-database-container-name"
84+
builder_container: "your-builder-container-name"
85+
86+
# Set the default (global) way of how Application (your own) images are
87+
# pulled from within the Controller.
88+
# This can be configured per Application as well in the Controller.
89+
#
90+
# This affects pull apps and git push (slugrunner images) apps
91+
#
92+
# Values values are:
93+
# - Always
94+
# - IfNotPresent
95+
controller:
96+
app_pull_policy: "IfNotPresent"
97+
98+
database:
99+
# Configure the following ONLY if using an off-cluster PostgreSQL database
100+
postgres:
101+
name: "database name"
102+
username: "database username"
103+
password: "database password"
104+
host: "database host"
105+
port: "database port"
106+
107+
logger:
108+
redis:
109+
# Configure the following ONLY if using an off-cluster Redis instance for logger
110+
db: "0"
111+
host: "redis host"
112+
port: "redis port"
113+
password: "redis password" # "" == no password
114+
115+
monitor:
116+
grafana:
117+
user: "admin"
118+
password: "admin"
119+
120+
registry-token-refresher:
121+
# Time in minutes after which the token should be refreshed.
122+
# Leave it empty to use the default provider time.
123+
token_refresh_time: ""
124+
off_cluster_registry:
125+
hostname: ""
126+
organization: ""
127+
username: ""
128+
password: ""
129+
ecr:
130+
# Your AWS access key. Leave it empty if you want to use IAM credentials.
131+
accesskey: ""
132+
# Your AWS secret key. Leave it empty if you want to use IAM credentials.
133+
secretkey: ""
134+
# Any S3 region
135+
region: "us-west-2"
136+
registryid: ""
137+
hostname: ""
138+
gcr:
139+
key_json: 'Paste JSON data here.'
140+
hostname: ""
141+
142+
router:
143+
dhparam: ""

0 commit comments

Comments
 (0)