feat: add ability to set a custom priority for traefik routing rules

This commit is contained in:
Jose Diaz-Gonzalez
2022-11-27 22:23:06 -05:00
parent 38cb05e7b1
commit e26b0ba1db
7 changed files with 61 additions and 5 deletions

View File

@@ -0,0 +1,14 @@
#!/usr/bin/env bash
source "$PLUGIN_CORE_AVAILABLE_PATH/common/property-functions"
set -eo pipefail
[[ $DOKKU_TRACE ]] && set -x
trigger-traefik-vhosts-post-delete() {
declare desc="traefik-vhosts post-delete trigger"
declare trigger="post-delete"
declare APP="$1"
fn-plugin-property-destroy "traefik" "$APP"
}
trigger-traefik-vhosts-post-delete "$@"