Merge branch 'feature/openshift_template_router' into 'master'

Updated config-fetch and config-generate for routes.yaml

See merge request cara/cara!319
This commit is contained in:
Luis Aleixo 2022-01-13 17:43:30 +01:00
commit 8b6f399e02
3 changed files with 0 additions and 3 deletions

View file

@ -229,7 +229,6 @@ Create the various configurations:
```console
$ cd app-config/openshift
$ oc process -f routes.yaml --param HOST='test-cara.web.cern.ch' | oc create -f -
$ oc process -f configmap.yaml | oc create -f -
$ oc process -f services.yaml | oc create -f -
$ oc process -f imagestreams.yaml | oc create -f -

View file

@ -36,7 +36,6 @@ def fetch_config(output_directory: pathlib.Path):
output_directory.mkdir(exist_ok=True, parents=True)
for component, name in [
('routes', None),
('configmap', 'auth-service'),
('services', None),
('imagestreams', None),

View file

@ -28,7 +28,6 @@ def generate_config(output_directory: pathlib.Path, project_name: str, hostname:
print(f'Running: {" ".join(cmd)}')
subprocess.run(cmd, stdout=fh, check=True)
oc_process('routes', context={'HOST': hostname})
oc_process('configmap')
oc_process('services')
oc_process('imagestreams')