initial config based of jenkins-x/jenkins-x-boot-config with ref v1.0.82

This commit is contained in:
jenkins-x-bot
2020-04-15 12:37:41 +02:00
commit 9434645ce5
106 changed files with 2971 additions and 0 deletions

216
env/jxboot-resources/values.tmpl.yaml vendored Normal file
View File

@@ -0,0 +1,216 @@
cluster:
domain: {{ .Requirements.ingress.domain }}
{{- if hasKey .Requirements.ingress "exposer" }}
exposer: {{ .Requirements.ingress.exposer }}
{{- else if eq .Requirements.cluster.provider "openshift" }}
exposer: Route
{{- else if eq .Requirements.cluster.provider "minishift" }}
exposer: Route
{{- else }}
exposer: Ingress
{{- end }}
namespace: {{ .Requirements.cluster.namespace | default "jx" }}
namespaceSubDomain: {{ .Requirements.ingress.namespaceSubDomain | default ".jx." }}
{{- if hasKey .Requirements.cluster "project" }}
projectID: {{ .Requirements.cluster.project }}
{{- else }}
projectID: ""
{{- end }}
{{- if hasKey .Requirements.cluster "zone" }}
zone: {{ .Requirements.cluster.zone }}
{{- else }}
zone: ""
{{- end }}
name: ""
{{- if hasKey .Requirements.cluster "provider" }}
provider: {{ .Requirements.cluster.provider }}
{{- end }}
serverUrl: ""
{{- if .Requirements.ingress.tls.enabled }}
tls: true
{{- else }}
tls: false
{{- end }}
gitops:
versionStreamUrl: {{ .Requirements.versionStream.url }}
versionStreamRef: {{ .Requirements.versionStream.ref }}
gitKind: {{ .Requirements.cluster.gitKind | default "github" }}
gitName: {{ .Requirements.cluster.gitName | default "github" }}
{{- if hasKey .Requirements.cluster "gitPublic" }}
gitPublic: {{ .Requirements.cluster.gitPublic }}
{{- end }}
server: {{ .Requirements.cluster.gitServer | default "https://github.com" }}
owner: {{ .Requirements.cluster.environmentGitOwner }}
webhook: {{ .Requirements.webhook | default "prow" | quote }}
{{- if eq .Requirements.cluster.gitKind "bitbucketserver" }}
gitUrlPathPrefix: "/scm"
{{- else }}
gitUrlPathPrefix: ""
{{- end }}
dev:
server: ""
{{- if .Requirements.gitops }}
repo: "{{ .Environments.dev.repository }}"
owner: "{{ .Environments.dev.owner }}"
envOrganisation: "{{ .Requirements.cluster.environmentGitOwner }}"
{{- else }}
repo: ""
owner: ""
envOrganisation: ""
{{- end }}
{{- if eq .Requirements.cluster.provider "gke" }}
dockerRegistryOrg: "{{ .Requirements.cluster.project }}"
{{- else }}
dockerRegistryOrg: ""
{{- end }}
staging:
repo: "{{ .Environments.staging.repository }}"
owner: "{{ .Environments.staging.owner | default .Requirements.cluster.environmentGitOwner }}"
server: ""
namespace: {{ .Requirements.cluster.namespace | default "jx" }}-staging
{{- if hasKey .Environments.staging "remoteCluster" }}
remote: {{ .Environments.staging.remoteCluster | default "false" }}
{{- end }}
production:
repo: "{{ .Environments.production.repository }}"
owner: "{{ .Environments.production.owner | default .Requirements.cluster.environmentGitOwner }}"
server: ""
namespace: {{ .Requirements.cluster.namespace | default "jx" }}-production
{{- if hasKey .Environments.production "remoteCluster" }}
remote: {{ .Environments.production.remoteCluster | default "false" }}
{{- end }}
storage:
logs:
url: "{{ .Requirements.storage.logs.url }}"
reports:
url: "{{ .Requirements.storage.reports.url }}"
repository:
url: "{{ .Requirements.storage.repository.url }}"
expose:
enabled: false
cleanup:
enabled: false
controllerbuild:
enabled: true
controllerteam:
enabled: false
controllerworkflow:
enabled: false
jenkins:
enabled: false
jenkins-x-platform:
chartmuseum:
enabled: true
env:
open:
AUTH_ANONYMOUS_GET: true
DISABLE_API: false
# STORAGE: google
# STORAGE_GOOGLE_BUCKET: chartmuseum.jenkins-x.io
# STORAGE_GOOGLE_PREFIX: charts
# gcp:
# secret:
# enabled: true
# key: gcs-chartmuseum.key.json
# name: gcs-jenkinsx-chartmuseum
image:
tag: v0.7.1
controllerbuild:
enabled: true
jenkins:
Agent:
PodTemplates:
Go:
Containers:
Go:
Image: jenkinsxio/builder-go:latest
Maven:
Containers:
Maven:
Image: jenkinsxio/builder-maven:latest
volumes:
- mountPath: /root/.m2/
secretName: jenkins-maven-settings
type: Secret
- mountPath: /home/jenkins/.docker
secretName: jenkins-docker-cfg
type: Secret
Nodejs:
Containers:
Nodejs:
Image: jenkinsxio/builder-nodejs:latest
monocular:
api:
livenessProbe:
initialDelaySeconds: 1000
nexus:
persistence:
size: 100Gi
postinstalljob:
enabled: "true"
tekton:
webhook:
enabled: false
JenkinsXGitHub:
username: "{{ .Parameters.pipelineUser.username }}"
email: "{{ .Parameters.pipelineUser.email }}"
password: "{{ .Parameters.pipelineUser.token }}"
{{- if .Requirements.ingress.tls }}
certmanager:
production: "{{ .Requirements.ingress.tls.production }}"
{{- if .Requirements.ingress.tls.enabled }}
email: "{{ .Requirements.ingress.tls.email }}"
{{- else }}
enabled: false
{{- end }}
{{- end }}
lighthouse:
{{- if eq .Requirements.webhook "lighthouse" }}
enabled: true
{{- else }}
enabled: false
{{- end }}
nexus:
{{- if eq .Requirements.repository "nexus" }}
enabled: true
{{- else }}
enabled: false
{{- end }}
prow:
{{- if eq .Requirements.webhook "prow" }}
enabled: true
{{- else }}
enabled: false
{{- end }}
vault:
{{- if eq .Requirements.secretStorage "vault" }}
enabled: true
{{- else }}
enabled: false
{{- end }}
{{- if .Requirements.autoUpdate }}
autoUpdate:
schedule: {{ .Requirements.autoUpdate.schedule | quote }}
enabled: {{ .Requirements.autoUpdate.enabled }}
{{- end }}
versions:
builders: {{ versionStream "docker" "gcr.io/jenkinsxio/builder-go" }}