Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
18 commits
Select commit Hold shift + click to select a range
ffd9363
fix: wpb-23988 sync offline-secrets and prod-secrets.example.yaml and…
mohitrajain Mar 12, 2026
aa995ae
fix: wpb-23988 enable postgresql secret for background-worker inwiab-dev
mohitrajain Mar 12, 2026
af08fab
fix: wpb-23988 sync wire-server helm chart values for wiab-dev from p…
mohitrajain Mar 12, 2026
0be0065
fix: wpb-23988 sync wire-server helm chart secrets for wiab-dev from …
mohitrajain Mar 12, 2026
113d8bf
fix: wpb-23988 add a changelog file
mohitrajain Mar 12, 2026
a0a04d2
fix: wpb-23988 fix the changelog verification workflow to consider th…
mohitrajain Mar 12, 2026
84615b2
fix: wpb-23988 remove the changelog trigger for every push operation
mohitrajain Mar 12, 2026
efa297e
fix: wpb-23988 comment out empty mls secrets for wiab-dev
mohitrajain Mar 13, 2026
5ffd321
fix: wpb-23988 update wiab-stag artifact hash
mohitrajain Mar 13, 2026
b5efd28
add: wpb-23988 variable private_deployment with default true to disab…
mohitrajain Mar 17, 2026
b6d3fbd
fix: wpb-23988 cert_master_email env var
mohitrajain Mar 17, 2026
7145ff3
fix: wpb-23988 running wiab-staging-nftables.yaml playbook is explicit
mohitrajain Mar 17, 2026
eb909fc
fix: wpb-23988 wiab-staging.md documentation to add details about def…
mohitrajain Mar 17, 2026
737cb5b
fix: wpb-23988 add changelog
mohitrajain Mar 17, 2026
1bea057
fix: wpb-23988 update the wiab-staging.md to improve documentation ar…
mohitrajain Mar 18, 2026
b682734
fix: wpb-23988 update the artifact hash
mohitrajain Mar 18, 2026
ba1c5bb
fix: wpb-23988 stop deploying smallstep by default in wiab-staging an…
mohitrajain Mar 18, 2026
58e620e
fix: wpb-23988 changelog
mohitrajain Mar 18, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 1 addition & 3 deletions .github/workflows/changelog-verify.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
name: Changelog verification
on:
pull_request:
branches: [master]
push:
branches: [master]
branches: ["**"]

permissions:
contents: read
Expand Down
2 changes: 2 additions & 0 deletions ansible/files/wiab_server_nftables.conf.j2
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,9 @@ table ip nat {
chain POSTROUTING {
type nat hook postrouting priority 100;
oifname != docker0 ip saddr 172.17.0.0/16 counter masquerade
{% if not (private_deployment | default(false) | bool) %}
oifname $INF_WAN counter masquerade comment "{{ wire_comment }} masquerade outgoing traffic"
{% endif %}
}
chain DOCKER {
iifname docker0 counter return
Expand Down
1 change: 0 additions & 1 deletion ansible/inventory/demo/host.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,6 @@ wiab:
- databases-ephemeral
- postgresql
- reaper
- smallstep-accomp
- wire-server
- webapp
- account-pages
Expand Down
4 changes: 3 additions & 1 deletion ansible/inventory/demo/wiab-staging.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,6 @@ wiab-staging:
ansible_user: 'demo'
ansible_ssh_private_key_file: "~/.ssh/id_ed25519"
vars:
artifact_hash: 82edf88d9193e9f7e0a62ee4b287fd0c7cebb1bd
artifact_hash: 7da2319729ba792f91d7ccba4e026c21cd3a3691
# it will disable internet access to VMs created on the private network
private_deployment: true
3 changes: 3 additions & 0 deletions ansible/wiab-demo/wire_secrets.yml
Original file line number Diff line number Diff line change
Expand Up @@ -418,6 +418,9 @@
galley:
secrets:
pgPassword: "{{ pgpassword }}"
background-worker:
secrets:
pgPassword: "{{ pgpassword }}"
when: "'postgresql' in charts_to_deploy"

- name: Update secrets in-place
Expand Down
3 changes: 1 addition & 2 deletions ansible/wiab-staging-provision.yml
Original file line number Diff line number Diff line change
Expand Up @@ -298,9 +298,8 @@
kubenode2_ip: "{{ kubenode_ip_result.results[1].stdout }}"
kubenode3_ip: "{{ kubenode_ip_result.results[2].stdout }}"
wire_comment: "wiab-stag"

tags: always

- name: Configure nftables
import_playbook: ./wiab-staging-nftables.yaml
tags: nftables
tags: [never, nftables]
6 changes: 3 additions & 3 deletions bin/helm-operations.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ set -Eeo pipefail
# Read values from environment variables with defaults
BASE_DIR="${BASE_DIR:-/wire-server-deploy}"
TARGET_SYSTEM="${TARGET_SYSTEM:-example.com}"
CERT_MASTER_EMAIL="certmaster@${CERT_MASTER_EMAIL}:-certmaster@${TARGET_SYSTEM}"
CERT_MASTER_EMAIL="${CERT_MASTER_EMAIL:-certmaster@example.com}"

# DEPLOY_CERT_MANAGER env variable is used to decide if cert_manager and nginx-ingress-services charts should get deployed
# default is set to TRUE to deploy it unless changed
Expand Down Expand Up @@ -60,7 +60,7 @@ process_values() {

ENV=$1
TYPE=$2
charts=(fake-aws smtp rabbitmq databases-ephemeral reaper wire-server webapp account-pages team-settings smallstep-accomp ingress-nginx-controller nginx-ingress-services coturn sftd cert-manager)
charts=(fake-aws smtp rabbitmq databases-ephemeral reaper wire-server webapp account-pages team-settings ingress-nginx-controller nginx-ingress-services coturn sftd cert-manager)

if [[ "$ENV" != "prod" ]] || [[ -z "$TYPE" ]] ; then
echo "Error: This function only supports prod deployments with TYPE as values or secrets. ENV must be 'prod', got: '$ENV' and '$TYPE'"
Expand Down Expand Up @@ -214,7 +214,7 @@ sync_pg_secrets
configure_values

# deploying with external datastores, useful for prod setup
deploy_charts cassandra-external elasticsearch-external minio-external postgresql-external fake-aws smtp rabbitmq-external databases-ephemeral reaper wire-server webapp account-pages team-settings smallstep-accomp ingress-nginx-controller
deploy_charts cassandra-external elasticsearch-external minio-external postgresql-external fake-aws smtp rabbitmq-external databases-ephemeral reaper wire-server webapp account-pages team-settings ingress-nginx-controller

# deploying cert-manager only when the env var DEPLOY_CERT_MANAGER is set to TRUE
if [[ "$DEPLOY_CERT_MANAGER" == "TRUE" ]]; then
Expand Down
3 changes: 1 addition & 2 deletions bin/offline-secrets.sh
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,6 @@ brig:
rabbitmq:
username: guest
password: guest
# These are only necessary if you wish to support sign up via SMS/calls
# And require accounts at twilio.com / nexmo.com
cargohold:
secrets:
Expand Down Expand Up @@ -105,6 +103,7 @@ team-settings:
configJson: "e30K"
background-worker:
secrets:
pgPassword: verysecurepassword
rabbitmq:
username: guest
password: guest
Expand Down
1 change: 1 addition & 0 deletions changelog.d/3-deploy-builds/disable-smallstep
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Fixed: stop deploying smallstep in wiab-staging and wiab-dev environments
4 changes: 4 additions & 0 deletions changelog.d/3-deploy-builds/wiab-dev-5.25-fixes
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
Fixed: sync offline-secrets and prod-secrets.example.yaml and add comments
Added: enable postgresql secret for background-worker in wiab-dev
Fixed: sync wire-server helm chart values for wiab-dev from prod values for 5.25
Fixed: sync wire-server helm chart secrets for wiab-dev from prod values for 5.25
5 changes: 5 additions & 0 deletions changelog.d/3-deploy-builds/wiab-stag-nftables-snat-fix
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
Added: variable private_deployment with default true to disable SNAT on adminhost
Fixed: cert_master_email env var parsing in helm-operations.sh
Fixed: made running wiab-staging-nftables.yaml playbook explicit
Added: wiab-staging.md documentation to add details about default SNAT access being denied and how to enable it
Added: wiab-staging.md network flow diagram
Loading
Loading