diff --git a/exemONE/helm/gitlab-runner/dev-cluster.yaml b/exemONE/helm/gitlab-runner/dev-cluster.yaml new file mode 100644 index 0000000..eed2b04 --- /dev/null +++ b/exemONE/helm/gitlab-runner/dev-cluster.yaml @@ -0,0 +1,91 @@ +USER-SUPPLIED VALUES: +affinity: {} +checkInterval: 30 +concurrent: 10 +configMaps: {} +deploymentAnnotations: {} +deploymentLabels: {} +gitlabUrl: http://gitlab.exem.xyz +hostAliases: [] +image: + image: gitlab-org/gitlab-runner + registry: registry.gitlab.com +imagePullPolicy: IfNotPresent +metrics: + enabled: false + port: 9252 + portName: metrics + serviceMonitor: + enabled: false +nodeSelector: {} +podAnnotations: {} +podLabels: {} +podSecurityContext: + fsGroup: 65533 + runAsUser: 100 +priorityClassName: "" +rbac: + clusterWideAccess: false + create: true + podSecurityPolicy: + enabled: false + resourceNames: + - gitlab-runner + rules: [] + serviceAccountName: gitlab-runner-admin +resources: {} +runnerRegistrationToken: 4ByxfYcAzXVeENLC547r +runners: + builds: {} + cache: {} + config: | + [[runners]] + environment = ["DOCKER_HOST=tcp://docker:2376","DOCKER_TLS_VERIFY=1","DOCKER_TLS_CERTDIR=/certs","DOCKER_CERT_PATH=${DOCKER_TLS_CERTDIR}/client"] + [runners.kubernetes] + namespace = "{{.Release.Namespace}}" + image = "ubuntu:16.04" + privileged = true + [[runners.kubernetes.volumes.empty_dir]] + name = "docker-certs" + mount_path = "/certs/client" + medium = "Memory" + [[runners.kubernetes.volumes.config_map]] + name = "docker-config" + mount_path = "/root/.docker" + read_only = false + [runners.kubernetes.volumes.config_map.items] + "config.json" = "config.json" + [[runners.kubernetes.volumes.config_map]] + name = "docker-daemon" + mount_path = "/etc/docker/daemon.json" + # If you are running GitLab Runner 13.5 + # or lower you can remove this + sub_path = "daemon.json" + configPath: "" + helpers: {} + privileged: true + runUntagged: true + services: {} + tags: dev-ci +secrets: [] +securityContext: + allowPrivilegeEscalation: false + capabilities: + drop: + - ALL + privileged: false + readOnlyRootFilesystem: false + runAsNonRoot: true +service: + enabled: false + type: ClusterIP +sessionServer: + enabled: false +shutdown_timeout: 0 +strategy: {} +terminationGracePeriodSeconds: 3600 +tolerations: [] +topologySpreadConstraints: {} +useTini: false +volumeMounts: [] +volumes: [] diff --git a/exemONE/helm/gitlab-runner/override-values.yaml b/exemONE/helm/gitlab-runner/override-values.yaml new file mode 100644 index 0000000..a9d6ef7 --- /dev/null +++ b/exemONE/helm/gitlab-runner/override-values.yaml @@ -0,0 +1,17 @@ +## 연결할 gitlab repo url +gitlabUrl: http://gitlab.exem.xyz + +## ru +## DEPRECATED됨 어떻게 변경해아하는지 확인해야함. +## ref: https://docs.gitlab.com/ee/ci/runners/new_creation_workflow.html +runnerToken: glrt-Ro1kUFbZz3GPp4yHaRxA + +rbac: + create: true + clusterWideAccess: false + podSecurityPolicy: + enabled: false + resourceNames: + - gitlab-runner + rules: [] + serviceAccountName: gitlab-runner-admin \ No newline at end of file