mirror of
https://github.com/bvanroll/environment-ff-stage-euw1-gkecluster-primary-dev.git
synced 2025-08-29 12:02:41 +00:00
initial config based of jenkins-x/jenkins-x-boot-config with ref v1.0.82
This commit is contained in:
6
systems/jx-auth/Chart.yaml
Normal file
6
systems/jx-auth/Chart.yaml
Normal file
@@ -0,0 +1,6 @@
|
||||
apiVersion: v1
|
||||
description: Jx Auth Chart
|
||||
maintainers:
|
||||
- name: Team
|
||||
name: jx-auth
|
||||
version: "1"
|
24
systems/jx-auth/jx-auth-configmap.tmpl.yaml
Normal file
24
systems/jx-auth/jx-auth-configmap.tmpl.yaml
Normal file
@@ -0,0 +1,24 @@
|
||||
{{- if eq .Requirements.secretStorage "vault" }}
|
||||
apiVersion: v1
|
||||
kind: ConfigMap
|
||||
metadata:
|
||||
name: jx-auth-config
|
||||
labels:
|
||||
jenkins.io/created-by: jx
|
||||
jenkins.io/config-type: auth
|
||||
data:
|
||||
gitAuth.yaml: |
|
||||
currentserver: "{{ .Requirements.cluster.gitServer }}"
|
||||
defaultusername: "{{ .Parameters.pipelineUser.username }}"
|
||||
pipelineserver: "{{ .Requirements.cluster.gitServer }}"
|
||||
pipelineusername: "{{ .Parameters.pipelineUser.username }}"
|
||||
servers:
|
||||
- currentuser: "{{ .Parameters.pipelineUser.username }}"
|
||||
kind: "{{ .Requirements.cluster.gitKind }}"
|
||||
name: "{{ .Requirements.cluster.gitName }}"
|
||||
url: "{{ .Requirements.cluster.gitServer }}"
|
||||
users:
|
||||
- apitoken: "{{ .Parameters.pipelineUser.token }}"
|
||||
bearertoken: ""
|
||||
username: "{{ .Parameters.pipelineUser.username }}"
|
||||
{{- end }}
|
1
systems/jx-auth/templates/jx-auth-configmap.yaml
Normal file
1
systems/jx-auth/templates/jx-auth-configmap.yaml
Normal file
@@ -0,0 +1 @@
|
||||
# This jx auth configmap will be generated from template
|
Reference in New Issue
Block a user