디렉토리 구조 및 각 서비스 추가
This commit is contained in:
5
helm/jenkins/ci/default-values.yaml
Normal file
5
helm/jenkins/ci/default-values.yaml
Normal file
@@ -0,0 +1,5 @@
|
||||
# this file is empty to check if defaults within values.yaml work as expected
|
||||
controller:
|
||||
JCasC:
|
||||
configScripts:
|
||||
empty: ""
|
||||
95
helm/jenkins/ci/other-values.yaml
Normal file
95
helm/jenkins/ci/other-values.yaml
Normal file
@@ -0,0 +1,95 @@
|
||||
---
|
||||
controller:
|
||||
overwritePluginsFromImage: false
|
||||
containerSecurityContext: ""
|
||||
runAsUser: 0
|
||||
fsGroup: 1000
|
||||
JCasC:
|
||||
authorizationStrategy: |-
|
||||
loggedInUsersCanDoAnything:
|
||||
allowAnonymousRead: true
|
||||
securityRealm: |-
|
||||
ldap:
|
||||
configurations:
|
||||
- server: ldap.acme.com
|
||||
rootDN: dc=acme,dc=uk
|
||||
managerPasswordSecret: ${LDAP_PASSWORD}
|
||||
groupMembershipStrategy:
|
||||
fromUserRecord:
|
||||
attributeName: "memberOf"
|
||||
additionalPlugins:
|
||||
- ldap:2.5
|
||||
scriptApproval:
|
||||
- "method groovy.json.JsonSlurperClassic parseText java.lang.String"
|
||||
- "new groovy.json.JsonSlurperClassic"
|
||||
|
||||
ingress:
|
||||
enabled: true
|
||||
|
||||
persistence:
|
||||
enabled: false
|
||||
|
||||
agent:
|
||||
resources:
|
||||
limits:
|
||||
cpu: "1"
|
||||
memory: "2048Mi"
|
||||
envVars:
|
||||
- name: HOME
|
||||
value: /home/jenkins/agent
|
||||
- name: PATH
|
||||
value: /usr/local/bin
|
||||
nodeSelector:
|
||||
"app.kubernetes.io/component": "{{ .Values.agent.componentName }}"
|
||||
yamlTemplate: |-
|
||||
apiVersion: v1
|
||||
kind: Pod
|
||||
spec:
|
||||
tolerations:
|
||||
- key: "app.kubernetes.io/component"
|
||||
operator: "Equal"
|
||||
value: "{{ .Values.agent.componentName }}"
|
||||
effect: "NoSchedule"
|
||||
additionalAgents:
|
||||
maven:
|
||||
podName: maven
|
||||
customJenkinsLabels: maven
|
||||
# An example of overriding the jnlp container
|
||||
# sideContainerName: jnlp
|
||||
image: jenkins/jnlp-agent-maven
|
||||
tag: latest
|
||||
python:
|
||||
podName: python
|
||||
customJenkinsLabels: python
|
||||
sideContainerName: python
|
||||
image: python
|
||||
tag: "3"
|
||||
command: "/bin/sh -c"
|
||||
args: "cat"
|
||||
TTYEnabled: true
|
||||
podTemplates:
|
||||
python: |
|
||||
- name: python
|
||||
label: jenkins-python
|
||||
containers:
|
||||
- name: python
|
||||
image: python:3
|
||||
command: "/bin/sh -c"
|
||||
args: "cat"
|
||||
ttyEnabled: true
|
||||
privileged: true
|
||||
resourceRequestCpu: "400m"
|
||||
resourceRequestMemory: "512Mi"
|
||||
resourceLimitCpu: "1"
|
||||
resourceLimitMemory: "1024Mi"
|
||||
volumes:
|
||||
- type: EmptyDir
|
||||
mountPath: /var/myapp/myemptydir
|
||||
memory: false
|
||||
serviceAccount:
|
||||
annotations:
|
||||
description: "Used by release {{ .Release.Name }} for role-based access control"
|
||||
serviceAccountAgent:
|
||||
create: true
|
||||
annotations:
|
||||
description: "Used by release {{ .Release.Name }} for role-based access control"
|
||||
4
helm/jenkins/ci/with-secrets-values.yaml
Normal file
4
helm/jenkins/ci/with-secrets-values.yaml
Normal file
@@ -0,0 +1,4 @@
|
||||
controller:
|
||||
additionalSecrets:
|
||||
- name: nameOfSecret
|
||||
value: secretText
|
||||
Reference in New Issue
Block a user