Skip to content
This repository has been archived by the owner on May 30, 2024. It is now read-only.

Commit

Permalink
Add proxy_rewrite default behavior
Browse files Browse the repository at this point in the history
  • Loading branch information
waTeim committed Oct 26, 2023
1 parent eb467a0 commit 8f67aaa
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion tycho/__init__.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
VERSION = "1.17.2"
VERSION = "1.17.3"
2 changes: 2 additions & 0 deletions tycho/model.py
Original file line number Diff line number Diff line change
Expand Up @@ -458,6 +458,8 @@ def parse (config, name, principal, system, service_account, env={}, services={}
"security_context": security_context,
"init_security_context": init_security_context
}
if spec.get('proxy_rewrite_rule',None) != None:
system_specification["proxy_rewrite"]["enabled"] = spec.get('proxy_rewrite_rule')
logger.debug (f"parsed-system: {json.dumps(system_specification, indent=2)}")
system = System(**system_specification)
system.source_text = yaml.dump (system)
Expand Down

0 comments on commit 8f67aaa

Please sign in to comment.