mirror of
https://github.com/bvanroll/environment-ff-stage-euw1-gkecluster-primary-dev.git
synced 2025-08-29 03:52:45 +00:00
217 lines
5.6 KiB
YAML
217 lines
5.6 KiB
YAML
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" }}
|