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:
parent
be289d933b
commit
b8c0fecbed
@ -2,4 +2,4 @@ resources:
|
||||
- ../../../../type/airship-core/target/workload
|
||||
- ../catalogues
|
||||
transformers:
|
||||
- ../../../../function/ingress/replacements
|
||||
- ../../../../type/airship-core/target/workload/replacements
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -1,2 +1,3 @@
|
||||
resources:
|
||||
- ../../../../../composite/storage-cluster/replacements
|
||||
- ../../../../../composite/storage-cluster/replacements
|
||||
- ../../../../../function/ingress/replacements
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user