Skip to content

Commit 3805a61

Browse files
committed
wip
1 parent 86e535b commit 3805a61

File tree

3 files changed

+65
-0
lines changed

3 files changed

+65
-0
lines changed

helm/install-values.yaml

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
csdp-installer:
2+
enabled: true
3+
4+
# CSDP platform details:
5+
platform:
6+
# The Codefresh platform URL
7+
url: <PLATFORM_URL> # if not https://g.codefresh.io, otherwise, leave empty
8+
# Codefresh API Key
9+
token: <PLATFORM_API_KEY>
10+
11+
runtime:
12+
# CSDP runtime name
13+
name: <RUNTIME_NAME>
14+
# CSDP runtime installation repo url
15+
repo: <INSTALLATION_REPO>
16+
# Git authentication token
17+
gitToken: <GIT_TOKEN>
18+
# Ingress URL that will be used to reach to services inside of the cluster
19+
ingressURL: <INGRESS_URL>
20+
# Kubernetes cluster address or name that will be used to identify this cluster
21+
cluster: https://kubernetes.docker.internal:6443
22+
23+
# Controlls the spec of the csdp installer job
24+
installer:
25+
image:
26+
repository: quay.io/codefresh/csdp-installer
27+
pullPolicy: IfNotPresent
28+
# Default tag is the chart appVersion
29+
tag: ""
30+
serviceAccount: argocd-server
31+
ttlSecondsAfterFinished: 600
32+
backoffLimit: 20
33+
resources:
34+
limits:
35+
memory: 256Mi
36+
cpu: "1"
37+
requests:
38+
memory: 128Mi
39+
cpu: "0.2"

helm/templates/secret.yaml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
{{- if .Values.csdp-installer.enabled }}
2+
apiVersion: v1
3+
kind: Secret
4+
metadata:
5+
name: csdp-installer
6+
stringData:
7+
csdp.url: {{ .Values.csdp-installer.platform.url }}
8+
csdp.token: {{ .Values.csdp-installer.platform.token }}
9+
runtime.name: {{ .Values.csdp-installer.runtime.name }}
10+
runtime.repo: {{ .Values.csdp-installer.runtime.repo }}
11+
runtime.gitToken: {{ .Values.csdp-installer.runtime.gitToken }}
12+
runtime.ingressURL: {{ .Values.csdp-installer.runtime.ingressURL }}
13+
runtime.cluster: {{ .Values.csdp-installer.runtime.cluster }}
14+
{{ end }}
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
apiVersion: v1
2+
kind: Secret
3+
metadata:
4+
name: csdp-installer
5+
stringData:
6+
csdp.url: <CSDP_URL>
7+
csdp.token: <CSDP_TOKEN>
8+
runtime.name: <RUNTIME_NAME>
9+
runtime.repo: <RUNTIME_REPO>
10+
runtime.gitToken: <RUNTIME_GIT_TOKEN>
11+
runtime.ingressURL: <RUNTIME_INGRESS_URL>
12+
runtime.cluster: <RUNTIME_CLUSTER>

0 commit comments

Comments
 (0)