Update experiment environment
@@ -520,12 +520,15 @@ class ExperimentEnvironmentConfig(EnvironmentConfig):
def __init__(self,
index=None,
resources=None,
+ labels=None,
+ annotations=None,
node_selector=None,
affinity=None,
tolerations=None,
service_account=None,
image_pull_secrets=None,
max_restarts=None,
+ env_vars=None,
secret_refs=None,
config_map_refs=None,
configmap_refs=None,
@@ -537,12 +540,15 @@ class ExperimentEnvironmentConfig(EnvironmentConfig):
super(ExperimentEnvironmentConfig, self).__init__(
index=index,
resources=resources,
+ labels=labels,
+ annotations=annotations,
node_selector=node_selector,
affinity=affinity,
tolerations=tolerations,
service_account=service_account,
image_pull_secrets=image_pull_secrets,
max_restarts=max_restarts,
+ env_vars=env_vars,
secret_refs=secret_refs,
config_map_refs=config_map_refs,
configmap_refs=configmap_refs,
