Add chart manifests to all services except Apollo UI

This commit is contained in:
Mustafa Gezen 2022-10-31 16:38:32 +01:00
parent 6bc4ea866c
commit 1c861fd53b
Signed by untrusted user who does not match committer: mustafa
GPG Key ID: DCDF010D946438C1
31 changed files with 155 additions and 1 deletions

View File

@ -15,5 +15,7 @@ peridot_k8s(
name = "apollo",
src = "deploy.jsonnet",
outs = RESFDEPLOY_OUTS_MIGRATE,
chart_yaml = "Chart.yaml",
values_yaml = "values.yaml",
deps = ["//ci"],
)

View File

@ -0,0 +1,6 @@
apiVersion: v2
name: apollo
description: Helm chart for apollo
type: application
version: 0.0.1
appVersion: "0.0.1"

View File

@ -0,0 +1,3 @@
# Ports under requires ingressHost to be set during deploy
http:
ingressHost: null

View File

@ -12,6 +12,8 @@ peridot_k8s(
name = "apollostarter",
src = "deploy.jsonnet",
outs = RESFDEPLOY_OUTS_MIGRATE,
chart_yaml = "Chart.yaml",
values_yaml = "values.yaml",
deps = [
"//ci",
],

View File

@ -0,0 +1,6 @@
apiVersion: v2
name: apollostarter
description: Helm chart for apollostarter
type: application
version: 0.0.1
appVersion: "0.0.1"

View File

@ -0,0 +1 @@
temporalHostPort: workflow-temporal-frontend.workflow.svc.cluster.local:7233

View File

@ -12,6 +12,8 @@ peridot_k8s(
name = "apolloworker",
src = "deploy.jsonnet",
outs = RESFDEPLOY_OUTS_MIGRATE,
chart_yaml = "Chart.yaml",
values_yaml = "values.yaml",
deps = [
"//ci",
],

View File

@ -0,0 +1,6 @@
apiVersion: v2
name: apolloworker
description: Helm chart for apolloworker
type: application
version: 0.0.1
appVersion: "0.0.1"

View File

@ -0,0 +1 @@
temporalHostPort: workflow-temporal-frontend.workflow.svc.cluster.local:7233

View File

@ -1,7 +1,9 @@
local utils = import 'ci/utils.jsonnet';
{
hostport: if utils.local_image then 'temporal-frontend.default.svc.cluster.local:7233' else 'workflow-temporal-frontend.workflow.svc.cluster.local:7233',
hostport: if utils.local_image then 'temporal-frontend.default.svc.cluster.local:7233'
else if utils.helm_mode then '{{ .Values.temporalHostPort }}'
else 'workflow-temporal-frontend.workflow.svc.cluster.local:7233',
kube_env(prefix): [
{
name: '%s_TEMPORAL_HOSTPORT' % prefix,

View File

@ -15,5 +15,7 @@ peridot_k8s(
name = "obsidian",
src = "deploy.jsonnet",
outs = RESFDEPLOY_OUTS_MIGRATE,
chart_yaml = "Chart.yaml",
values_yaml = "values.yaml",
deps = ["//ci"],
)

View File

@ -0,0 +1,6 @@
apiVersion: v2
name: obsidian
description: Helm chart for obsidian
type: application
version: 0.0.1
appVersion: "0.0.1"

View File

@ -0,0 +1,3 @@
# Ports under requires ingressHost to be set during deploy
http:
ingressHost: null

View File

@ -54,5 +54,7 @@ peridot_k8s(
name = "obsidian-frontend",
src = "deploy.jsonnet",
outs = RESFDEPLOY_OUTS_BASE,
chart_yaml = "Chart.yaml",
values_yaml = "values.yaml",
deps = ["//ci"],
)

6
obsidian/ui/Chart.yaml Normal file
View File

@ -0,0 +1,6 @@
apiVersion: v2
name: obsidian-frontend
description: Helm chart for Obsidian frontend
type: application
version: 0.0.1
appVersion: "0.0.1"

3
obsidian/ui/values.yaml Normal file
View File

@ -0,0 +1,3 @@
# Ports under requires ingressHost to be set during deploy
http:
ingressHost: null

View File

@ -12,5 +12,7 @@ peridot_k8s(
name = "keykeeper",
src = "deploy.jsonnet",
outs = RESFDEPLOY_OUTS_MIGRATE,
chart_yaml = "Chart.yaml",
values_yaml = "values.yaml",
deps = ["//ci"],
)

View File

@ -0,0 +1,6 @@
apiVersion: v2
name: keykeeper
description: Helm chart for keykeeper
type: application
version: 0.0.1
appVersion: "0.0.1"

View File

@ -0,0 +1,9 @@
temporalHostPort: workflow-temporal-frontend.workflow.svc.cluster.local:7233
# Set if not AWS S3 (example: Minio)
s3Endpoint: null
s3DisableSsl: false
s3ForcePathStyle: false
s3Region: us-east-2
awsRegion: us-east-2
s3Bucket: resf-peridot-prod

View File

@ -12,6 +12,7 @@ peridot_k8s(
name = "peridotephemeral",
src = "deploy.jsonnet",
outs = RESFDEPLOY_OUTS_MIGRATE_CUSTOM,
chart_yaml = "Chart.yaml",
dependent_push = select({
"//platforms:x86_64": [
"//peridot/cmd/v1/peridotbuilder/ci:peridotbuilder_amd64_container",
@ -29,6 +30,7 @@ peridot_k8s(
"//peridot/cmd/v1/peridotbuilder/ci:peridotbuilder_ppc64le_container",
],
}),
values_yaml = "values.yaml",
deps = [
"//ci",
],

View File

@ -0,0 +1,6 @@
apiVersion: v2
name: peridotephemeral
description: Helm chart for peridotephemeral
type: application
version: 0.0.1
appVersion: "0.0.1"

View File

@ -0,0 +1,32 @@
# These default to values in deploy.jsonnet (automatically set by resfdeploy)
builderOciImageX8664: null
builderOciImageAarch64: null
builderOciImageS390x: null
builderOciImagePpc64le: null
imagePullSecret: null
# Set if not AWS S3 (example: Minio)
s3Endpoint: null
s3DisableSsl: false
s3ForcePathStyle: false
s3Region: us-east-2
awsRegion: us-east-2
s3Bucket: resf-peridot-prod
# Set to true if your cluster can emulate using qemu (example: Docker Desktop on Mac)
k8sSupportsCrossPlatformNoAffinity: false
# Set to contact services in another cluster (Example: from extarches to main)
yumrepofsHttpEndpointOverride: null
temporalHostPort: null
# Provision only mode doesn't take on any "real" work other than provision and destroying workers
# This is set to true for extarches site
provisionOnly: false
site: normal
# AWS credentials for external sites (non-AWS sites)
awsAccessKeyId: null
awsSecretAccessKey: null

View File

@ -12,5 +12,7 @@ peridot_k8s(
name = "yumrepofs",
src = "deploy.jsonnet",
outs = RESFDEPLOY_OUTS_MIGRATE,
chart_yaml = "Chart.yaml",
values_yaml = "values.yaml",
deps = ["//ci"],
)

View File

@ -0,0 +1,6 @@
apiVersion: v2
name: yumrepofs
description: Helm chart for yumrepofs
type: application
version: 0.0.1
appVersion: "0.0.1"

View File

@ -0,0 +1,10 @@
# Set if not AWS S3 (example: Minio)
s3Endpoint: null
s3DisableSsl: false
s3ForcePathStyle: false
s3Region: us-east-2
awsRegion: us-east-2
s3Bucket: resf-peridot-prod
# Role to assume for S3 pre-signed URLs
s3AssumeRole: null

View File

@ -12,5 +12,7 @@ peridot_k8s(
name = "yumrepofsupdater",
src = "deploy.jsonnet",
outs = RESFDEPLOY_OUTS_MIGRATE,
chart_yaml = "Chart.yaml",
values_yaml = "values.yaml",
deps = ["//ci"],
)

View File

@ -0,0 +1,6 @@
apiVersion: v2
name: yumrepofsupdater
description: Helm chart for yumrepofsupdater
type: application
version: 0.0.1
appVersion: "0.0.1"

View File

@ -0,0 +1,7 @@
# Set if not AWS S3 (example: Minio)
s3Endpoint: null
s3DisableSsl: false
s3ForcePathStyle: false
s3Region: us-east-2
awsRegion: us-east-2
s3Bucket: resf-peridot-prod

View File

@ -55,5 +55,7 @@ peridot_k8s(
name = "peridot-frontend",
src = "deploy.jsonnet",
outs = RESFDEPLOY_OUTS_BASE,
chart_yaml = "Chart.yaml",
values_yaml = "values.yaml",
deps = ["//ci"],
)

6
peridot/ui/Chart.yaml Normal file
View File

@ -0,0 +1,6 @@
apiVersion: v2
name: peridot-frontend
description: Helm chart for Peridot frontend
type: application
version: 0.0.1
appVersion: "0.0.1"

3
peridot/ui/values.yaml Normal file
View File

@ -0,0 +1,3 @@
# Ports under requires ingressHost to be set during deploy
http:
ingressHost: null