File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -146,14 +146,14 @@ oc create -n "$PEN_NAMESPACE-$envValue" configmap "$APP_NAME-config-map" \
146
146
--from-literal=EMAIL_TEMPLATE_MACRO_UPDATE=" <!DOCTYPE html><html xmlns:th=\" http://www.thymeleaf.org\" ><head><meta charset=\" ISO-8859-1\" ></head><body><span th:text=\"\$ {\$ }{businessUseTypeName}\" ></span> macro <span th:text=\"\$ {\$ }{macroCode}\" ></span> was updated to:<br><br>Code: <span th:text=\"\$ {\$ }{macroCode}\" ></span><br>Type: <span th:text=\"\$ {\$ }{macroTypeCode}\" ></span><br>Text: <span th:text=\"\$ {\$ }{macroText}\" ></span></body></html>" \
147
147
--from-literal=PURGE_RECORDS_EVENT_AFTER_DAYS=365 \
148
148
--from-literal=SCHEDULED_JOBS_PURGE_OLD_EVENT_RECORDS_CRON=" @midnight" \
149
- --dry-run -o yaml | oc apply -f -
149
+ --dry-run=client -o yaml | oc apply -f -
150
150
151
151
echo
152
- echo Setting environment variables for " $APP_NAME -$SOAM_KC_REALM_ID " application
152
+ echo Setting environment variables for " $APP_NAME -$BRANCH " application
153
153
oc -n " $PEN_NAMESPACE -$envValue " set env --from=" configmap/$APP_NAME -config-map" " deployment/$APP_NAME -$BRANCH "
154
154
155
- echo Creating config map " $APP_NAME " -flb-sc-config-map
156
- oc create -n " $PEN_NAMESPACE -$envValue " configmap " $APP_NAME -flb-sc-config-map" --from-literal=" fluent-bit.conf=$FLB_CONFIG " --from-literal=parsers.conf=" $PARSER_CONFIG " --dry-run -o yaml | oc apply -f -
155
+ echo Creating config map " $APP_NAME -flb-sc-config-map"
156
+ oc create -n " $PEN_NAMESPACE -$envValue " configmap " $APP_NAME -flb-sc-config-map" --from-literal=" fluent-bit.conf=$FLB_CONFIG " --from-literal=parsers.conf=" $PARSER_CONFIG " --dry-run=client -o yaml | oc apply -f -
157
157
158
158
echo Removing un-needed config entries
159
- oc -n " $PEN_NAMESPACE " - " $envValue " set env " deployment/$APP_NAME -$SOAM_KC_REALM_ID " SOAM_PUBLIC_KEY-
159
+ oc -n " $PEN_NAMESPACE - $envValue " set env " deployment/$APP_NAME -$SOAM_KC_REALM_ID " SOAM_PUBLIC_KEY-
You can’t perform that action at this time.
0 commit comments