From e32f6353305d196d60ab3f2375c8defc66d50147 Mon Sep 17 00:00:00 2001 From: Alex Corvin Date: Fri, 27 Oct 2023 08:09:37 -0400 Subject: [PATCH] Remove USIR sync pipelines --- .../prod/secrets/secret-generator.yaml | 2 - .../secrets/usir-prod-sync-secret.enc.yaml | 31 ---------------- .../secrets/usir-stage-sync-secret.enc.yaml | 31 ---------------- .../prod/sync-instances/kustomization.yaml | 2 - .../prod/sync-instances/usir-prod.yaml | 37 ------------------- .../prod/sync-instances/usir-stage.yaml | 37 ------------------- 6 files changed, 140 deletions(-) delete mode 100644 s3-sync-pipelines/overlays/prod/secrets/usir-prod-sync-secret.enc.yaml delete mode 100644 s3-sync-pipelines/overlays/prod/secrets/usir-stage-sync-secret.enc.yaml delete mode 100644 s3-sync-pipelines/overlays/prod/sync-instances/usir-prod.yaml delete mode 100644 s3-sync-pipelines/overlays/prod/sync-instances/usir-stage.yaml diff --git a/s3-sync-pipelines/overlays/prod/secrets/secret-generator.yaml b/s3-sync-pipelines/overlays/prod/secrets/secret-generator.yaml index afa16015..613ca757 100644 --- a/s3-sync-pipelines/overlays/prod/secrets/secret-generator.yaml +++ b/s3-sync-pipelines/overlays/prod/secrets/secret-generator.yaml @@ -4,5 +4,3 @@ metadata: name: secret-generator files: - ./secrets/floorist-sync-secret.enc.yaml - - ./secrets/usir-stage-sync-secret.enc.yaml - - ./secrets/usir-prod-sync-secret.enc.yaml diff --git a/s3-sync-pipelines/overlays/prod/secrets/usir-prod-sync-secret.enc.yaml b/s3-sync-pipelines/overlays/prod/secrets/usir-prod-sync-secret.enc.yaml deleted file mode 100644 index 3457613e..00000000 --- a/s3-sync-pipelines/overlays/prod/secrets/usir-prod-sync-secret.enc.yaml +++ /dev/null @@ -1,31 +0,0 @@ -apiVersion: v1 -kind: Secret -metadata: - name: usir-prod-sync -stringData: - rclone.conf: ENC[AES256_GCM,data:7Z0GehQx8oS26+hQv+cmkX73abi/Mre3gzRB450G2/7aKBWqsXYwNJ6GLaityzXQliFpA5D4yhljIMtNf7438HA84MxGCy6izYsVFJIydfJ3rZ+/FpkWsUpdzab6jgwBvF1WP/0BJOeP68UKd3t4/M+RaU3Jd4yGVZ7dlxsX/jkydZc7n4QSuuzh5wSjW0lRtfh8J1vnJScoYWLaHNOZ5gUYIDD8zWREp5i7EPT8PEZpF9Kls7HjCPDrPtgPU8tz1KgOAc4cu+pPFzLJjSBwfM2JnA2DtmgneFoUeNAS6fNawAMnzlCRQc/pUQ1nwl0cNYqK+0wWj09xyvaP/2yUD1HtDE8Gn8NX3AXPD3P8Yz2kkaTGJszLF+WN+bri44LGM270j40XHrIgLvpMO8QvRDVzRGWxmtYHKn6YzeWdGbIopBKIu0gClrY396lfry5l/3+HbNDEiaDp9B5Itbb/R4uf+IJG962/C5EnoHBcZAWGln2BwOe9,iv:0MrkescJZDdc6ab1z683KlB0S10oPgZ1+uVLFZx/Eao=,tag:hSkvRjWkJNZcjXbX0m6R5Q==,type:str] -sops: - kms: [] - gcp_kms: [] - azure_kv: [] - hc_vault: [] - lastmodified: '2022-06-15T14:25:05Z' - mac: ENC[AES256_GCM,data:Ya56Z2EA4tNG2QG+GMwDBDehI7WJ88wmRRiwqjUB4vntYu3OnNyzbyuIYQglc3mS7U94wcXrw1ZURwQnRMCYkSDq6PSY4oxADwTrBSk1CfC8tm8WAJPWSQMvUJc8FZkV2wNvCbDVN7IizN+SbFoI81sKcGbqQ5z+a97vuVw8s30=,iv:ljGAle2qefSHIDujy7ZiNzU2XiOVBGH0E5F/1pNiuJ4=,tag:h+e6zte2C+FS+b1YIIbP8g==,type:str] - pgp: - - created_at: '2022-06-15T14:25:04Z' - enc: | - -----BEGIN PGP MESSAGE----- - - hQEMA/irrHa183bxAQgAobD+stBfOYF67/7bmqlOXk+EGD1pK0w1NGaY0KMtS8Ko - SOe6TKDkVaFKZJL2at+0qk3Ci98ubrESSvpL6F8D1Fc7qMNHHAa5uaAAUw+ii4tA - vC8GvNBJbrZ2cQuPJRV/aDdTTOIM67mONvEf1N0BOiBxC1Kd3sas0iNpmtXP9jBG - i9nGMiwR939iXBqi+r7VUljigRzHjAxH+SdW6+IVrNWfvNbHhX9/vFFqj8V6h7uq - 9O0iKuER6FV87g5IZuipkPQryFWM6mxdms5xbHNZEgDNqO9oB2XZnWOKmWqEehFT - xDa/RrNj5L1K8Sh/wC4+CmJX/lkfewmZ9PJBlO/Jl9JeAeKO0IH3zt63XL578cyC - sOfiPubYgp0KMEsed0k+KP8HVXrT6WzeZhkm17oWXdrFFn3DNHx46TWpOwANzrc/ - FTN5mtTcyquGeYEMQiEHT4cV1SjqsA9HnSKJwNnDlQ== - =eeSa - -----END PGP MESSAGE----- - fp: EFDB9AFBD18936D9AB6B2EECBD2C73FF891FBC7E - encrypted_regex: ^(data|stringData|tls)$ - version: 3.6.1 diff --git a/s3-sync-pipelines/overlays/prod/secrets/usir-stage-sync-secret.enc.yaml b/s3-sync-pipelines/overlays/prod/secrets/usir-stage-sync-secret.enc.yaml deleted file mode 100644 index 122e7993..00000000 --- a/s3-sync-pipelines/overlays/prod/secrets/usir-stage-sync-secret.enc.yaml +++ /dev/null @@ -1,31 +0,0 @@ -apiVersion: v1 -kind: Secret -metadata: - name: usir-stage-sync -stringData: - rclone.conf: ENC[AES256_GCM,data:vBAssUj2g8Ypwidspi+ApezvPUxuLdq9oidMesEWQWScnAGruaaENcvoGErXzbyVeS+kyjH+dnwMXEjQKlnORhoIgjm0NplICFG/lBuXRggjc/9F1Aw8EC5BNa6fbhzQ5PugvI0vUszdqENyZ9E8pqiGvyr/77wUoSPoaH/FlHFsrQkXdZM4BjxzfNJWiuYmQPKdNj66puGZiaKJBrf+tYD0Xicvc9XxvwCOOoEa2f/T3670M3DPEyJUVvwyzEFI8IJoyUmektDbFiGlpBvFsKLQq6CnLFFgN7peD2WmWhrT3G2HNWhCPnMBSq9KOvTLranKjZrrUuKJ7VGLMXFiFNsblqyj4TwwPXzk2N+wG0ZWsmy0ii+RY4gQ4jey+Xdv4a514U5gBhNQ5nUQ45qs0GYaZlvr0MjAoh4RxKqvzVw34iEyAsBpXOOMxurpmsfz+6OmzXxVYM2pWuMNlGLVhxxxNEuZ9CIsB9aJi3+PLoioFtFUpH1U,iv:qINYqp08wkeeiUbv2Pin9GyksV1aOqTtLECFJjfJnaM=,tag:e7L3/qyWDNKRa7aJbJECkg==,type:str] -sops: - kms: [] - gcp_kms: [] - azure_kv: [] - hc_vault: [] - lastmodified: '2022-06-13T20:19:31Z' - mac: ENC[AES256_GCM,data:lf8qp4ReAReax/DkbPKg/9jK8hD3ApvET1pweluI8azpKV3PjOAwdWxT36/Qy1CNZhFUkgJ6XbAwFLV0aSVF2jLIrJXVNQqckeNQwuzIJqc9/aIi59TOY7WLCZmvfi5a6OrV4syM32r2jEe1GVBfK+8TYD2JA9ivjihzD53tRhc=,iv:OZkhob+Gaiu9UIAO9D5vgwSjslOxqQ1iLmwr0Uhfj5M=,tag:Itnzyryl4BpB/CwlkwG8nQ==,type:str] - pgp: - - created_at: '2022-05-10T19:57:29Z' - enc: | - -----BEGIN PGP MESSAGE----- - - hQEMA/irrHa183bxAQf+PwQMw84w/rdAQwA6NM4uRVb5PXolceFxNxz6nWPxbnHD - a87CdARVb/f8Jtqt/aE4Kf3jNFGTkFr7a06MZOGrQ5rT8ggZG9H0zdVPuVsu9yy+ - kvfpscWfSRl42gbiHCZLbztDZpRhFGa78sY1m94RUTVIMhjYP7h+pv/xMN8U9VmP - 0L2gUU2HdmmjOTFRvz2TN1savibeTfLxCuZu29p0dZOs3hb2owgDFu5Y80hSHqTe - fA2rAr4OwK2vMRMhF0xB8AMjxQqeQM2If/An5SBFIOsK1GciHJRdd0BFAhF24/jg - jol7s/NBvNa+obKKggRZRQbeqIUghECFV1NNg7g/qNJeAUrD0tJuUc/jNOippvH4 - 8vpa5RE0YZbPrqIuhog/IEiBuTfYu1JJf3cH7mPoeKSW3vLwkb3Md0VlMMkGBqio - jCqe2Whd83EeHpTKenH6kHfv+R4jehjsaGVH/i/CMw== - =131w - -----END PGP MESSAGE----- - fp: EFDB9AFBD18936D9AB6B2EECBD2C73FF891FBC7E - encrypted_regex: ^(data|stringData|tls)$ - version: 3.6.1 diff --git a/s3-sync-pipelines/overlays/prod/sync-instances/kustomization.yaml b/s3-sync-pipelines/overlays/prod/sync-instances/kustomization.yaml index 6e7b12d7..69ede904 100644 --- a/s3-sync-pipelines/overlays/prod/sync-instances/kustomization.yaml +++ b/s3-sync-pipelines/overlays/prod/sync-instances/kustomization.yaml @@ -2,6 +2,4 @@ apiVersion: kustomize.config.k8s.io/v1beta1 kind: Kustomization resources: - - usir-prod.yaml - - usir-stage.yaml - floorist.yaml diff --git a/s3-sync-pipelines/overlays/prod/sync-instances/usir-prod.yaml b/s3-sync-pipelines/overlays/prod/sync-instances/usir-prod.yaml deleted file mode 100644 index 629e30f8..00000000 --- a/s3-sync-pipelines/overlays/prod/sync-instances/usir-prod.yaml +++ /dev/null @@ -1,37 +0,0 @@ ---- -apiVersion: batch/v1 -kind: CronJob -metadata: - name: usir-prod-sync -spec: - schedule: "0 0 * * *" - jobTemplate: - spec: - template: - spec: - containers: - - name: trigger - image: quay.io/rhn_support_sreber/curl - args: ["curl", "-X", "POST", "--data", "{}", "el-usir-prod-sync-listener:8080"] - restartPolicy: Never - ---- -apiVersion: triggers.tekton.dev/v1beta1 -kind: EventListener -metadata: - name: usir-prod-sync-listener -spec: - serviceAccountName: s3-sync - triggers: - - name: s3-sync - bindings: - - name: src_bucket - value: rhsm-subscriptions-egress-prod - - name: dest_bucket - value: DH-SECURE-USIR - - name: rclone_params - value: "" - - name: sync_config_secret_name - value: usir-prod-sync - template: - ref: s3-sync diff --git a/s3-sync-pipelines/overlays/prod/sync-instances/usir-stage.yaml b/s3-sync-pipelines/overlays/prod/sync-instances/usir-stage.yaml deleted file mode 100644 index f700ca07..00000000 --- a/s3-sync-pipelines/overlays/prod/sync-instances/usir-stage.yaml +++ /dev/null @@ -1,37 +0,0 @@ ---- -apiVersion: batch/v1 -kind: CronJob -metadata: - name: usir-stage-sync -spec: - schedule: "0 0 * * *" - jobTemplate: - spec: - template: - spec: - containers: - - name: trigger - image: quay.io/rhn_support_sreber/curl - args: ["curl", "-X", "POST", "--data", "{}", "el-usir-stage-sync-listener:8080"] - restartPolicy: Never - ---- -apiVersion: triggers.tekton.dev/v1beta1 -kind: EventListener -metadata: - name: usir-stage-sync-listener -spec: - serviceAccountName: s3-sync - triggers: - - name: s3-sync - bindings: - - name: src_bucket - value: rhsm-subscriptions-egress-stage - - name: dest_bucket - value: DH-SECURE-USIR - - name: rclone_params - value: "" - - name: sync_config_secret_name - value: usir-stage-sync - template: - ref: s3-sync