From fc33bbe2b51f93c62f62267a3d4c9d475c4ec94d Mon Sep 17 00:00:00 2001 From: Brian Carey Date: Fri, 12 Jan 2024 10:07:56 +0000 Subject: [PATCH] prow-deploy: Remove deployment files that are specific to the old cluster (#3170) The old control plane cluster has been removed so these files are no longer relevant Signed-off-by: Brian Carey --- .../overlays/ibmcloud-production/.gitignore | 2 - .../ibmcloud-production/kustomization.yaml | 370 ------------------ .../patches/JsonRFC6902/crier_deployment.yaml | 44 --- .../deck-rolebinding-subject-prow-name.yaml | 3 - .../patches/JsonRFC6902/deck_deployment.yaml | 44 --- .../JsonRFC6902/gcsweb-deployment.yaml | 3 - .../JsonRFC6902/ghproxy_deployment.yaml | 11 - .../patches/JsonRFC6902/hook_deployment.yaml | 31 -- .../JsonRFC6902/prow-jobs-namespace.yaml | 3 - .../prow-jobs-rolebinding-rules.yaml | 12 - .../patches/JsonRFC6902/prow-namespace.yaml | 3 - .../JsonRFC6902/prow-rehearse-deployment.yaml | 3 - .../prow_controller_manager_deployment.yaml | 37 -- .../JsonRFC6902/pushgateway_deployment.yaml | 10 - .../rolebinding-subject-prow-name-deck.yaml | 3 - .../rolebinding-subject-prow-name-tide.yaml | 3 - .../rolebinding-subject-prow-namespace.yaml | 3 - .../JsonRFC6902/sinker_deployment.yaml | 37 -- .../patches/JsonRFC6902/tide_deployment.yaml | 6 - .../patches/StrategicMerge/crier_role.yaml | 29 -- .../patches/StrategicMerge/deck_role.yaml | 16 - .../docker-mirror_deployment.yaml | 11 - .../patches/StrategicMerge/ghproxy.yaml | 9 - .../prow_controller_manager_role.yaml | 59 --- .../resources/bootstrap.yaml | 35 -- .../ci-usage-exporter-deployment.yaml | 65 --- .../resources/ci-usage-exporter-service.yaml | 15 - .../resources/docker-mirror-proxy_pvc.yaml | 10 - .../resources/hook-rbac.yaml | 38 -- .../resources/horologium-rbac.yaml | 29 -- .../resources/prow-exporter-deployment.yaml | 78 ---- .../resources/prow-exporter-rbac.yaml | 35 -- .../resources/prow-exporter-service.yaml | 13 - .../resources/sinker-rbac.yaml | 56 --- .../ibmcloud-production/yq_scripts/README | 2 - .../vars/ibmcloud-production/main.yml | 17 - 36 files changed, 1145 deletions(-) delete mode 100644 github/ci/prow-deploy/kustom/overlays/ibmcloud-production/.gitignore delete mode 100644 github/ci/prow-deploy/kustom/overlays/ibmcloud-production/kustomization.yaml delete mode 100644 github/ci/prow-deploy/kustom/overlays/ibmcloud-production/patches/JsonRFC6902/crier_deployment.yaml delete mode 100644 github/ci/prow-deploy/kustom/overlays/ibmcloud-production/patches/JsonRFC6902/deck-rolebinding-subject-prow-name.yaml delete mode 100644 github/ci/prow-deploy/kustom/overlays/ibmcloud-production/patches/JsonRFC6902/deck_deployment.yaml delete mode 100644 github/ci/prow-deploy/kustom/overlays/ibmcloud-production/patches/JsonRFC6902/gcsweb-deployment.yaml delete mode 100644 github/ci/prow-deploy/kustom/overlays/ibmcloud-production/patches/JsonRFC6902/ghproxy_deployment.yaml delete mode 100644 github/ci/prow-deploy/kustom/overlays/ibmcloud-production/patches/JsonRFC6902/hook_deployment.yaml delete mode 100644 github/ci/prow-deploy/kustom/overlays/ibmcloud-production/patches/JsonRFC6902/prow-jobs-namespace.yaml delete mode 100644 github/ci/prow-deploy/kustom/overlays/ibmcloud-production/patches/JsonRFC6902/prow-jobs-rolebinding-rules.yaml delete mode 100644 github/ci/prow-deploy/kustom/overlays/ibmcloud-production/patches/JsonRFC6902/prow-namespace.yaml delete mode 100644 github/ci/prow-deploy/kustom/overlays/ibmcloud-production/patches/JsonRFC6902/prow-rehearse-deployment.yaml delete mode 100644 github/ci/prow-deploy/kustom/overlays/ibmcloud-production/patches/JsonRFC6902/prow_controller_manager_deployment.yaml delete mode 100644 github/ci/prow-deploy/kustom/overlays/ibmcloud-production/patches/JsonRFC6902/pushgateway_deployment.yaml delete mode 100644 github/ci/prow-deploy/kustom/overlays/ibmcloud-production/patches/JsonRFC6902/rolebinding-subject-prow-name-deck.yaml delete mode 100644 github/ci/prow-deploy/kustom/overlays/ibmcloud-production/patches/JsonRFC6902/rolebinding-subject-prow-name-tide.yaml delete mode 100644 github/ci/prow-deploy/kustom/overlays/ibmcloud-production/patches/JsonRFC6902/rolebinding-subject-prow-namespace.yaml delete mode 100644 github/ci/prow-deploy/kustom/overlays/ibmcloud-production/patches/JsonRFC6902/sinker_deployment.yaml delete mode 100644 github/ci/prow-deploy/kustom/overlays/ibmcloud-production/patches/JsonRFC6902/tide_deployment.yaml delete mode 100644 github/ci/prow-deploy/kustom/overlays/ibmcloud-production/patches/StrategicMerge/crier_role.yaml delete mode 100644 github/ci/prow-deploy/kustom/overlays/ibmcloud-production/patches/StrategicMerge/deck_role.yaml delete mode 100644 github/ci/prow-deploy/kustom/overlays/ibmcloud-production/patches/StrategicMerge/docker-mirror_deployment.yaml delete mode 100644 github/ci/prow-deploy/kustom/overlays/ibmcloud-production/patches/StrategicMerge/ghproxy.yaml delete mode 100644 github/ci/prow-deploy/kustom/overlays/ibmcloud-production/patches/StrategicMerge/prow_controller_manager_role.yaml delete mode 100644 github/ci/prow-deploy/kustom/overlays/ibmcloud-production/resources/bootstrap.yaml delete mode 100644 github/ci/prow-deploy/kustom/overlays/ibmcloud-production/resources/ci-usage-exporter-deployment.yaml delete mode 100644 github/ci/prow-deploy/kustom/overlays/ibmcloud-production/resources/ci-usage-exporter-service.yaml delete mode 100644 github/ci/prow-deploy/kustom/overlays/ibmcloud-production/resources/docker-mirror-proxy_pvc.yaml delete mode 100644 github/ci/prow-deploy/kustom/overlays/ibmcloud-production/resources/hook-rbac.yaml delete mode 100644 github/ci/prow-deploy/kustom/overlays/ibmcloud-production/resources/horologium-rbac.yaml delete mode 100644 github/ci/prow-deploy/kustom/overlays/ibmcloud-production/resources/prow-exporter-deployment.yaml delete mode 100644 github/ci/prow-deploy/kustom/overlays/ibmcloud-production/resources/prow-exporter-rbac.yaml delete mode 100644 github/ci/prow-deploy/kustom/overlays/ibmcloud-production/resources/prow-exporter-service.yaml delete mode 100644 github/ci/prow-deploy/kustom/overlays/ibmcloud-production/resources/sinker-rbac.yaml delete mode 100644 github/ci/prow-deploy/kustom/overlays/ibmcloud-production/yq_scripts/README delete mode 100644 github/ci/prow-deploy/vars/ibmcloud-production/main.yml diff --git a/github/ci/prow-deploy/kustom/overlays/ibmcloud-production/.gitignore b/github/ci/prow-deploy/kustom/overlays/ibmcloud-production/.gitignore deleted file mode 100644 index b79250eaf6..0000000000 --- a/github/ci/prow-deploy/kustom/overlays/ibmcloud-production/.gitignore +++ /dev/null @@ -1,2 +0,0 @@ -secrets/* -configs/* diff --git a/github/ci/prow-deploy/kustom/overlays/ibmcloud-production/kustomization.yaml b/github/ci/prow-deploy/kustom/overlays/ibmcloud-production/kustomization.yaml deleted file mode 100644 index c081d439ea..0000000000 --- a/github/ci/prow-deploy/kustom/overlays/ibmcloud-production/kustomization.yaml +++ /dev/null @@ -1,370 +0,0 @@ -# Requires kustomize v3 -apiVersion: kustomize.config.k8s.io/v1beta1 -kind: Kustomization - -resources: - - ../../base - - ../../components/docker-mirror-proxy/base - - ../../components/greenhouse/base - - resources/docker-mirror-proxy_pvc.yaml - - resources/hook-rbac.yaml - - resources/horologium-rbac.yaml - - resources/sinker-rbac.yaml - - resources/prow-exporter-deployment.yaml - - resources/prow-exporter-rbac.yaml - - resources/prow-exporter-service.yaml - - resources/ci-usage-exporter-deployment.yaml - - resources/ci-usage-exporter-service.yaml - # templated resources - - resources/admin-rbac.yaml - -components: - - ../../components/docker-mirror-proxy/pv - - ../../components/greenhouse/pv - -patches: - - target: - version: v1 - group: apps - kind: Deployment - name: rehearse - path: patches/JsonRFC6902/prow-rehearse-deployment.yaml - - target: - version: v1 - group: apps - kind: Deployment - name: gcsweb - path: patches/JsonRFC6902/gcsweb-deployment.yaml - - target: - version: v1 - group: apps - kind: Deployment - name: deck - path: patches/JsonRFC6902/deck_deployment.yaml - - target: - version: v1 - group: apps - kind: Deployment - name: hook - path: patches/JsonRFC6902/hook_deployment.yaml - - target: - version: v1 - group: apps - kind: Deployment - name: tide - path: patches/JsonRFC6902/tide_deployment.yaml - - target: - version: v1 - group: apps - kind: Deployment - name: crier - path: patches/JsonRFC6902/crier_deployment.yaml - - target: - version: v1 - group: apps - kind: Deployment - name: prow-controller-manager - path: patches/JsonRFC6902/prow_controller_manager_deployment.yaml - - target: - version: v1 - group: apps - kind: Deployment - name: sinker - path: patches/JsonRFC6902/sinker_deployment.yaml - - target: - version: v1 - group: apps - kind: Deployment - name: ghproxy - path: patches/JsonRFC6902/ghproxy_deployment.yaml - - target: - version: v1 - group: apps - kind: Deployment - name: pushgateway - path: patches/JsonRFC6902/pushgateway_deployment.yaml - - target: - group: rbac.authorization.k8s.io - version: v1 - kind: Role - namespace: test-pods - name: deck - path: patches/StrategicMerge/deck_role.yaml - - target: - group: apps - version: v1 - kind: Deployment - name: docker-mirror - path: patches/StrategicMerge/docker-mirror_deployment.yaml - - target: - version: v1 - kind: PersistentVolumeClaim - name: ghproxy - path: patches/StrategicMerge/ghproxy.yaml - - target: - group: rbac.authorization.k8s.io - version: v1 - kind: Role - namespace: test-pods - name: crier - path: patches/StrategicMerge/crier_role.yaml - - target: - group: rbac.authorization.k8s.io - version: v1 - kind: Role - namespace: test-pods - name: prow-controller-manager - path: patches/StrategicMerge/prow_controller_manager_role.yaml - - - # namespaces - - target: - group: apps - version: v1 - kind: Deployment - namespace: default - name: .* - path: patches/JsonRFC6902/prow-namespace.yaml - - target: - version: v1 - kind: PersistentVolumeClaim - namespace: default - name: .* - path: patches/JsonRFC6902/prow-namespace.yaml - - target: - version: v1 - kind: Service - namespace: default - name: .* - path: patches/JsonRFC6902/prow-namespace.yaml - - target: - version: v1 - kind: ConfigMap - namespace: default - name: .* - path: patches/JsonRFC6902/prow-namespace.yaml - - target: - version: v1 - kind: ServiceAccount - namespace: default - name: .* - path: patches/JsonRFC6902/prow-namespace.yaml - - target: - group: rbac.authorization.k8s.io - version: v1 - kind: Role - namespace: default - name: .* - path: patches/JsonRFC6902/prow-namespace.yaml - - target: - group: rbac.authorization.k8s.io - version: v1 - kind: Role - namespace: default - name: .* - path: patches/JsonRFC6902/prow-namespace.yaml - - target: - group: rbac.authorization.k8s.io - version: v1 - kind: Role - namespace: test-pods - name: .* - path: patches/JsonRFC6902/prow-jobs-namespace.yaml - - target: - group: rbac.authorization.k8s.io - version: v1 - kind: RoleBinding - namespace: test-pods - name: .* - path: patches/JsonRFC6902/prow-jobs-namespace.yaml - - target: - group: rbac.authorization.k8s.io - version: v1 - kind: RoleBinding - namespace: test-pods - name: .* - path: patches/JsonRFC6902/prow-jobs-namespace.yaml - - target: - group: rbac.authorization.k8s.io - version: v1 - kind: ClusterRoleBinding - name: prow-rehearse - path: patches/JsonRFC6902/rolebinding-subject-prow-namespace.yaml - - target: - group: rbac.authorization.k8s.io - version: v1 - kind: RoleBinding - namespace: test-pods - name: .* - path: patches/JsonRFC6902/rolebinding-subject-prow-namespace.yaml - - target: - group: rbac.authorization.k8s.io - version: v1 - kind: RoleBinding - namespace: test-pods - name: .* - path: patches/JsonRFC6902/rolebinding-subject-prow-namespace.yaml - - target: - group: rbac.authorization.k8s.io - version: v1 - kind: RoleBinding - namespace: default - name: .* - path: patches/JsonRFC6902/prow-namespace.yaml - - target: - group: rbac.authorization.k8s.io - version: v1 - kind: Role - namespace: test-pods - name: .* - path: patches/JsonRFC6902/prow-jobs-namespace.yaml - - target: - group: rbnac.authorization.k8s.io - version: v1 - kind: Role - namespace: test-pods - name: .* - path: patches/JsonRFC6902/prow-jobs-namespace.yaml - - target: - group: rbac.authorization.k8s.io - kind: Role - namespace: test-pods - name: deck - path: patches/JsonRFC6902/prow-jobs-rolebinding-rules.yaml - - target: - group: networking.k8s.io - version: v1 - kind: Ingress - namespace: default - name: .* - path: patches/JsonRFC6902/prow-namespace.yaml - - target: - version: v1 - kind: Secret - namespace: default - name: .* - path: patches/JsonRFC6902/prow-namespace.yaml - - target: - version: v1 - kind: ConfigMap - namespace: "" - name: .* - path: patches/JsonRFC6902/prow-namespace.yaml - - target: - group: batch - version: v1 - kind: CronJob - namespace: "" - name: .* - path: patches/JsonRFC6902/prow-namespace.yaml - - -generatorOptions: - disableNameSuffixHash: true - -configMapGenerator: - - name: config - files: - - configs/config/config.yaml - - name: label-config - files: - - configs/labels/labels.yaml - - name: plugins - files: - - configs/plugins/plugins.yaml - - name: cat-api-key - files: - - configs/cat-api/api-key - -secretGenerator: - - name: oauth-token - files: - - oauth=secrets/oauth-token - type: Opaque - - name: oauth-token - namespace: kubevirt-prow-jobs - files: - - oauth=secrets/oauth-token - type: Opaque - - name: gcs - files: - - secrets/service-account.json - type: Opaque - - name: gcs - namespace: kubevirt-prow-jobs - files: - - secrets/service-account.json - type: Opaque - - name: slack-token - files: - - token=secrets/slack-token - type: Opaque - - name: cookie - files: - - secret=secrets/cookie - type: Opaque - - name: github-oauth-config - files: - - secret=secrets/github-oauth-config - type: Opaque - - name: kubeconfig - files: - - config=secrets/kubeconfig - type: Opaque - - name: kubeconfig-build-test-infra-trusted - files: - - kubeconfig=secrets/kubeconfig-build-test-infra-trusted - - name: kubeconfig-build-k8s-prow-builds - files: - - kubeconfig=secrets/kubeconfig-build-k8s-prow-builds - - name: kubeconfig-build-rules-k8s - files: - - kubeconfig=secrets/kubeconfig-build-rules-k8s - - name: unsplash-api-key - literals: - - honk.txt= - - name: kubevirtci-docker-credential - namespace: kubevirt-prow-jobs - # username=dockerUser - # password=dockerPass - envs: - - secrets/kubevirtci-docker-credential - type: Opaque - - - name: kubevirtci-quay-credential - namespace: kubevirt-prow-jobs - # username=quayUser - # password=quayPass - envs: - - secrets/kubevirtci-quay-credential - type: Opaque - - name: kubevirtci-installer-pull-token - namespace: kubevirt-prow-jobs - files: - # installerPullToken - - token=secrets/kubevirtci-installer-pull-token - type: Opaque - - name: commenter-oauth-token - namespace: kubevirt-prow-jobs - # githubCommenterToken - files: - - oauth=secrets/commenter-oauth-token - type: Opaque - - name: kubevirtci-coveralls-token - namespace: kubevirt-prow-jobs - files: - # coverallsToken - - token=secrets/kubevirtci-coveralls-token - type: Opaque - - name: kubevirtci-fossa-token - namespace: kubevirt-prow-jobs - files: - # fossaToken - - token=secrets/kubevirtci-fossa-token - type: Opaque - - name: prow-kubevirtbot-github-ssh-secret - namespace: kubevirt-prow-jobs - files: - # prowKubevirtbotSSHPrivateKey - - token=secrets/prow-kubevirtbot-github-ssh-secret - type: Opaque diff --git a/github/ci/prow-deploy/kustom/overlays/ibmcloud-production/patches/JsonRFC6902/crier_deployment.yaml b/github/ci/prow-deploy/kustom/overlays/ibmcloud-production/patches/JsonRFC6902/crier_deployment.yaml deleted file mode 100644 index 3c1163beeb..0000000000 --- a/github/ci/prow-deploy/kustom/overlays/ibmcloud-production/patches/JsonRFC6902/crier_deployment.yaml +++ /dev/null @@ -1,44 +0,0 @@ ---- -# resets KUBECONFIG env to simple value -- op: replace - path: /spec/template/spec/containers/0/env/0 - value: - name: KUBECONFIG - value: "/etc/kubeconfig/config" - -# removes AWS env vars -- op: remove - path: /spec/template/spec/containers/0/env/3 -- op: remove - path: /spec/template/spec/containers/0/env/2 -- op: remove - path: /spec/template/spec/containers/0/env/1 - -# removes volume and moint for aws-iam-token -- op: remove - path: /spec/template/spec/containers/0/volumeMounts/9 -- op: remove - path: /spec/template/spec/volumes/9 - -# removes kubeconfig-eks-prow-build-cluster mount and volume -- op: remove - path: /spec/template/spec/containers/0/volumeMounts/4 -- op: remove - path: /spec/template/spec/volumes/8 - -# adds gcs service account arg, volume and mount -- op: add - path: /spec/template/spec/containers/0/args/0 - value: --gcs-credentials-file=/etc/gcs/service-account.json -- op: add - path: /spec/template/spec/containers/0/volumeMounts/0 - value: - name: gcs - mountPath: /etc/gcs - readOnly: true -- op: add - path: /spec/template/spec/volumes/0 - value: - name: gcs - secret: - secretName: gcs diff --git a/github/ci/prow-deploy/kustom/overlays/ibmcloud-production/patches/JsonRFC6902/deck-rolebinding-subject-prow-name.yaml b/github/ci/prow-deploy/kustom/overlays/ibmcloud-production/patches/JsonRFC6902/deck-rolebinding-subject-prow-name.yaml deleted file mode 100644 index 952e0cb7b4..0000000000 --- a/github/ci/prow-deploy/kustom/overlays/ibmcloud-production/patches/JsonRFC6902/deck-rolebinding-subject-prow-name.yaml +++ /dev/null @@ -1,3 +0,0 @@ -- op: replace - path: /subjects/0/namespace - value: kubevirt-prow diff --git a/github/ci/prow-deploy/kustom/overlays/ibmcloud-production/patches/JsonRFC6902/deck_deployment.yaml b/github/ci/prow-deploy/kustom/overlays/ibmcloud-production/patches/JsonRFC6902/deck_deployment.yaml deleted file mode 100644 index f6be7c26cb..0000000000 --- a/github/ci/prow-deploy/kustom/overlays/ibmcloud-production/patches/JsonRFC6902/deck_deployment.yaml +++ /dev/null @@ -1,44 +0,0 @@ -# Removes deprecated --redirect-http-to= -- op: remove - path: /spec/template/spec/containers/0/args/2 -- op: remove - path: /spec/template/spec/containers/0/livenessProbe -- op: remove - path: /spec/template/spec/containers/0/readinessProbe -# sets resources -- op: add - path: /spec/template/spec/containers/0/resources - value: - limits: - cpu: 300m - memory: 2Gi - requests: - cpu: 300m - memory: 2Gi - -# resets KUBECONFIG entry to simple value -- op: replace - path: /spec/template/spec/containers/0/env/0 - value: - name: KUBECONFIG - value: "/etc/kubeconfig/config" - -# removes AWS env vars -- op: remove - path: /spec/template/spec/containers/0/env/3 -- op: remove - path: /spec/template/spec/containers/0/env/2 -- op: remove - path: /spec/template/spec/containers/0/env/1 - -# removes aws-iam-token mount -- op: remove - path: /spec/template/spec/containers/0/volumeMounts/11 -- op: remove - path: /spec/template/spec/volumes/11 - -# removes mount and volume for kubeconfig-eks-prow-build-cluster -- op: remove - path: /spec/template/spec/containers/0/volumeMounts/6 -- op: remove - path: /spec/template/spec/volumes/7 diff --git a/github/ci/prow-deploy/kustom/overlays/ibmcloud-production/patches/JsonRFC6902/gcsweb-deployment.yaml b/github/ci/prow-deploy/kustom/overlays/ibmcloud-production/patches/JsonRFC6902/gcsweb-deployment.yaml deleted file mode 100644 index ce472afecb..0000000000 --- a/github/ci/prow-deploy/kustom/overlays/ibmcloud-production/patches/JsonRFC6902/gcsweb-deployment.yaml +++ /dev/null @@ -1,3 +0,0 @@ -- op: add - path: /spec/template/spec/containers/0/args/1 - value: -b=kubevirt-prow diff --git a/github/ci/prow-deploy/kustom/overlays/ibmcloud-production/patches/JsonRFC6902/ghproxy_deployment.yaml b/github/ci/prow-deploy/kustom/overlays/ibmcloud-production/patches/JsonRFC6902/ghproxy_deployment.yaml deleted file mode 100644 index d8901f3233..0000000000 --- a/github/ci/prow-deploy/kustom/overlays/ibmcloud-production/patches/JsonRFC6902/ghproxy_deployment.yaml +++ /dev/null @@ -1,11 +0,0 @@ ---- -# allow ghproxy to be scheduled on any node -- op: remove - path: /spec/template/spec/tolerations -- op: remove - path: /spec/template/spec/nodeSelector -- op: add - path: /spec/strategy - value: - rollingUpdate: - maxUnavailable: 1 diff --git a/github/ci/prow-deploy/kustom/overlays/ibmcloud-production/patches/JsonRFC6902/hook_deployment.yaml b/github/ci/prow-deploy/kustom/overlays/ibmcloud-production/patches/JsonRFC6902/hook_deployment.yaml deleted file mode 100644 index e7b0a6c9e2..0000000000 --- a/github/ci/prow-deploy/kustom/overlays/ibmcloud-production/patches/JsonRFC6902/hook_deployment.yaml +++ /dev/null @@ -1,31 +0,0 @@ -- op: remove - path: /spec/template/spec/containers/0/livenessProbe -- op: remove - path: /spec/template/spec/containers/0/readinessProbe - -# replaces KUBECONFIG env to simple value -- op: replace - path: /spec/template/spec/containers/0/env/0 - value: - name: KUBECONFIG - value: "/etc/kubeconfig/config" - -# removes AWS env vars -- op: remove - path: /spec/template/spec/containers/0/env/3 -- op: remove - path: /spec/template/spec/containers/0/env/2 -- op: remove - path: /spec/template/spec/containers/0/env/1 - -# removes aws-iam-token mount and volume -- op: remove - path: /spec/template/spec/containers/0/volumeMounts/13 -- op: remove - path: /spec/template/spec/volumes/13 - -# removes kubeconfig-eks-prow-build-cluster mount and volume -- op: remove - path: /spec/template/spec/containers/0/volumeMounts/12 -- op: remove - path: /spec/template/spec/volumes/12 diff --git a/github/ci/prow-deploy/kustom/overlays/ibmcloud-production/patches/JsonRFC6902/prow-jobs-namespace.yaml b/github/ci/prow-deploy/kustom/overlays/ibmcloud-production/patches/JsonRFC6902/prow-jobs-namespace.yaml deleted file mode 100644 index 5bee936db0..0000000000 --- a/github/ci/prow-deploy/kustom/overlays/ibmcloud-production/patches/JsonRFC6902/prow-jobs-namespace.yaml +++ /dev/null @@ -1,3 +0,0 @@ -- op: replace - path: /metadata/namespace - value: kubevirt-prow-jobs \ No newline at end of file diff --git a/github/ci/prow-deploy/kustom/overlays/ibmcloud-production/patches/JsonRFC6902/prow-jobs-rolebinding-rules.yaml b/github/ci/prow-deploy/kustom/overlays/ibmcloud-production/patches/JsonRFC6902/prow-jobs-rolebinding-rules.yaml deleted file mode 100644 index 73921811f4..0000000000 --- a/github/ci/prow-deploy/kustom/overlays/ibmcloud-production/patches/JsonRFC6902/prow-jobs-rolebinding-rules.yaml +++ /dev/null @@ -1,12 +0,0 @@ -- op: add - path: /rules/1 - value: - apiGroups: - - prow.k8s.io - resources: - - prowjobs - verbs: - - create - - get - - list - - watch diff --git a/github/ci/prow-deploy/kustom/overlays/ibmcloud-production/patches/JsonRFC6902/prow-namespace.yaml b/github/ci/prow-deploy/kustom/overlays/ibmcloud-production/patches/JsonRFC6902/prow-namespace.yaml deleted file mode 100644 index e9c725dfd5..0000000000 --- a/github/ci/prow-deploy/kustom/overlays/ibmcloud-production/patches/JsonRFC6902/prow-namespace.yaml +++ /dev/null @@ -1,3 +0,0 @@ -- op: replace - path: /metadata/namespace - value: kubevirt-prow \ No newline at end of file diff --git a/github/ci/prow-deploy/kustom/overlays/ibmcloud-production/patches/JsonRFC6902/prow-rehearse-deployment.yaml b/github/ci/prow-deploy/kustom/overlays/ibmcloud-production/patches/JsonRFC6902/prow-rehearse-deployment.yaml deleted file mode 100644 index f0dc638314..0000000000 --- a/github/ci/prow-deploy/kustom/overlays/ibmcloud-production/patches/JsonRFC6902/prow-rehearse-deployment.yaml +++ /dev/null @@ -1,3 +0,0 @@ -- op: add - path: /spec/template/spec/containers/0/args/1 - value: --jobs-namespace=kubevirt-prow-jobs diff --git a/github/ci/prow-deploy/kustom/overlays/ibmcloud-production/patches/JsonRFC6902/prow_controller_manager_deployment.yaml b/github/ci/prow-deploy/kustom/overlays/ibmcloud-production/patches/JsonRFC6902/prow_controller_manager_deployment.yaml deleted file mode 100644 index 08703cbe3f..0000000000 --- a/github/ci/prow-deploy/kustom/overlays/ibmcloud-production/patches/JsonRFC6902/prow_controller_manager_deployment.yaml +++ /dev/null @@ -1,37 +0,0 @@ -# sets resources -- op: add - path: /spec/template/spec/containers/0/resources - value: - limits: - cpu: 500m - memory: 600Mi - requests: - cpu: 500m - memory: 600Mi - -# replaces KUBECONFIG env var to simple value -- op: replace - path: /spec/template/spec/containers/0/env/0 - value: - name: KUBECONFIG - value: "/etc/kubeconfig/config" - -# removes AWS env vars -- op: remove - path: /spec/template/spec/containers/0/env/3 -- op: remove - path: /spec/template/spec/containers/0/env/2 -- op: remove - path: /spec/template/spec/containers/0/env/1 - -# removes aws-iam-token mount and volume -- op: remove - path: /spec/template/spec/containers/0/volumeMounts/7 -- op: remove - path: /spec/template/spec/volumes/7 - -# removes kubeconfig-eks-prow-build-cluster mount and volume -- op: remove - path: /spec/template/spec/containers/0/volumeMounts/4 -- op: remove - path: /spec/template/spec/volumes/4 diff --git a/github/ci/prow-deploy/kustom/overlays/ibmcloud-production/patches/JsonRFC6902/pushgateway_deployment.yaml b/github/ci/prow-deploy/kustom/overlays/ibmcloud-production/patches/JsonRFC6902/pushgateway_deployment.yaml deleted file mode 100644 index b19bfa7ebe..0000000000 --- a/github/ci/prow-deploy/kustom/overlays/ibmcloud-production/patches/JsonRFC6902/pushgateway_deployment.yaml +++ /dev/null @@ -1,10 +0,0 @@ -# sets resources -- op: add - path: /spec/template/spec/containers/0/resources - value: - limits: - cpu: 1000m - memory: 1Gi - requests: - cpu: 1000m - memory: 1Gi diff --git a/github/ci/prow-deploy/kustom/overlays/ibmcloud-production/patches/JsonRFC6902/rolebinding-subject-prow-name-deck.yaml b/github/ci/prow-deploy/kustom/overlays/ibmcloud-production/patches/JsonRFC6902/rolebinding-subject-prow-name-deck.yaml deleted file mode 100644 index 0f6494195f..0000000000 --- a/github/ci/prow-deploy/kustom/overlays/ibmcloud-production/patches/JsonRFC6902/rolebinding-subject-prow-name-deck.yaml +++ /dev/null @@ -1,3 +0,0 @@ -- op: replace - path: /subjects/0/name - value: staging-deck diff --git a/github/ci/prow-deploy/kustom/overlays/ibmcloud-production/patches/JsonRFC6902/rolebinding-subject-prow-name-tide.yaml b/github/ci/prow-deploy/kustom/overlays/ibmcloud-production/patches/JsonRFC6902/rolebinding-subject-prow-name-tide.yaml deleted file mode 100644 index 90bc3b8d38..0000000000 --- a/github/ci/prow-deploy/kustom/overlays/ibmcloud-production/patches/JsonRFC6902/rolebinding-subject-prow-name-tide.yaml +++ /dev/null @@ -1,3 +0,0 @@ -- op: replace - path: /subjects/0/name - value: tide diff --git a/github/ci/prow-deploy/kustom/overlays/ibmcloud-production/patches/JsonRFC6902/rolebinding-subject-prow-namespace.yaml b/github/ci/prow-deploy/kustom/overlays/ibmcloud-production/patches/JsonRFC6902/rolebinding-subject-prow-namespace.yaml deleted file mode 100644 index 952e0cb7b4..0000000000 --- a/github/ci/prow-deploy/kustom/overlays/ibmcloud-production/patches/JsonRFC6902/rolebinding-subject-prow-namespace.yaml +++ /dev/null @@ -1,3 +0,0 @@ -- op: replace - path: /subjects/0/namespace - value: kubevirt-prow diff --git a/github/ci/prow-deploy/kustom/overlays/ibmcloud-production/patches/JsonRFC6902/sinker_deployment.yaml b/github/ci/prow-deploy/kustom/overlays/ibmcloud-production/patches/JsonRFC6902/sinker_deployment.yaml deleted file mode 100644 index 335ee6cde1..0000000000 --- a/github/ci/prow-deploy/kustom/overlays/ibmcloud-production/patches/JsonRFC6902/sinker_deployment.yaml +++ /dev/null @@ -1,37 +0,0 @@ -# sets resources -- op: add - path: /spec/template/spec/containers/0/resources - value: - limits: - cpu: 400m - memory: 600Mi - requests: - cpu: 400m - memory: 600Mi - -# replaces KUBECONFIG env var to simple value -- op: replace - path: /spec/template/spec/containers/0/env/0 - value: - name: KUBECONFIG - value: "/etc/kubeconfig/config" - -# removes AWS env vars -- op: remove - path: /spec/template/spec/containers/0/env/3 -- op: remove - path: /spec/template/spec/containers/0/env/2 -- op: remove - path: /spec/template/spec/containers/0/env/1 - -# removes aws-iam-token mount and volume -- op: remove - path: /spec/template/spec/containers/0/volumeMounts/7 -- op: remove - path: /spec/template/spec/volumes/7 - -# removes kubeconfig-eks-prow-build-cluster mount and volume -- op: remove - path: /spec/template/spec/containers/0/volumeMounts/4 -- op: remove - path: /spec/template/spec/volumes/4 diff --git a/github/ci/prow-deploy/kustom/overlays/ibmcloud-production/patches/JsonRFC6902/tide_deployment.yaml b/github/ci/prow-deploy/kustom/overlays/ibmcloud-production/patches/JsonRFC6902/tide_deployment.yaml deleted file mode 100644 index daf5e53230..0000000000 --- a/github/ci/prow-deploy/kustom/overlays/ibmcloud-production/patches/JsonRFC6902/tide_deployment.yaml +++ /dev/null @@ -1,6 +0,0 @@ -# REmoves hisotry-uri and status-path which point to a -# remote google storage location -- op: remove - path: /spec/template/spec/containers/0/args/7 -- op: remove - path: /spec/template/spec/containers/0/args/6 diff --git a/github/ci/prow-deploy/kustom/overlays/ibmcloud-production/patches/StrategicMerge/crier_role.yaml b/github/ci/prow-deploy/kustom/overlays/ibmcloud-production/patches/StrategicMerge/crier_role.yaml deleted file mode 100644 index 6d3b6d52ab..0000000000 --- a/github/ci/prow-deploy/kustom/overlays/ibmcloud-production/patches/StrategicMerge/crier_role.yaml +++ /dev/null @@ -1,29 +0,0 @@ -kind: Role -apiVersion: rbac.authorization.k8s.io/v1 -metadata: - namespace: test-pods - name: crier -rules: -- apiGroups: - - "prow.k8s.io" - resources: - - "prowjobs" - verbs: - - "get" - - "watch" - - "list" - - "patch" -- apiGroups: - - "" - resources: - - "pods" - - "events" - verbs: - - "get" - - "list" -- apiGroups: - - "" - resources: - - "pods" - verbs: - - "patch" diff --git a/github/ci/prow-deploy/kustom/overlays/ibmcloud-production/patches/StrategicMerge/deck_role.yaml b/github/ci/prow-deploy/kustom/overlays/ibmcloud-production/patches/StrategicMerge/deck_role.yaml deleted file mode 100644 index c22f6c06bd..0000000000 --- a/github/ci/prow-deploy/kustom/overlays/ibmcloud-production/patches/StrategicMerge/deck_role.yaml +++ /dev/null @@ -1,16 +0,0 @@ -apiVersion: v1 -metadata: - name: deck - namespace: test-pods -kind: Role -rules: - - apiGroups: - - "prow.k8s.io" - resources: - - prowjobs - verbs: - - get - - list - - watch - # Required when deck runs with `--rerun-creates-job=true` - - create \ No newline at end of file diff --git a/github/ci/prow-deploy/kustom/overlays/ibmcloud-production/patches/StrategicMerge/docker-mirror_deployment.yaml b/github/ci/prow-deploy/kustom/overlays/ibmcloud-production/patches/StrategicMerge/docker-mirror_deployment.yaml deleted file mode 100644 index 4090b380b1..0000000000 --- a/github/ci/prow-deploy/kustom/overlays/ibmcloud-production/patches/StrategicMerge/docker-mirror_deployment.yaml +++ /dev/null @@ -1,11 +0,0 @@ -apiVersion: apps/v1 -kind: Deployment -metadata: - name: docker-mirror -spec: - template: - spec: - volumes: - - name: storage - hostPath: - path: /var/lib/docker-mirror/kubevirt-prow diff --git a/github/ci/prow-deploy/kustom/overlays/ibmcloud-production/patches/StrategicMerge/ghproxy.yaml b/github/ci/prow-deploy/kustom/overlays/ibmcloud-production/patches/StrategicMerge/ghproxy.yaml deleted file mode 100644 index c3604224f7..0000000000 --- a/github/ci/prow-deploy/kustom/overlays/ibmcloud-production/patches/StrategicMerge/ghproxy.yaml +++ /dev/null @@ -1,9 +0,0 @@ -kind: PersistentVolumeClaim -apiVersion: v1 -metadata: - name: ghproxy -spec: - resources: - requests: - storage: 30Gi - storageClassName: ibmc-vpc-block-general-purpose diff --git a/github/ci/prow-deploy/kustom/overlays/ibmcloud-production/patches/StrategicMerge/prow_controller_manager_role.yaml b/github/ci/prow-deploy/kustom/overlays/ibmcloud-production/patches/StrategicMerge/prow_controller_manager_role.yaml deleted file mode 100644 index e8b9e70086..0000000000 --- a/github/ci/prow-deploy/kustom/overlays/ibmcloud-production/patches/StrategicMerge/prow_controller_manager_role.yaml +++ /dev/null @@ -1,59 +0,0 @@ -kind: Role -apiVersion: rbac.authorization.k8s.io/v1 -metadata: - namespace: test-pods - name: "prow-controller-manager" -rules: -- apiGroups: - - coordination.k8s.io - resources: - - leases - resourceNames: - - prow-controller-manager-leader-lock - verbs: - - get - - update -- apiGroups: - - coordination.k8s.io - resources: - - leases - verbs: - - create -- apiGroups: - - "" - resources: - - configmaps - resourceNames: - - prow-controller-manager-leader-lock - verbs: - - get - - update -- apiGroups: - - "" - resources: - - configmaps - - events - verbs: - - create -- apiGroups: - - prow.k8s.io - resources: - - prowjobs - verbs: - - get - - update - - list - - watch - - update - - patch -- apiGroups: - - "" - resources: - - pods - verbs: - - create - - delete - - list - - watch - - get - - patch diff --git a/github/ci/prow-deploy/kustom/overlays/ibmcloud-production/resources/bootstrap.yaml b/github/ci/prow-deploy/kustom/overlays/ibmcloud-production/resources/bootstrap.yaml deleted file mode 100644 index e3c2da4199..0000000000 --- a/github/ci/prow-deploy/kustom/overlays/ibmcloud-production/resources/bootstrap.yaml +++ /dev/null @@ -1,35 +0,0 @@ -apiVersion: v1 -kind: Namespace -metadata: - name: kubevirt-prow ---- -apiVersion: v1 -kind: Namespace -metadata: - name: kubevirt-prow-jobs ---- -apiVersion: v1 -kind: Node -metadata: - name: 10.240.128.6 - labels: - type: bare-metal-external - zone: ci - ci.kubevirt.io/cachenode: 'true' - dedicated: ghproxy ---- -apiVersion: v1 -kind: Node -metadata: - name: 10.240.128.12 - labels: - type: vm - zone: ci ---- -apiVersion: v1 -kind: Node -metadata: - name: 10.240.128.13 - labels: - type: vm - zone: ci diff --git a/github/ci/prow-deploy/kustom/overlays/ibmcloud-production/resources/ci-usage-exporter-deployment.yaml b/github/ci/prow-deploy/kustom/overlays/ibmcloud-production/resources/ci-usage-exporter-deployment.yaml deleted file mode 100644 index 7d9d1aab20..0000000000 --- a/github/ci/prow-deploy/kustom/overlays/ibmcloud-production/resources/ci-usage-exporter-deployment.yaml +++ /dev/null @@ -1,65 +0,0 @@ ---- -apiVersion: apps/v1 -kind: Deployment -metadata: - namespace: default - name: ci-usage-exporter - labels: - app: ci-usage-exporter -spec: - replicas: 1 - selector: - matchLabels: - app: ci-usage-exporter - template: - metadata: - labels: - app: ci-usage-exporter - spec: - terminationGracePeriodSeconds: 30 - containers: - - name: ci-usage-exporter - image: quay.io/kubevirtci/ci-usage-exporter:v20210713-a46682bf - imagePullPolicy: IfNotPresent - ports: - - name: metrics - containerPort: 9836 - - name: healthz - containerPort: 8081 - args: - - --config-path=/etc/config/config.yaml - - --job-config-path=/etc/job-config - volumeMounts: - - name: config - mountPath: /etc/config - readOnly: true - - name: job-config - mountPath: /etc/job-config - readOnly: true - livenessProbe: - httpGet: - path: /healthz - port: 8081 - initialDelaySeconds: 3 - periodSeconds: 3 - readinessProbe: - httpGet: - path: /healthz/ready - port: 8081 - initialDelaySeconds: 10 - periodSeconds: 3 - timeoutSeconds: 600 - resources: - requests: - cpu: 100m - memory: 200Mi - limits: - cpu: 100m - memory: 200Mi - volumes: - - name: config - configMap: - name: config - - name: job-config - configMap: - name: job-config diff --git a/github/ci/prow-deploy/kustom/overlays/ibmcloud-production/resources/ci-usage-exporter-service.yaml b/github/ci/prow-deploy/kustom/overlays/ibmcloud-production/resources/ci-usage-exporter-service.yaml deleted file mode 100644 index eecc037f7d..0000000000 --- a/github/ci/prow-deploy/kustom/overlays/ibmcloud-production/resources/ci-usage-exporter-service.yaml +++ /dev/null @@ -1,15 +0,0 @@ ---- -apiVersion: v1 -kind: Service -metadata: - labels: - app: ci-usage-exporter - monitoring: "true" - namespace: default - name: ci-usage-exporter -spec: - ports: - - name: metrics - port: 9836 - selector: - app: ci-usage-exporter diff --git a/github/ci/prow-deploy/kustom/overlays/ibmcloud-production/resources/docker-mirror-proxy_pvc.yaml b/github/ci/prow-deploy/kustom/overlays/ibmcloud-production/resources/docker-mirror-proxy_pvc.yaml deleted file mode 100644 index 4f7b5eaa66..0000000000 --- a/github/ci/prow-deploy/kustom/overlays/ibmcloud-production/resources/docker-mirror-proxy_pvc.yaml +++ /dev/null @@ -1,10 +0,0 @@ -kind: PersistentVolumeClaim -apiVersion: v1 -metadata: - name: docker-mirror-proxy -spec: - accessModes: - - ReadWriteOnce - resources: - requests: - storage: 450Gi diff --git a/github/ci/prow-deploy/kustom/overlays/ibmcloud-production/resources/hook-rbac.yaml b/github/ci/prow-deploy/kustom/overlays/ibmcloud-production/resources/hook-rbac.yaml deleted file mode 100644 index 1102fb93fc..0000000000 --- a/github/ci/prow-deploy/kustom/overlays/ibmcloud-production/resources/hook-rbac.yaml +++ /dev/null @@ -1,38 +0,0 @@ ---- -kind: Role -apiVersion: rbac.authorization.k8s.io/v1 -metadata: - namespace: kubevirt-prow-jobs - name: "hook" -rules: - - apiGroups: - - "prow.k8s.io" - resources: - - prowjobs - verbs: - - create - - get - - list - - update - - apiGroups: - - "" - resources: - - configmaps - verbs: - - create - - get - - update ---- -kind: RoleBinding -apiVersion: rbac.authorization.k8s.io/v1 -metadata: - namespace: kubevirt-prow-jobs - name: "hook" -roleRef: - apiGroup: rbac.authorization.k8s.io - kind: Role - name: "hook" -subjects: -- kind: ServiceAccount - name: "hook" - namespace: kubevirt-prow diff --git a/github/ci/prow-deploy/kustom/overlays/ibmcloud-production/resources/horologium-rbac.yaml b/github/ci/prow-deploy/kustom/overlays/ibmcloud-production/resources/horologium-rbac.yaml deleted file mode 100644 index ef1f09cf2f..0000000000 --- a/github/ci/prow-deploy/kustom/overlays/ibmcloud-production/resources/horologium-rbac.yaml +++ /dev/null @@ -1,29 +0,0 @@ ---- -kind: Role -apiVersion: rbac.authorization.k8s.io/v1 -metadata: - namespace: kubevirt-prow-jobs - name: "horologium" -rules: - - apiGroups: - - "prow.k8s.io" - resources: - - prowjobs - verbs: - - create - - list - - watch ---- -kind: RoleBinding -apiVersion: rbac.authorization.k8s.io/v1 -metadata: - namespace: kubevirt-prow-jobs - name: "horologium" -roleRef: - apiGroup: rbac.authorization.k8s.io - kind: Role - name: "horologium" -subjects: -- kind: ServiceAccount - name: "horologium" - namespace: kubevirt-prow diff --git a/github/ci/prow-deploy/kustom/overlays/ibmcloud-production/resources/prow-exporter-deployment.yaml b/github/ci/prow-deploy/kustom/overlays/ibmcloud-production/resources/prow-exporter-deployment.yaml deleted file mode 100644 index 07949aa130..0000000000 --- a/github/ci/prow-deploy/kustom/overlays/ibmcloud-production/resources/prow-exporter-deployment.yaml +++ /dev/null @@ -1,78 +0,0 @@ ---- -apiVersion: apps/v1 -kind: Deployment -metadata: - namespace: default - name: prow-exporter - labels: - app: prow-exporter -spec: - replicas: 1 - selector: - matchLabels: - app: prow-exporter - template: - metadata: - labels: - app: prow-exporter - spec: - serviceAccountName: prow-exporter - terminationGracePeriodSeconds: 30 - containers: - - name: prow-exporter - image: gcr.io/k8s-prow/exporter:v20231005-383927a788 - imagePullPolicy: Always - ports: - - name: metrics - containerPort: 9090 - - name: healthz - containerPort: 8081 - args: - - --config-path=/etc/config/config.yaml - - --job-config-path=/etc/job-config - env: - # Use KUBECONFIG envvar rather than --kubeconfig flag in order to provide multiple configs to merge. - - name: KUBECONFIG - value: "/etc/kubeconfig/config" - volumeMounts: - - mountPath: /etc/kubeconfig - name: kubeconfig - readOnly: true - - name: config - mountPath: /etc/config - readOnly: true - - name: job-config - mountPath: /etc/job-config - readOnly: true - livenessProbe: - httpGet: - path: /healthz - port: 8081 - initialDelaySeconds: 10 - periodSeconds: 30 - timeoutSeconds: 15 - readinessProbe: - httpGet: - path: /healthz/ready - port: 8081 - initialDelaySeconds: 10 - periodSeconds: 30 - timeoutSeconds: 15 - resources: - requests: - cpu: 100m - memory: 500Mi - limits: - cpu: 100m - memory: 500Mi - volumes: - - name: kubeconfig - secret: - defaultMode: 420 - secretName: kubeconfig - - name: config - configMap: - name: config - - name: job-config - configMap: - name: job-config diff --git a/github/ci/prow-deploy/kustom/overlays/ibmcloud-production/resources/prow-exporter-rbac.yaml b/github/ci/prow-deploy/kustom/overlays/ibmcloud-production/resources/prow-exporter-rbac.yaml deleted file mode 100644 index 0b1e76b0da..0000000000 --- a/github/ci/prow-deploy/kustom/overlays/ibmcloud-production/resources/prow-exporter-rbac.yaml +++ /dev/null @@ -1,35 +0,0 @@ ---- -apiVersion: v1 -kind: ServiceAccount -metadata: - namespace: kubevirt-prow - name: prow-exporter ---- -kind: Role -apiVersion: rbac.authorization.k8s.io/v1 -metadata: - namespace: kubevirt-prow-jobs - name: prow-exporter -rules: -- apiGroups: - - "prow.k8s.io" - resources: - - prowjobs - verbs: - - get - - list - - watch ---- -kind: RoleBinding -apiVersion: rbac.authorization.k8s.io/v1 -metadata: - namespace: kubevirt-prow-jobs - name: prow-exporter -roleRef: - apiGroup: rbac.authorization.k8s.io - kind: Role - name: prow-exporter -subjects: -- kind: ServiceAccount - name: prow-exporter - namespace: kubevirt-prow diff --git a/github/ci/prow-deploy/kustom/overlays/ibmcloud-production/resources/prow-exporter-service.yaml b/github/ci/prow-deploy/kustom/overlays/ibmcloud-production/resources/prow-exporter-service.yaml deleted file mode 100644 index c8a3ecde0a..0000000000 --- a/github/ci/prow-deploy/kustom/overlays/ibmcloud-production/resources/prow-exporter-service.yaml +++ /dev/null @@ -1,13 +0,0 @@ -apiVersion: v1 -kind: Service -metadata: - labels: - app: prow-exporter - monitoring: "true" - name: prow-exporter -spec: - selector: - app: prow-exporter - ports: - - name: metrics - port: 9090 diff --git a/github/ci/prow-deploy/kustom/overlays/ibmcloud-production/resources/sinker-rbac.yaml b/github/ci/prow-deploy/kustom/overlays/ibmcloud-production/resources/sinker-rbac.yaml deleted file mode 100644 index c04bb102f7..0000000000 --- a/github/ci/prow-deploy/kustom/overlays/ibmcloud-production/resources/sinker-rbac.yaml +++ /dev/null @@ -1,56 +0,0 @@ -kind: Role -apiVersion: rbac.authorization.k8s.io/v1 -metadata: - namespace: kubevirt-prow-jobs - name: "sinker" -rules: - - apiGroups: - - "prow.k8s.io" - resources: - - prowjobs - verbs: - - delete - - list - - watch - - get - - apiGroups: - - coordination.k8s.io - resources: - - leases - resourceNames: - - prow-sinker-leaderlock - verbs: - - get - - update - - apiGroups: - - coordination.k8s.io - resources: - - leases - verbs: - - create - - apiGroups: - - "" - resources: - - configmaps - resourceNames: - - prow-sinker-leaderlock - verbs: - - get - - update - - apiGroups: - - "" - resources: - - configmaps - - events - verbs: - - create - - apiGroups: - - "" - resources: - - pods - verbs: - - delete - - list - - watch - - get - - patch diff --git a/github/ci/prow-deploy/kustom/overlays/ibmcloud-production/yq_scripts/README b/github/ci/prow-deploy/kustom/overlays/ibmcloud-production/yq_scripts/README deleted file mode 100644 index 37bfa610a3..0000000000 --- a/github/ci/prow-deploy/kustom/overlays/ibmcloud-production/yq_scripts/README +++ /dev/null @@ -1,2 +0,0 @@ -If you change something in this directory, you need to relaunch -the yq script to rerender your configs diff --git a/github/ci/prow-deploy/vars/ibmcloud-production/main.yml b/github/ci/prow-deploy/vars/ibmcloud-production/main.yml deleted file mode 100644 index ffc2a0c28e..0000000000 --- a/github/ci/prow-deploy/vars/ibmcloud-production/main.yml +++ /dev/null @@ -1,17 +0,0 @@ -testinfra_dir: /tmp/test-infra -kubectl_exec: kubectl -bootstrap_full_config: true -reconcile_github_webhooks: true -rescale_pushgateway_deployment: true -rescale_deck_deployment: true -project_infra_root: /home/prow/go/src/github.com/kubevirt/project-infra -secrets_dir: '{{ project_infra_root }}/github/ci/prow-deploy/kustom/overlays/ibmcloud-production/secrets/' -components_dir: '{{ project_infra_root }}/github/ci/prow-deploy/kustom/components' -kubeconfig_path: '{{ secrets_dir }}/kubeconfig' - -shell_environment: - KUBECONFIG: "{{ kubeconfig_path }}" - -remote_cluster_prow_jobs_context: ibm-prow-jobs -ansible_python_interpreter: /usr/bin/python3 -delete_priority_classes: false