Skip to content
Permalink
Browse files

added zeebe orchestration helm chart

  • Loading branch information...
berndruecker committed Oct 4, 2018
1 parent 5aff1f3 commit 7c854c4a0002613a13ab62465d0f4efa40c7133b
Showing with 339 additions and 0 deletions.
  1. +4 −0 runner/kubernetes-helm/kafka-java-orchestration-zeebe/Chart.yaml
  2. +4 −0 ...ubernetes-helm/kafka-java-orchestration-zeebe/charts/kafka-java-orchestrated-inventory/Chart.yaml
  3. +32 −0 ...lm/kafka-java-orchestration-zeebe/charts/kafka-java-orchestrated-inventory/templates/_helpers.tpl
  4. +31 −0 ...kafka-java-orchestration-zeebe/charts/kafka-java-orchestrated-inventory/templates/deployment.yaml
  5. +13 −0 ...bernetes-helm/kafka-java-orchestration-zeebe/charts/kafka-java-orchestrated-inventory/values.yaml
  6. +4 −0 ...er/kubernetes-helm/kafka-java-orchestration-zeebe/charts/kafka-java-orchestrated-order/Chart.yaml
  7. +32 −0 ...s-helm/kafka-java-orchestration-zeebe/charts/kafka-java-orchestrated-order/templates/_helpers.tpl
  8. +32 −0 ...elm/kafka-java-orchestration-zeebe/charts/kafka-java-orchestrated-order/templates/deployment.yaml
  9. +13 −0 ...r/kubernetes-helm/kafka-java-orchestration-zeebe/charts/kafka-java-orchestrated-order/values.yaml
  10. +4 −0 .../kubernetes-helm/kafka-java-orchestration-zeebe/charts/kafka-java-orchestrated-payment/Chart.yaml
  11. +32 −0 ...helm/kafka-java-orchestration-zeebe/charts/kafka-java-orchestrated-payment/templates/_helpers.tpl
  12. +31 −0 ...m/kafka-java-orchestration-zeebe/charts/kafka-java-orchestrated-payment/templates/deployment.yaml
  13. +13 −0 ...kubernetes-helm/kafka-java-orchestration-zeebe/charts/kafka-java-orchestrated-payment/values.yaml
  14. +4 −0 ...kubernetes-helm/kafka-java-orchestration-zeebe/charts/kafka-java-orchestrated-shipping/Chart.yaml
  15. +32 −0 ...elm/kafka-java-orchestration-zeebe/charts/kafka-java-orchestrated-shipping/templates/_helpers.tpl
  16. +31 −0 .../kafka-java-orchestration-zeebe/charts/kafka-java-orchestrated-shipping/templates/deployment.yaml
  17. +13 −0 ...ubernetes-helm/kafka-java-orchestration-zeebe/charts/kafka-java-orchestrated-shipping/values.yaml
  18. +14 −0 runner/kubernetes-helm/kafka-java-orchestration-zeebe/requirements.yaml
@@ -0,0 +1,4 @@
apiVersion: v1
appVersion: "1.0"
name: flowing-retail-kafka-java-orchestration
version: 0.1.0
@@ -0,0 +1,4 @@
apiVersion: v1
appVersion: "1.0"
name: flowing-retail-kafka-java-orchestrated-inventory
version: 0.1.0
@@ -0,0 +1,32 @@
{{/* vim: set filetype=mustache: */}}
{{/*
Expand the name of the chart.
*/}}
{{- define "flowing-retail.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).
If release name contains chart name it will be used as a full name.
*/}}
{{- define "flowing-retail.fullname" -}}
{{- if .Values.fullnameOverride -}}
{{- .Values.fullnameOverride | trunc 63 | trimSuffix "-" -}}
{{- else -}}
{{- $name := default .Chart.Name .Values.nameOverride -}}
{{- if contains $name .Release.Name -}}
{{- .Release.Name | trunc 63 | trimSuffix "-" -}}
{{- else -}}
{{- printf "%s-%s" .Release.Name $name | trunc 63 | trimSuffix "-" -}}
{{- end -}}
{{- end -}}
{{- end -}}

{{/*
Create chart name and version as used by the chart label.
*/}}
{{- define "flowing-retail.chart" -}}
{{- printf "%s-%s" .Chart.Name .Chart.Version | replace "+" "_" | trunc 63 | trimSuffix "-" -}}
{{- end -}}
@@ -0,0 +1,31 @@
apiVersion: apps/v1beta2
kind: Deployment
metadata:
name: {{ include "flowing-retail.fullname" . }}
labels:
app: {{ include "flowing-retail.name" . }}
chart: {{ include "flowing-retail.chart" . }}
release: {{ .Release.Name }}
heritage: {{ .Release.Service }}
spec:
replicas: {{ .Values.replicaCount }}
selector:
matchLabels:
app: {{ include "flowing-retail.name" . }}
release: {{ .Release.Name }}
template:
metadata:
labels:
app: {{ include "flowing-retail.name" . }}
release: {{ .Release.Name }}
spec:
containers:
- name: {{ .Chart.Name }}
image: "{{ .Values.image.repository }}:{{ .Values.image.tag }}"
imagePullPolicy: {{ .Values.image.pullPolicy }}
env:
- name: spring.cloud.stream.kafka.binder.zkNodes
value: "confluent-cp-zookeeper:2181"
- name: spring.cloud.stream.kafka.binder.brokers
value: "confluent-cp-kafka:9092"

@@ -0,0 +1,13 @@
# Default values for flowing-retail.
# This is a YAML-formatted file.
# Declare variables to be passed into your templates.

replicaCount: 1

nameOverride: "kafka-java-orchestrated-inventory"
fullnameOverride: ""

image:
repository: "flowingretail/kafka-java-choreography-inventory"
tag: latest
pullPolicy: IfNotPresent
@@ -0,0 +1,4 @@
apiVersion: v1
appVersion: "1.0"
name: flowing-retail-kafka-java-orchestrated-order
version: 0.1.0
@@ -0,0 +1,32 @@
{{/* vim: set filetype=mustache: */}}
{{/*
Expand the name of the chart.
*/}}
{{- define "flowing-retail.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).
If release name contains chart name it will be used as a full name.
*/}}
{{- define "flowing-retail.fullname" -}}
{{- if .Values.fullnameOverride -}}
{{- .Values.fullnameOverride | trunc 63 | trimSuffix "-" -}}
{{- else -}}
{{- $name := default .Chart.Name .Values.nameOverride -}}
{{- if contains $name .Release.Name -}}
{{- .Release.Name | trunc 63 | trimSuffix "-" -}}
{{- else -}}
{{- printf "%s-%s" .Release.Name $name | trunc 63 | trimSuffix "-" -}}
{{- end -}}
{{- end -}}
{{- end -}}

{{/*
Create chart name and version as used by the chart label.
*/}}
{{- define "flowing-retail.chart" -}}
{{- printf "%s-%s" .Chart.Name .Chart.Version | replace "+" "_" | trunc 63 | trimSuffix "-" -}}
{{- end -}}
@@ -0,0 +1,32 @@
apiVersion: apps/v1beta2
kind: Deployment
metadata:
name: {{ include "flowing-retail.fullname" . }}
labels:
app: {{ include "flowing-retail.name" . }}
chart: {{ include "flowing-retail.chart" . }}
release: {{ .Release.Name }}
heritage: {{ .Release.Service }}
spec:
replicas: {{ .Values.replicaCount }}
selector:
matchLabels:
app: {{ include "flowing-retail.name" . }}
release: {{ .Release.Name }}
template:
metadata:
labels:
app: {{ include "flowing-retail.name" . }}
release: {{ .Release.Name }}
spec:
containers:
- name: {{ .Chart.Name }}
image: "{{ .Values.image.repository }}:{{ .Values.image.tag }}"
imagePullPolicy: {{ .Values.image.pullPolicy }}
env:
- name: spring.cloud.stream.kafka.binder.zkNodes
value: "confluent-cp-zookeeper:2181"
- name: spring.cloud.stream.kafka.binder.brokers
value: "confluent-cp-kafka:9092"
- name: zeebe.brokerContactPoint
value: "zeebe:26501"
@@ -0,0 +1,13 @@
# Default values for flowing-retail.
# This is a YAML-formatted file.
# Declare variables to be passed into your templates.

replicaCount: 1

nameOverride: "kafka-java-orchestrated-payment"
fullnameOverride: ""

image:
repository: "flowingretail/kafka-java-choreography-payment"
tag: latest
pullPolicy: IfNotPresent
@@ -0,0 +1,4 @@
apiVersion: v1
appVersion: "1.0"
name: flowing-retail-kafka-java-orchestrated-payment
version: 0.1.0
@@ -0,0 +1,32 @@
{{/* vim: set filetype=mustache: */}}
{{/*
Expand the name of the chart.
*/}}
{{- define "flowing-retail.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).
If release name contains chart name it will be used as a full name.
*/}}
{{- define "flowing-retail.fullname" -}}
{{- if .Values.fullnameOverride -}}
{{- .Values.fullnameOverride | trunc 63 | trimSuffix "-" -}}
{{- else -}}
{{- $name := default .Chart.Name .Values.nameOverride -}}
{{- if contains $name .Release.Name -}}
{{- .Release.Name | trunc 63 | trimSuffix "-" -}}
{{- else -}}
{{- printf "%s-%s" .Release.Name $name | trunc 63 | trimSuffix "-" -}}
{{- end -}}
{{- end -}}
{{- end -}}

{{/*
Create chart name and version as used by the chart label.
*/}}
{{- define "flowing-retail.chart" -}}
{{- printf "%s-%s" .Chart.Name .Chart.Version | replace "+" "_" | trunc 63 | trimSuffix "-" -}}
{{- end -}}
@@ -0,0 +1,31 @@
apiVersion: apps/v1beta2
kind: Deployment
metadata:
name: {{ include "flowing-retail.fullname" . }}
labels:
app: {{ include "flowing-retail.name" . }}
chart: {{ include "flowing-retail.chart" . }}
release: {{ .Release.Name }}
heritage: {{ .Release.Service }}
spec:
replicas: {{ .Values.replicaCount }}
selector:
matchLabels:
app: {{ include "flowing-retail.name" . }}
release: {{ .Release.Name }}
template:
metadata:
labels:
app: {{ include "flowing-retail.name" . }}
release: {{ .Release.Name }}
spec:
containers:
- name: {{ .Chart.Name }}
image: "{{ .Values.image.repository }}:{{ .Values.image.tag }}"
imagePullPolicy: {{ .Values.image.pullPolicy }}
env:
- name: spring.cloud.stream.kafka.binder.zkNodes
value: "confluent-cp-zookeeper:2181"
- name: spring.cloud.stream.kafka.binder.brokers
value: "confluent-cp-kafka:9092"

@@ -0,0 +1,13 @@
# Default values for flowing-retail.
# This is a YAML-formatted file.
# Declare variables to be passed into your templates.

replicaCount: 1

nameOverride: "kafka-java-choreographed-payment"
fullnameOverride: ""

image:
repository: "flowingretail/kafka-java-choreography-payment"
tag: latest
pullPolicy: IfNotPresent
@@ -0,0 +1,4 @@
apiVersion: v1
appVersion: "1.0"
name: flowing-retail-kafka-java-orchestrated-shipping
version: 0.1.0
@@ -0,0 +1,32 @@
{{/* vim: set filetype=mustache: */}}
{{/*
Expand the name of the chart.
*/}}
{{- define "flowing-retail.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).
If release name contains chart name it will be used as a full name.
*/}}
{{- define "flowing-retail.fullname" -}}
{{- if .Values.fullnameOverride -}}
{{- .Values.fullnameOverride | trunc 63 | trimSuffix "-" -}}
{{- else -}}
{{- $name := default .Chart.Name .Values.nameOverride -}}
{{- if contains $name .Release.Name -}}
{{- .Release.Name | trunc 63 | trimSuffix "-" -}}
{{- else -}}
{{- printf "%s-%s" .Release.Name $name | trunc 63 | trimSuffix "-" -}}
{{- end -}}
{{- end -}}
{{- end -}}

{{/*
Create chart name and version as used by the chart label.
*/}}
{{- define "flowing-retail.chart" -}}
{{- printf "%s-%s" .Chart.Name .Chart.Version | replace "+" "_" | trunc 63 | trimSuffix "-" -}}
{{- end -}}
@@ -0,0 +1,31 @@
apiVersion: apps/v1beta2
kind: Deployment
metadata:
name: {{ include "flowing-retail.fullname" . }}
labels:
app: {{ include "flowing-retail.name" . }}
chart: {{ include "flowing-retail.chart" . }}
release: {{ .Release.Name }}
heritage: {{ .Release.Service }}
spec:
replicas: {{ .Values.replicaCount }}
selector:
matchLabels:
app: {{ include "flowing-retail.name" . }}
release: {{ .Release.Name }}
template:
metadata:
labels:
app: {{ include "flowing-retail.name" . }}
release: {{ .Release.Name }}
spec:
containers:
- name: {{ .Chart.Name }}
image: "{{ .Values.image.repository }}:{{ .Values.image.tag }}"
imagePullPolicy: {{ .Values.image.pullPolicy }}
env:
- name: spring.cloud.stream.kafka.binder.zkNodes
value: "confluent-cp-zookeeper:2181"
- name: spring.cloud.stream.kafka.binder.brokers
value: "confluent-cp-kafka:9092"

@@ -0,0 +1,13 @@
# Default values for flowing-retail.
# This is a YAML-formatted file.
# Declare variables to be passed into your templates.

replicaCount: 1

nameOverride: "kafka-java-orchestrated-shipping"
fullnameOverride: ""

image:
repository: "flowingretail/kafka-java-orchestration-shipping"
tag: latest
pullPolicy: IfNotPresent
@@ -0,0 +1,14 @@
dependencies:
- name: flowing-retail-kafka-java-orchestrated-payment
version: 0.1.0
repository: file://./charts/kafka-java-orchestrated-payment
- name: flowing-retail-kafka-java-orchestrated-inventory
version: 0.1.0
repository: file://./charts/kafka-java-orchestrated-inventory
- name: flowing-retail-kafka-java-orchestrated-shipping
version: 0.1.0
repository: file://./charts/kafka-java-orchestrated-shipping
- name: flowing-retail-kafka-java-orchestrated-order
version: 0.1.0
repository: file://./charts/kafka-java-orchestrated-order

0 comments on commit 7c854c4

Please sign in to comment.
You can’t perform that action at this time.