mirror of
https://github.com/nofusscomputing/kubernetes.git
synced 2025-08-02 04:22:42 +00:00
81 lines
2.6 KiB
YAML
81 lines
2.6 KiB
YAML
---
|
|
#
|
|
# tag: 1.31.0
|
|
# commit: e8254fb99328edd9e78f6646e8abc2f7a42fdd96
|
|
#
|
|
apiVersion: kustomize.config.k8s.io/v1beta1
|
|
kind: Kustomization
|
|
|
|
|
|
namePrefix: gitlab-runner-
|
|
|
|
|
|
labels:
|
|
- includeSelectors: true
|
|
pairs:
|
|
app.kubernetes.io/component: ci-cd-runner
|
|
app.kubernetes.io/instance: cluster
|
|
app.kubernetes.io/name: gitlab
|
|
app.kubernetes.io/part-of: gitlab-runner-operator
|
|
|
|
|
|
images:
|
|
# image details fetched from
|
|
# https://gitlab.com/gitlab-org/gl-openshift/gitlab-runner-operator/-/releases using file
|
|
# `operator.k8s.yaml`
|
|
# config/manager/kustomization.tpl.yaml
|
|
- name: controller
|
|
newName: |-
|
|
registry.gitlab.com/gitlab-org/gl-openshift/gitlab-runner-operator/gitlab-runner-operator
|
|
newTag: "v1.37.0"
|
|
# config/manager/kustomization.tpl.yaml
|
|
- name: kube-rbac-proxy
|
|
newName: |-
|
|
registry.gitlab.com/gitlab-org/gl-openshift/gitlab-runner-operator/openshift4/ose-kube-rbac-proxy
|
|
newTag: "v4.15.0"
|
|
|
|
# v1.37.0 160ee6bf2ad4e05d0e673d0652cc47bd6100ddec
|
|
resources:
|
|
# Dont use default as it points to invalid kustomize dirs
|
|
# - /config/default?ref=e8254fb99328edd9e78f6646e8abc2f7a42fdd96
|
|
|
|
# config/default/kustomization.yaml
|
|
- https://gitlab.com/gitlab-org/gl-openshift/gitlab-runner-operator//config/crd?ref=160ee6bf2ad4e05d0e673d0652cc47bd6100ddec
|
|
|
|
# config/default/kustomization.yaml
|
|
- https://gitlab.com/gitlab-org/gl-openshift/gitlab-runner-operator//config/rbac?ref=160ee6bf2ad4e05d0e673d0652cc47bd6100ddec
|
|
|
|
# config/manager/kustomization.tpl.yaml
|
|
- https://gitlab.com/gitlab-org/gl-openshift/gitlab-runner-operator/-/raw/160ee6bf2ad4e05d0e673d0652cc47bd6100ddec/config/manager/manager.yaml
|
|
|
|
|
|
components:
|
|
# config/manager/kustomization.tpl.yaml
|
|
- https://gitlab.com/gitlab-org/gl-openshift/gitlab-runner-operator//config/manager/components/kubernetes?ref=160ee6bf2ad4e05d0e673d0652cc47bd6100ddec
|
|
|
|
|
|
patches:
|
|
# config/manager/kustomization.tpl.yaml
|
|
- path: |-
|
|
https://gitlab.com/gitlab-org/gl-openshift/gitlab-runner-operator/-/raw/160ee6bf2ad4e05d0e673d0652cc47bd6100ddec/config/manager/auth_proxy_patch.yaml
|
|
|
|
# # Operator only has arch AMD64
|
|
# yamllint disable rule:indentation
|
|
- patch: |-
|
|
- op: replace
|
|
path: /spec/template/spec/affinity
|
|
value:
|
|
nodeAffinity:
|
|
requiredDuringSchedulingIgnoredDuringExecution:
|
|
nodeSelectorTerms:
|
|
- matchExpressions:
|
|
- key: kubernetes.io/arch
|
|
operator: In
|
|
values:
|
|
- amd64
|
|
target:
|
|
kind: Deployment
|
|
name: controller-manager
|
|
version: v1
|
|
# yamllint enable rule:indentation
|