kompose/pkg/transformer/kubernetes
Charlie Drage 09dc978e8e
only add namespace if specified (#1731)
#### What type of PR is this?

<!--
Add one of the following kinds:
/kind cleanup
/kind documentation
/kind feature
-->

/kind bug

#### What this PR does / why we need it:

When we generate the YAML, we should NOT add namespace by default,
namespace should only be added if it has been specified via the command
line.

#### Which issue(s) this PR fixes:
<!--
*Automatically closes linked issue when PR is merged.
Usage: `Fixes #<issue number>`, or `Fixes (paste link of issue)`.
-->

Fixes https://github.com/kubernetes/kompose/issues/1729

#### Special notes for your reviewer:

Signed-off-by: Charlie Drage <charlie@charliedrage.com>
2023-10-11 10:29:55 -04:00
..
k8sutils_test.go test: add unit-test for read only fs support 2023-07-14 16:18:29 +01:00
k8sutils.go Fix loading env file (#1679) 2023-07-26 14:03:15 -04:00
kubernetes_test.go only add namespace if specified (#1731) 2023-10-11 10:29:55 -04:00
kubernetes.go only add namespace if specified (#1731) 2023-10-11 10:29:55 -04:00
podspec.go Upgrade Kubernetes module to the latest version v0.27.3 (#1677) 2023-07-19 17:23:37 +01:00