- Add this vars to the env in the deployment
- name: REGISTRY_AUTH_HTPASSWD_REALM
value: Registry Realm
- name: REGISTRY_AUTH_HTPASSWD_PATH
value: /var/lib/registry/registry.auth
| #!/bin/bash | |
| ## Author: Pavel Milanes <pavelmc@gmail.com> / Telegram: @pavelmc | |
| ## Goal: mirror ubuntu repos | |
| ## Last Mod: Tue Mar 26 07:22:45 PM EST 2024 | |
| # This script use the terms described on the ubuntu base docs | |
| # https://ubuntu.com/landscape/docs/explanation-about-repository-mirroring | |
| # Archs, you can set more than one, comma separated no space [a,b,c,d] |
| #!/bin/bash | |
| # This script cycle throug all email users and try to find an email with a particular subject and erase it | |
| # Author: pavelmc@gmail.com circa 2024 | |
| # usage | |
| if [ -z "$1" ]; then | |
| echo "Goal: search for an emails with a subject and erase them" | |
| echo "usage: Delete-mails <subject_simple_pattern> [option]" | |
| echo "Option is:" |