Skip to content

Commit 197fd3c

Browse files
Merge pull request #59 from oracle/update-third-party-packages
updating third-party packages
2 parents f14e5f8 + 3def2b1 commit 197fd3c

File tree

9 files changed

+206
-164
lines changed

9 files changed

+206
-164
lines changed

electron/app/js/imageBuilderUtils.js

Lines changed: 19 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,11 +142,29 @@ function getDockerEnv(httpsProxyUrl, bypassProxyHosts) {
142142
PATH: process.env.PATH
143143
};
144144

145-
// podman-specific environment variable
145+
// Docker-specific environment variables that should be passed on
146+
if (process.env.DOCKER_HOST) {
147+
env['DOCKER_HOST'] = process.env.DOCKER_HOST;
148+
}
149+
if (process.env.DOCKER_TLS_VERIFY) {
150+
env['DOCKER_TLS_VERIFY'] = process.env.DOCKER_TLS_VERIFY;
151+
}
152+
if (process.env.DOCKER_CERT_PATH) {
153+
env['DOCKER_CERT_PATH'] = process.env.DOCKER_CERT_PATH;
154+
}
155+
156+
// podman-specific environment variables that should be passed on
157+
if(process.env.CONTAINER_HOST) {
158+
env['CONTAINER_HOST'] = process.env.CONTAINER_HOST;
159+
}
146160
if (process.env.STORAGE_DRIVER) {
147161
env['STORAGE_DRIVER'] = process.env.STORAGE_DRIVER;
148162
}
163+
if (process.env.STORAGE_OPTS) {
164+
env['STORAGE_OPTS'] = process.env.STORAGE_OPTS;
165+
}
149166

167+
// proxy-related environment variables
150168
if (httpsProxyUrl) {
151169
env['HTTPS_PROXY'] = httpsProxyUrl;
152170
env['https_proxy'] = httpsProxyUrl;

electron/app/js/project.js

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -356,6 +356,14 @@ async function _openProjectFile(targetWindow, projectFileName) {
356356
}
357357

358358
async function _saveProjectFile(targetWindow, projectFile, projectContents) {
359+
// Just in case the name or uuid were empty, make sure that they have a proper value.
360+
if (!projectContents.name) {
361+
projectContents.name = _generateProjectName(projectFile);
362+
}
363+
if (!projectContents.uuid) {
364+
projectContents.uuid = _generateProjectUuid();
365+
}
366+
359367
return new Promise((resolve, reject) => {
360368
_getCredentialManagerForSavingProject(targetWindow, projectContents)
361369
.then(credentialManager => {

electron/app/locales/en/webui.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1009,7 +1009,7 @@
10091009
"wko-uninstaller-remove-namespace-in-progress": "Removing Kubernetes namespace {{namespace}}",
10101010
"wko-uninstaller-uninstall-complete-title": "WebLogic Kubernetes Operator Uninstall Complete",
10111011
"wko-uninstaller-uninstall-complete-message": "WebLogic Kubernetes Operator {{operatorName}} successfully uninstalled from Kubernetes namespace {{operatorNamespace}}.",
1012-
"wko-uninstaller-uninstall-complete-with-namespace-message": "WebLogic Kubernetes Operator {{operatorName}} successfully uninstalled and Kubernetes namespace {{operatorNamespace}} was deleted.",
1012+
"wko-uninstaller-uninstall-with-namespace-complete-message": "WebLogic Kubernetes Operator {{operatorName}} successfully uninstalled and Kubernetes namespace {{operatorNamespace}} was deleted.",
10131013
"wko-uninstaller-uninstall-failed-title": "WebLogic Kubernetes Operator Uninstall Failed",
10141014
"wko-uninstaller-uninstall-failed-error-message":"Unable to uninstall WebLogic Kubernetes Operator {{operatorName}} from Kubernetes namespace {{operatorNamespace}}: {{error}}.",
10151015
"wko-uninstaller-uninstall-catch-all-error-message": "WebLogic Kubernetes Operator uninstall failed with an unexpected error: {{error}}",

0 commit comments

Comments
 (0)