From 8e19905feba5f6c266a79ce7f30d8a4cda2f6368 Mon Sep 17 00:00:00 2001 From: Nikolai Rodionov Date: Wed, 19 Jul 2023 22:28:21 +0200 Subject: [PATCH] Install drone-docker-runner to the etersoft cluster --- badhouseplants/helmfile.yaml | 5 ----- .../values/secrets.drone-runner-docker.yaml | 22 +++++++++++++++++++ .../values/values.drone-runner-docker.yaml | 16 ++++++++++++++ helmfile.yaml | 6 +++++ 4 files changed, 44 insertions(+), 5 deletions(-) create mode 100644 etersoft/values/secrets.drone-runner-docker.yaml create mode 100644 etersoft/values/values.drone-runner-docker.yaml diff --git a/badhouseplants/helmfile.yaml b/badhouseplants/helmfile.yaml index b60f269..9cd43ab 100644 --- a/badhouseplants/helmfile.yaml +++ b/badhouseplants/helmfile.yaml @@ -12,11 +12,6 @@ releases: namespace: drone-service createNamespace: false - - <<: *drone-runner-docker - installed: true - namespace: drone-service - createNamespace: false - - <<: *longhorn installed: true namespace: longhorn-system diff --git a/etersoft/values/secrets.drone-runner-docker.yaml b/etersoft/values/secrets.drone-runner-docker.yaml new file mode 100644 index 0000000..eb18677 --- /dev/null +++ b/etersoft/values/secrets.drone-runner-docker.yaml @@ -0,0 +1,22 @@ +env: + DRONE_RPC_SECRET: ENC[AES256_GCM,data:RAZbnTrv9PxiCLLqjKWBtFWd+Nzqma8Zw+NuKRLO,iv:IiFcTQGUmYa6UCBzx1yTDd0zwB6D1Cv0raXZxLXm1qA=,tag:83bnBW+MhkKehZfso3g+/g==,type:str] +sops: + kms: [] + gcp_kms: [] + azure_kv: [] + hc_vault: [] + age: + - recipient: age1vzkv97n2p7gfkw8dyx8ctz2kumattz89th2jq47zyjyrarmnssysdkw9v8 + enc: | + -----BEGIN AGE ENCRYPTED FILE----- + YWdlLWVuY3J5cHRpb24ub3JnL3YxCi0+IFgyNTUxOSBOVk0yaTlySHpuOWFFT3J5 + Z210NzJPTmV0akdFQ1REM1JzK0pwTC9XWjJJCm54QmQ3ODJwakZuamMzYTBIeEJi + aUxKNmQ3dU52V2N2cjl5VTJpTTAwWGsKLS0tIDFyR2o2VnQ4QWFCWWRzZGNMZnNQ + em1VMlhBNGRrVFhXVUVRdU16Q1Q4bUEKvZ6UbZsfdvfCk37FlEN4vg0RTnPO2nwh + DY4klzcan+9DBRT2qdIIy6pj94GuSoXKXEYc9X0AvYab/HoLithMWA== + -----END AGE ENCRYPTED FILE----- + lastmodified: "2023-05-21T09:27:21Z" + mac: ENC[AES256_GCM,data:U2JETtW0lbb2znJBupGMPsab13y5M1v1N0wkFxEBs+YVNFhnkvIqSZiY5mq9KTYiY4tRzw1kV+jqP0jNsODekCI1++4NBuQsGSZFUoTERHgTRlnz1aAS+nf39lvYnWyQxsQmw9vY/GQ/yluBJkOEV/EoIF3wHjxZe1HCBIViPyk=,iv:WMj7aSgW8LdNQbOgC4FcyOtR/3gjckiHO8vlZGdiTeY=,tag:Xty2QVLJ/D2dlzQY13od5w==,type:str] + pgp: [] + unencrypted_suffix: _unencrypted + version: 3.7.3 diff --git a/etersoft/values/values.drone-runner-docker.yaml b/etersoft/values/values.drone-runner-docker.yaml new file mode 100644 index 0000000..923e72d --- /dev/null +++ b/etersoft/values/values.drone-runner-docker.yaml @@ -0,0 +1,16 @@ +--- +env: + DRONE_RPC_HOST: drone.badhouseplants.net + DRONE_RPC_PROTO: https + DRONE_NAMESPACE_DEFAULT: drone-service +rbac: + buildNamespaces: + - drone-service +dind: + resources: + limits: + cpu: 2000m + memory: 2024Mi + requests: + cpu: 100m + memory: 512Mi \ No newline at end of file diff --git a/helmfile.yaml b/helmfile.yaml index 738d891..8a8ccd9 100644 --- a/helmfile.yaml +++ b/helmfile.yaml @@ -46,5 +46,11 @@ releases: namespace: metallb-system createNamespace: true + - <<: *drone-runner-docker + installed: true + namespace: drone-service + createNamespace: false + + helmfiles: - path: {{.Environment.Name }}/helmfile.yaml