Add argo-ci helm chart
This commit is contained in:
parent
bfee1f32cf
commit
d5634a3af2
12 changed files with 110 additions and 3 deletions
1
charts/argo-ci/.gitignore
vendored
Normal file
1
charts/argo-ci/.gitignore
vendored
Normal file
|
@ -0,0 +1 @@
|
||||||
|
charts
|
21
charts/argo-ci/.helmignore
Normal file
21
charts/argo-ci/.helmignore
Normal file
|
@ -0,0 +1,21 @@
|
||||||
|
# Patterns to ignore when building packages.
|
||||||
|
# This supports shell glob matching, relative path matching, and
|
||||||
|
# negation (prefixed with !). Only one pattern per line.
|
||||||
|
.DS_Store
|
||||||
|
# Common VCS dirs
|
||||||
|
.git/
|
||||||
|
.gitignore
|
||||||
|
.bzr/
|
||||||
|
.bzrignore
|
||||||
|
.hg/
|
||||||
|
.hgignore
|
||||||
|
.svn/
|
||||||
|
# Common backup files
|
||||||
|
*.swp
|
||||||
|
*.bak
|
||||||
|
*.tmp
|
||||||
|
*~
|
||||||
|
# Various IDEs
|
||||||
|
.project
|
||||||
|
.idea/
|
||||||
|
*.tmproj
|
4
charts/argo-ci/Chart.yaml
Normal file
4
charts/argo-ci/Chart.yaml
Normal file
|
@ -0,0 +1,4 @@
|
||||||
|
apiVersion: v1
|
||||||
|
description: A Helm chart for Kubernetes
|
||||||
|
name: argo-ci
|
||||||
|
version: 0.1.0
|
6
charts/argo-ci/requirements.lock
Normal file
6
charts/argo-ci/requirements.lock
Normal file
|
@ -0,0 +1,6 @@
|
||||||
|
dependencies:
|
||||||
|
- name: argo
|
||||||
|
repository: https://argoproj.github.io/argo-helm
|
||||||
|
version: 0.1.0
|
||||||
|
digest: sha256:21178ca15d323c4fa0d8c11dd50b025a590578cee0521202badc2b704af4e292
|
||||||
|
generated: 2018-01-03T12:11:21.170089-08:00
|
4
charts/argo-ci/requirements.yaml
Normal file
4
charts/argo-ci/requirements.yaml
Normal file
|
@ -0,0 +1,4 @@
|
||||||
|
dependencies:
|
||||||
|
- name: argo
|
||||||
|
version: 0.1.0
|
||||||
|
repository: https://argoproj.github.io/argo-helm
|
0
charts/argo-ci/templates/NOTES.txt
Normal file
0
charts/argo-ci/templates/NOTES.txt
Normal file
16
charts/argo-ci/templates/_helpers.tpl
Normal file
16
charts/argo-ci/templates/_helpers.tpl
Normal file
|
@ -0,0 +1,16 @@
|
||||||
|
{{/* vim: set filetype=mustache: */}}
|
||||||
|
{{/*
|
||||||
|
Expand the name of the chart.
|
||||||
|
*/}}
|
||||||
|
{{- define "name" -}}
|
||||||
|
{{- default .Chart.Name .Values.nameOverride | trunc 63 | trimSuffix "-" -}}
|
||||||
|
{{- end -}}
|
||||||
|
|
||||||
|
{{/*
|
||||||
|
Create a default fully qualified app name.
|
||||||
|
We truncate at 63 chars because some Kubernetes name fields are limited to this (by the DNS naming spec).
|
||||||
|
*/}}
|
||||||
|
{{- define "fullname" -}}
|
||||||
|
{{- $name := default .Chart.Name .Values.nameOverride -}}
|
||||||
|
{{- printf "%s-%s" .Release.Name $name | trunc 63 | trimSuffix "-" -}}
|
||||||
|
{{- end -}}
|
28
charts/argo-ci/templates/ci-deployment.yaml
Normal file
28
charts/argo-ci/templates/ci-deployment.yaml
Normal file
|
@ -0,0 +1,28 @@
|
||||||
|
apiVersion: extensions/v1beta1
|
||||||
|
kind: Deployment
|
||||||
|
metadata:
|
||||||
|
name: {{ .Release.Name }}-ci
|
||||||
|
labels:
|
||||||
|
chart: {{ .Chart.Name }}-{{ .Chart.Version | replace "+" "_" }}
|
||||||
|
release: {{ .Release.Name }}
|
||||||
|
heritage: {{ .Release.Service }}
|
||||||
|
spec:
|
||||||
|
template:
|
||||||
|
metadata:
|
||||||
|
labels:
|
||||||
|
app: {{ .Release.Name }}-ci
|
||||||
|
release: {{ .Release.Name }}
|
||||||
|
spec:
|
||||||
|
containers:
|
||||||
|
- name: ci
|
||||||
|
image: "{{ .Values.imageNamespace }}/{{ .Values.ciImage }}:{{ .Values.imageTag }}"
|
||||||
|
env:
|
||||||
|
- name: IN_CLUSTER
|
||||||
|
value: "true"
|
||||||
|
- name: NAMESPACE
|
||||||
|
value: 'default'
|
||||||
|
- name: ARGO_CI_IMAGE
|
||||||
|
value: {{ .Values.imageNamespace }}/{{ .Values.ciImage }}
|
||||||
|
ports:
|
||||||
|
- containerPort: 8001
|
||||||
|
- containerPort: 8002
|
17
charts/argo-ci/templates/ci-service.yaml
Normal file
17
charts/argo-ci/templates/ci-service.yaml
Normal file
|
@ -0,0 +1,17 @@
|
||||||
|
apiVersion: v1
|
||||||
|
kind: Service
|
||||||
|
metadata:
|
||||||
|
name: {{ .Release.Name }}-ci
|
||||||
|
labels:
|
||||||
|
chart: {{ .Chart.Name }}-{{ .Chart.Version | replace "+" "_" }}
|
||||||
|
release: {{ .Release.Name }}
|
||||||
|
heritage: {{ .Release.Service }}
|
||||||
|
spec:
|
||||||
|
ports:
|
||||||
|
- port: 80
|
||||||
|
protocol: TCP
|
||||||
|
targetPort: 8001
|
||||||
|
selector:
|
||||||
|
app: {{ .Release.Name }}-ci
|
||||||
|
sessionAffinity: None
|
||||||
|
type: LoadBalancer
|
10
charts/argo-ci/values.yaml
Normal file
10
charts/argo-ci/values.yaml
Normal file
|
@ -0,0 +1,10 @@
|
||||||
|
imageNamespace: argoproj
|
||||||
|
ciImage: argoci
|
||||||
|
imageTag: latest
|
||||||
|
|
||||||
|
argo-ci:
|
||||||
|
imagesNamespace: argoproj
|
||||||
|
imagesTag: v2.0.0-alpha3
|
||||||
|
enableWebConsole: false
|
||||||
|
installMinio: true
|
||||||
|
minioBucketName: argo-artifacts
|
|
@ -2,5 +2,5 @@ dependencies:
|
||||||
- name: minio
|
- name: minio
|
||||||
repository: https://kubernetes-charts.storage.googleapis.com/
|
repository: https://kubernetes-charts.storage.googleapis.com/
|
||||||
version: 0.4.3
|
version: 0.4.3
|
||||||
digest: sha256:b67924f37f043c1fa76d5eeae48fc89bfb66d4f181bc470e321db4054959e63e
|
digest: sha256:2282e3be8457161f7fb79fe1a6a871a972146574b365e69b18d9c46e16d6c47d
|
||||||
generated: 2018-01-02T13:30:37.422817-08:00
|
generated: 2018-01-03T12:09:41.060101-08:00
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
imagesNamespace: argoproj
|
imagesNamespace: argoproj
|
||||||
controllerImage: workflow-controller
|
controllerImage: workflow-controller
|
||||||
uiImage: argoui
|
uiImage: argoui
|
||||||
imagesTag: latest
|
imagesTag: v2.0.0-alpha3
|
||||||
controllerName: workflow-controller
|
controllerName: workflow-controller
|
||||||
enableWebConsole: false
|
enableWebConsole: false
|
||||||
executorImage: argoexec
|
executorImage: argoexec
|
||||||
|
|
Loading…
Reference in a new issue