diff options
author | Mandeep Khinda <mandeep.khinda@amdocs.com> | 2017-08-30 14:40:13 +0000 |
---|---|---|
committer | Mandeep Khinda <mandeep.khinda@amdocs.com> | 2017-08-31 23:27:25 +0000 |
commit | 9cd2211545b7a7cf00cef892ceb4fa00b6cfc46a (patch) | |
tree | 0501c6d15b8435d5d50f4b714ac4e892845cd099 /kubernetes/config | |
parent | d9dc94884b0d19f189b8a53bcec95dbf4e33cfce (diff) |
config pod script updates for AAI 1.1
Issue-ID: OOM-65
Change-Id: I10c6aa9fc8dd03005b8f740e267f08ea41cc6946
Signed-off-by: Mandeep Khinda <mandeep.khinda@amdocs.com>
Diffstat (limited to 'kubernetes/config')
-rwxr-xr-x | kubernetes/config/docker/init/config-init.sh | 20 |
1 files changed, 19 insertions, 1 deletions
diff --git a/kubernetes/config/docker/init/config-init.sh b/kubernetes/config/docker/init/config-init.sh index 5597527238..5bc6dd33ef 100755 --- a/kubernetes/config/docker/init/config-init.sh +++ b/kubernetes/config/docker/init/config-init.sh @@ -20,12 +20,30 @@ mkdir -p /config-init/$NAMESPACE/sdc/logs/ASDC/ASDC-KB/ mkdir -p /config-init/$NAMESPACE/sdc/logs/ASDC/ASDC-BE/ mkdir -p /config-init/$NAMESPACE/sdc/logs/ASDC/ASDC-FE/ mkdir -p /config-init/$NAMESPACE/aai/opt/aai/logroot/ +mkdir -p /config-init/$NAMESPACE/aai/model-loader/logs/ +mkdir -p /config-init/$NAMESPACE/aai/haproxy/log/ +mkdir -p /config-init/$NAMESPACE/aai/aai-traversal/logs/ajsc-jetty/gc/ +mkdir -p /config-init/$NAMESPACE/aai/aai-traversal/logs/dmaapAAIEventConsumer/ +mkdir -p /config-init/$NAMESPACE/aai/aai-traversal/logs/perf-audit/ +mkdir -p /config-init/$NAMESPACE/aai/aai-traversal/logs/rest/ +mkdir -p /config-init/$NAMESPACE/aai/aai-resources/logs/ajsc-jetty/gc/ +mkdir -p /config-init/$NAMESPACE/aai/aai-resources/logs/dmaapAAIEventConsumer/ +mkdir -p /config-init/$NAMESPACE/aai/aai-resources/logs/perf-audit/ +mkdir -p /config-init/$NAMESPACE/aai/aai-resources/logs/rest/ +mkdir -p /config-init/$NAMESPACE/aai/sparky-be/logs/ +mkdir -p /config-init/$NAMESPACE/aai/elasticsearch/es-data/ chmod -R 777 /config-init/$NAMESPACE/sdc/logs/ chmod -R 777 /config-init/$NAMESPACE/portal/logs/ chmod -R 777 /config-init/$NAMESPACE/aai/aai-config/ chmod -R 777 /config-init/$NAMESPACE/aai/aai-data/ chmod -R 777 /config-init/$NAMESPACE/aai/opt/aai/logroot/ +chmod -R 777 /config-init/$NAMESPACE/aai/model-loader/logs/ +chmod -R 777 /config-init/$NAMESPACE/aai/haproxy/log/ +chmod -R 777 /config-init/$NAMESPACE/aai/aai-traversal/logs/ +chmod -R 777 /config-init/$NAMESPACE/aai/aai-resources/logs/ +chmod -R 777 /config-init/$NAMESPACE/aai/sparky-be/logs/ +chmod -R 777 /config-init/$NAMESPACE/aai/elasticsearch/es-data/ # replace the default 'onap' namespace qualification of K8s hostnames within the config files -find /config-init/$NAMESPACE/ -type f -exec sed -i -e "s/onap-/$NAMESPACE-/g" {} \; +find /config-init/$NAMESPACE/ -type f -exec sed -i -e "s/\.onap-/\.$NAMESPACE-/g" {} \; |