test on ipFamilies to be ignored
This commit is contained in:
parent
8b6f399e02
commit
c5fa72cbd1
1 changed files with 3 additions and 0 deletions
|
|
@ -51,6 +51,9 @@ def clean_ephemeral_config(config: dict):
|
|||
for trigger in item['spec'].get('triggers', []):
|
||||
trigger.get('imageChangeParams', {}).pop('lastTriggeredImage', None)
|
||||
|
||||
if item['kind'] == 'Service':
|
||||
item['spec'].pop('ipFamilies', None)
|
||||
|
||||
for label in list(item['metadata'].get('labels', {}).keys()):
|
||||
for prefix in CERN_OKD4_METADATA_LABELS:
|
||||
if label.startswith(prefix):
|
||||
|
|
|
|||
Loading…
Reference in a new issue