This repository is currently being migrated. It's locked while the migration is in progress.
forked from digitalocean/marketplace-kubernetes
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Bump Robomotion from v1.1.0 to v1.12.1 (digitalocean#197)
- Loading branch information
Showing
37 changed files
with
2,260 additions
and
614 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
charts | ||
requirements.lock |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
--- | ||
apiVersion: v1 | ||
appVersion: 2021.01.31 | ||
description: Web-based Robotic Process Automation (RPA) platform | ||
name: robomotion | ||
version: 1.12.2 | ||
keywords: | ||
- rpa | ||
- automation | ||
home: https://www.robomotion.io | ||
icon: https://storage.googleapis.com/robomotion/images/logo.png | ||
maintainers: | ||
- name: Robomotion Yazilim Otomayon Sistemleri A.S. | ||
email: [email protected] | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
# Robomotion RPA | ||
|
||
Robomotion is a web-based and cloud-native Robotic Process Automation (RPA) platform. | ||
|
||
## Installation | ||
|
||
https://docs.robomotion.io/installation/kubernetes/installing-to-kubernetes | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
--- | ||
dependencies: | ||
- name: cert-manager | ||
alias: certmanager | ||
version: 0.9.1 | ||
repository: https://charts.jetstack.io | ||
condition: certmanager.enabled | ||
- name: postgresql | ||
version: 10.1.1 | ||
repository: https://charts.bitnami.com/bitnami | ||
condition: postgresql.enabled | ||
- name: redis | ||
version: 12.1.1 | ||
repository: https://charts.bitnami.com/bitnami | ||
condition: redis.enabled | ||
- name: minio | ||
version: 4.1.0 | ||
repository: https://charts.bitnami.com/bitnami | ||
condition: minio.enabled | ||
- name: ingress-nginx | ||
version: 3.16.1 | ||
repository: https://kubernetes.github.io/ingress-nginx | ||
condition: nginx-ingress.enabled | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,259 @@ | ||
{{/* vim: set filetype=mustache: */}} | ||
|
||
{{/* | ||
Expand the name of the chart. | ||
*/}} | ||
{{- define "robomotion.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 "robomotion.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 "robomotion.chart" -}} | ||
{{- printf "%s-%s" .Chart.Name .Chart.Version | replace "+" "_" | trunc 63 | trimSuffix "-" -}} | ||
{{- end -}} | ||
|
||
{{/* | ||
Common labels | ||
*/}} | ||
{{- define "robomotion.labels" -}} | ||
app.kubernetes.io/name: {{ include "robomotion.name" . }} | ||
helm.sh/chart: {{ include "robomotion.chart" . }} | ||
app.kubernetes.io/instance: {{ .Release.Name }} | ||
{{- if .Chart.AppVersion }} | ||
app.kubernetes.io/version: {{ .Chart.AppVersion | quote }} | ||
{{- end }} | ||
app.kubernetes.io/managed-by: {{ .Release.Service }} | ||
{{- end -}} | ||
|
||
{{/* | ||
The robomotion-admin name | ||
*/}} | ||
{{- define "robomotion-admin.name" -}} | ||
{{- default .Chart.Name .Values.admin.name .Values.nameOverride | trunc 63 | trimSuffix "-" -}} | ||
{{- end -}} | ||
|
||
{{/* | ||
The robomotion-api name | ||
*/}} | ||
{{- define "robomotion-api.name" -}} | ||
{{- default .Chart.Name .Values.api.name .Values.nameOverride | trunc 63 | trimSuffix "-" -}} | ||
{{- end -}} | ||
|
||
{{/* | ||
The robomotion-auth name | ||
*/}} | ||
{{- define "robomotion-auth.name" -}} | ||
{{- default .Chart.Name .Values.auth.name .Values.nameOverride | trunc 63 | trimSuffix "-" -}} | ||
{{- end -}} | ||
|
||
{{/* | ||
The robomotion-designer name | ||
*/}} | ||
{{- define "robomotion-designer.name" -}} | ||
{{- default .Chart.Name .Values.designer.name .Values.nameOverride | trunc 63 | trimSuffix "-" -}} | ||
{{- end -}} | ||
|
||
{{/* | ||
The robomotion-proxy name | ||
*/}} | ||
{{- define "robomotion-proxy.name" -}} | ||
{{- default .Chart.Name .Values.proxy.name .Values.nameOverride | trunc 63 | trimSuffix "-" -}} | ||
{{- end -}} | ||
|
||
{{/* | ||
The robomotion-scheduler name | ||
*/}} | ||
{{- define "robomotion-scheduler.name" -}} | ||
{{- default .Chart.Name .Values.scheduler.name .Values.nameOverride | trunc 63 | trimSuffix "-" -}} | ||
{{- end -}} | ||
|
||
{{/* | ||
The robomotion-migrations name | ||
*/}} | ||
{{- define "robomotion-migrations.name" -}} | ||
{{- default .Chart.Name .Values.migrations.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 "robomotion-migrations.fullname" -}} | ||
{{- if .Values.migrations.fullnameOverride -}} | ||
{{- .Values.migrations.fullnameOverride | trunc 63 | trimSuffix "-" -}} | ||
{{- else -}} | ||
{{- $name := default .Chart.Name .Values.migrations.name -}} | ||
{{- if contains $name .Release.Name -}} | ||
{{- .Release.Name | trunc 63 | trimSuffix "-" -}} | ||
{{- else -}} | ||
{{- printf "%s-%s" .Release.Name $name | trunc 63 | trimSuffix "-" -}} | ||
{{- end -}} | ||
{{- end -}} | ||
{{- 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 "robomotion-admin.fullname" -}} | ||
{{- if .Values.admin.fullnameOverride -}} | ||
{{- .Values.admin.fullnameOverride | trunc 63 | trimSuffix "-" -}} | ||
{{- else -}} | ||
{{- $name := default .Chart.Name .Values.admin.name -}} | ||
{{- if contains $name .Release.Name -}} | ||
{{- .Release.Name | trunc 63 | trimSuffix "-" -}} | ||
{{- else -}} | ||
{{- printf "%s-%s" .Release.Name $name | trunc 63 | trimSuffix "-" -}} | ||
{{- end -}} | ||
{{- end -}} | ||
{{- 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 "robomotion-api.fullname" -}} | ||
{{- if .Values.api.fullnameOverride -}} | ||
{{- .Values.api.fullnameOverride | trunc 63 | trimSuffix "-" -}} | ||
{{- else -}} | ||
{{- $name := default .Chart.Name .Values.api.name -}} | ||
{{- if contains $name .Release.Name -}} | ||
{{- .Release.Name | trunc 63 | trimSuffix "-" -}} | ||
{{- else -}} | ||
{{- printf "%s-%s" .Release.Name $name | trunc 63 | trimSuffix "-" -}} | ||
{{- end -}} | ||
{{- end -}} | ||
{{- 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 "robomotion-auth.fullname" -}} | ||
{{- if .Values.auth.fullnameOverride -}} | ||
{{- .Values.auth.fullnameOverride | trunc 63 | trimSuffix "-" -}} | ||
{{- else -}} | ||
{{- $name := default .Chart.Name .Values.auth.name -}} | ||
{{- if contains $name .Release.Name -}} | ||
{{- .Release.Name | trunc 63 | trimSuffix "-" -}} | ||
{{- else -}} | ||
{{- printf "%s-%s" .Release.Name $name | trunc 63 | trimSuffix "-" -}} | ||
{{- end -}} | ||
{{- end -}} | ||
{{- 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 "robomotion-designer.fullname" -}} | ||
{{- if .Values.designer.fullnameOverride -}} | ||
{{- .Values.designer.fullnameOverride | trunc 63 | trimSuffix "-" -}} | ||
{{- else -}} | ||
{{- $name := default .Chart.Name .Values.designer.name -}} | ||
{{- if contains $name .Release.Name -}} | ||
{{- .Release.Name | trunc 63 | trimSuffix "-" -}} | ||
{{- else -}} | ||
{{- printf "%s-%s" .Release.Name $name | trunc 63 | trimSuffix "-" -}} | ||
{{- end -}} | ||
{{- end -}} | ||
{{- 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 "robomotion-proxy.fullname" -}} | ||
{{- if .Values.proxy.fullnameOverride -}} | ||
{{- .Values.proxy.fullnameOverride | trunc 63 | trimSuffix "-" -}} | ||
{{- else -}} | ||
{{- $name := default .Chart.Name .Values.proxy.name -}} | ||
{{- if contains $name .Release.Name -}} | ||
{{- .Release.Name | trunc 63 | trimSuffix "-" -}} | ||
{{- else -}} | ||
{{- printf "%s-%s" .Release.Name $name | trunc 63 | trimSuffix "-" -}} | ||
{{- end -}} | ||
{{- end -}} | ||
{{- 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 "robomotion-scheduler.fullname" -}} | ||
{{- if .Values.scheduler.fullnameOverride -}} | ||
{{- .Values.scheduler.fullnameOverride | trunc 63 | trimSuffix "-" -}} | ||
{{- else -}} | ||
{{- $name := default .Chart.Name .Values.scheduler.name -}} | ||
{{- if contains $name .Release.Name -}} | ||
{{- .Release.Name | trunc 63 | trimSuffix "-" -}} | ||
{{- else -}} | ||
{{- printf "%s-%s" .Release.Name $name | trunc 63 | trimSuffix "-" -}} | ||
{{- end -}} | ||
{{- end -}} | ||
{{- 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 "robomotion.postgresql.fullname" -}} | ||
{{- printf "%s-%s" .Release.Name "postgresql" | 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 "robomotion.redis.fullname" -}} | ||
{{- printf "%s-%s" .Release.Name "redis" | 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 "robomotion.minio.fullname" -}} | ||
{{- printf "%s-%s" .Release.Name "minio" | trunc 63 | trimSuffix "-" -}} | ||
{{- end -}} | ||
|
||
{{/* | ||
Set redis host | ||
*/}} | ||
{{- define "robomotion.redis.host" -}} | ||
{{- template "robomotion.redis.fullname" . -}}-master | ||
{{- end -}} | ||
|
||
{{/* | ||
Set minio host | ||
*/}} | ||
{{- define "robomotion.minio.host" -}} | ||
{{- printf "%s-%s:9000" .Release.Name "minio" | trunc 63 | trimSuffix "-" -}} | ||
{{- end -}} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
{{- $host := ( index .Values.ingress.hosts 0 ) -}} | ||
{{- $scheme := ( $host.tls | ternary "https" "http" ) -}} | ||
{{- $apiURL := printf "%s://%s%s" $scheme ( .Values.api.ingress.hostname | default $host.name ) .Values.api.ingress.path -}} | ||
{{- $appURL := printf "%s://%s%s" $scheme ( .Values.auth.ingress.hostname | default $host.name ) .Values.auth.ingress.path -}} | ||
apiVersion: apps/v1 | ||
kind: Deployment | ||
metadata: | ||
name: {{ template "robomotion-admin.fullname" . }} | ||
labels: | ||
app: {{ template "robomotion-admin.fullname" . }} | ||
chart: {{ template "robomotion.chart" . }} | ||
heritage: {{ .Release.Service }} | ||
release: {{ .Release.Name }} | ||
component: {{ .Values.admin.name }} | ||
spec: | ||
selector: | ||
matchLabels: | ||
app: {{ template "robomotion-admin.fullname" . }} | ||
replicas: 1 | ||
template: | ||
metadata: | ||
labels: | ||
app: {{ template "robomotion-admin.fullname" . }} | ||
spec: | ||
containers: | ||
- name: {{ template "robomotion-admin.fullname" . }} | ||
image: "{{ .Values.admin.image }}:{{ .Values.admin.imageTag }}" | ||
ports: | ||
- containerPort: 80 | ||
name: http | ||
env: | ||
- name: API_URL | ||
value: {{ $apiURL }} | ||
- name: APP_URL | ||
value: {{ $appURL }} | ||
- name: SESSION_STORE_KEY | ||
valueFrom: | ||
secretKeyRef: | ||
name: {{ printf "%s-%s" .Release.Name "session-store" }} | ||
key: secret | ||
{{- if .Values.registry.secret }} | ||
imagePullSecrets: | ||
- name: {{ .Values.registry.secret }} | ||
{{- end }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
{{- $host := ( index .Values.ingress.hosts 0 ) -}} | ||
apiVersion: extensions/v1beta1 | ||
kind: Ingress | ||
metadata: | ||
name: {{ template "robomotion-admin.fullname" . }} | ||
annotations: | ||
{{- if .Values.certmanager.enabled }} | ||
certmanager.k8s.io/issuer: "{{ .Release.Name }}-issuer" | ||
{{- end }} | ||
nginx.ingress.kubernetes.io/ssl-redirect: {{ $host.tls | quote }} | ||
{{ toYaml .Values.ingress.annotations | indent 4 }} | ||
spec: | ||
{{- if $host.tls }} | ||
tls: | ||
- hosts: | ||
- {{ $host.name }} | ||
secretName: {{ $host.tlsSecret }} | ||
{{- end }} | ||
rules: | ||
- host: {{ .Values.api.ingress.hostname | default $host.name }} | ||
http: | ||
paths: | ||
- path: {{ .Values.admin.ingress.path }} | ||
backend: | ||
serviceName: {{ template "robomotion-admin.fullname" . }} | ||
servicePort: 80 |
Oops, something went wrong.