diff --git a/parameters-scw-im-main-staging.yaml b/parameters-scw-im-main-staging.yaml new file mode 100644 index 0000000..3039752 --- /dev/null +++ b/parameters-scw-im-main-staging.yaml @@ -0,0 +1,51 @@ +--- + +# Where are we deploying this stuff? +# +# The name is used to decrypt installation-specific variables +# that are expected to be found in 'vars/sensitive-.vault', +# and you will need to provide the vault password when running the playbook. +infra_installation_name: scw-im-main-staging + +# A set of parameters for our im-main (staging) Scaleway cluster. + +k8s_kubeconfig: "{{ lookup('env', 'KUBECONFIG') }}" + +core_deploy_cluster_issuer: no + +infra_priority_class: im-application-critical +infra_namespace: im-infra-staging + +ingress_class: nginx + +efs_state: absent +cinder_state: absent + +pg_state: present +pg_image: informaticsmatters/rdkit-cartridge-debian +pg_version: Release_2024_03_3 +pg_vol_size_g: 4 +pg_cpu_request: 100m +pg_mem_request: 250Mi + +pg_bu_state: present +pg_bu_image_tag: "15.8" +# 4 backups a day (at 6-hourly intervals) +pg_bu_hourly_schedule: "1 5,11,17,23 * * *" +pg_bu_hourly_history: 4 +# 7 daily backups +pg_bu_daily_schedule: "31 5 * * *" +pg_bu_daily_history: 7 +# 4 weekly backups (on Sundays) +pg_bu_weekly_schedule: "41 5 * * 0" +pg_bu_weekly_history: 4 +# 3 monthly backups (on the 1st of each month) +pg_bu_monthly_schedule: "41 5 1 * *" +pg_bu_monthly_history: 3 + +kc_state: present +kc_hostname: squonk.informaticsmatters.org + +rabbitmq_state: present +rabbitmq_hostname: rabbitmq-staging-scw.informaticsmatters.com +rabbitmq_version: "4.2.2" diff --git a/parameters-scw-im-main.yaml b/parameters-scw-im-main.yaml index bf666aa..ff2d561 100644 --- a/parameters-scw-im-main.yaml +++ b/parameters-scw-im-main.yaml @@ -44,7 +44,7 @@ pg_bu_monthly_schedule: "41 5 1 * *" pg_bu_monthly_history: 3 kc_state: present -kc_hostname: keycloak-scw.informaticsmatters.com +kc_hostname: squonk.it rabbitmq_state: present rabbitmq_hostname: rabbitmq-scw.informaticsmatters.com diff --git a/roles/infrastructure/vars/sensitive-scw-im-main-staging.vault b/roles/infrastructure/vars/sensitive-scw-im-main-staging.vault new file mode 100644 index 0000000..fe11abf --- /dev/null +++ b/roles/infrastructure/vars/sensitive-scw-im-main-staging.vault @@ -0,0 +1,21 @@ +$ANSIBLE_VAULT;1.1;AES256 +30623830366431363065363430656136313861636163356234623535643966643632393234303765 +3261316133623964656365636239306534613163336231650a336532313036366164616366633236 +36383038306462663962613130343830636438643964316463613135633937656666616336623062 +3066303037313430310a353631303438383138323463396366376266653136613964393066363035 +64616362663431386365383839646330303230313933396239623031313134663561306335306464 +30646636636361643564396438663035643866333139333566376632376664343632336562313562 +61636335396562613666366332613761333765363535656439316264373130306363383333303365 +35373539653932373463323666663438343034353065633633663439353064613836303436303866 +35643566316536376130326434623838636666376136613366316136633138396236393135313033 +37656130336361613034613165633538303238623265666438306463623132633838343466613139 +63316562316637663836353230383737663664383733363734336636303764313632303961363035 +36636362666466663036343833353561356337623732323666326432646235343039653436363765 +37333062363163333638343135333735653636616238396132326130646338633935373761653638 +33316339346538633630396563366563376439383430666134666539643632633466626334396431 +66383230656461373563346639356463313063636362343964633638653465633231663136356434 +36346666353737366163366335393238323864396632623537646637373564313731303636336332 +31353438326435363334616463656539343566613435306365306261383337356138343633386464 +34316563303438633263366163393462376263343231336263306563306539323139393536653664 +39653839396330323065333935363463346530623932613962303533326234393338376266326339 +62373834303438316539