projects
/
osm
/
devops.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Migrate to new NBI charm, and change in NGUI charm
[osm/devops.git]
/
installers
/
charm
/
nbi
/
src
/
pod_spec.py
diff --git
a/installers/charm/nbi/src/pod_spec.py
b/installers/charm/nbi/src/pod_spec.py
index
77fff3e
..
96518b9
100644
(file)
--- a/
installers/charm/nbi/src/pod_spec.py
+++ b/
installers/charm/nbi/src/pod_spec.py
@@
-270,7
+270,7
@@
def _make_pod_ingress_resources(
annotations = {
"nginx.ingress.kubernetes.io/proxy-body-size": "{}".format(
annotations = {
"nginx.ingress.kubernetes.io/proxy-body-size": "{}".format(
-
max_file_size
+ "m" if max_file_size > 0 else max_file_size
+
str(max_file_size)
+ "m" if max_file_size > 0 else max_file_size
),
"nginx.ingress.kubernetes.io/backend-protocol": "HTTPS",
}
),
"nginx.ingress.kubernetes.io/backend-protocol": "HTTPS",
}