diff --git a/pkg/apis/manifest/v1alpha1/types.go b/pkg/apis/manifest/v1alpha1/types.go index a12061dd0..e915d7d51 100644 --- a/pkg/apis/manifest/v1alpha1/types.go +++ b/pkg/apis/manifest/v1alpha1/types.go @@ -110,19 +110,6 @@ type Manifest struct { // If a secret want to have a base and an overlay, it should go to Bases and // Overlays fields. SecretGenerators []SecretGenerator `json:"secretGenerators,omitempty" yaml:"secretGenerators,omitempty"` - - // Whether prune resources not defined in Kube-manifest.yaml, similar to - // `kubectl apply --prune` behavior. - Prune bool `json:"prune,omitempty" yaml:"prune,omitempty"` - - // TODO: figure out what the behavior details should be. - // Whether PersistentVolumeClaims should be deleted with the other resources. - // OwnPersistentVolumeClaims bool `json:"ownPersistentVolumeClaims,omitempty" yaml:"ownPersistentVolumeClaims,omitempty"` - - // TODO: figure out what the behavior details should be. - // Whether recursive look for Kube-manifest.yaml, similar to - // `kubectl --recursive` behavior. - // Recursive bool `json:"recursive,omitempty" yaml:"recursive,omitempty"` } // ConfigMap contains the metadata of how to generate a configmap. diff --git a/pkg/kinflate/commands/init.go b/pkg/kinflate/commands/init.go index 40c6bc0e5..9d00c27e7 100644 --- a/pkg/kinflate/commands/init.go +++ b/pkg/kinflate/commands/init.go @@ -48,7 +48,6 @@ resources: [] configmaps: [] # There could be secrets in Base, if just using a fork/rebase workflow secrets: [] -recursive: true ` type initOptions struct { diff --git a/pkg/kinflate/examples/simple/instances/exampleinstance/Kube-manifest.yaml b/pkg/kinflate/examples/simple/instances/exampleinstance/Kube-manifest.yaml index 93489a459..709024430 100644 --- a/pkg/kinflate/examples/simple/instances/exampleinstance/Kube-manifest.yaml +++ b/pkg/kinflate/examples/simple/instances/exampleinstance/Kube-manifest.yaml @@ -33,4 +33,3 @@ secretGenerators: tls.crt: "cat secret/tls.cert" tls.key: "cat secret/tls.key" type: "kubernetes.io/tls" -prune: true # I’d make this the default