Fix workload replacements

The workload entrypoint does not have an replacements directory, meaning
that each function's replacements must be listed at the site level.
Relying on calling a function's replacements can be unreliable when
making changes at the type level because entrypoints also have to be
updated at the site level. This change adds a replacements entrypoint
for the workload phases so that changes can be made at the type level
without changing each site.

Signed-off-by: Drew Walters <andrew.walters@att.com>
Change-Id: I450fb5e57967b1fe0b585f85686b558962338d90
This commit is contained in:
Drew Walters 2021-05-25 21:02:13 +00:00 committed by Sean Eagan
parent be289d933b
commit b8c0fecbed
5 changed files with 10 additions and 11 deletions

View File

@ -2,4 +2,4 @@ resources:
- ../../../../type/airship-core/target/workload
- ../catalogues
transformers:
- ../../../../function/ingress/replacements
- ../../../../type/airship-core/target/workload/replacements

View File

@ -2,7 +2,4 @@ resources:
- ../../../../type/multi-tenant/target/workload
- ../catalogues
transformers:
- ../../../../function/ingress/replacements
- ../../../../function/sip/replacements
- ../../../../function/synclabeller/replacements
- ../../../../function/vino/replacements
- ../../../../type/multi-tenant/target/workload/replacements

View File

@ -2,7 +2,4 @@ resources:
- ../../../../type/multi-tenant/target/workload
- ../catalogues
transformers:
- ../../../../function/ingress/replacements
- ../../../../function/sip/replacements
- ../../../../function/synclabeller/replacements
- ../../../../function/vino/replacements
- ../../../../type/multi-tenant/target/workload/replacements

View File

@ -1,2 +1,3 @@
resources:
- ../../../../../composite/storage-cluster/replacements
- ../../../../../composite/storage-cluster/replacements
- ../../../../../function/ingress/replacements

View File

@ -1,2 +1,6 @@
resources:
- ../../../../../composite/storage-cluster/replacements
- ../../../../../composite/storage-cluster/replacements
- ../../../../../function/ingress/replacements
- ../../../../../function/sip/replacements
- ../../../../../function/synclabeller/replacements
- ../../../../../function/vino/replacements