Skip to content

Commit

Permalink
Fix namespace creation
Browse files Browse the repository at this point in the history
  • Loading branch information
dudo committed Nov 12, 2019
1 parent c086d96 commit dc7bfb1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion manifest.rb
Expand Up @@ -145,7 +145,7 @@ def create_overlay?(svc)

def include_namespace?
manifests = supporting_services.map { |svc| overlay_manifest_names(svc) }.flatten
manifests.include?(Templates::Namespace::NAME)
!manifests.include?(Templates::Namespace::NAME)
end

def base_manifests(svc)
Expand Down
2 changes: 1 addition & 1 deletion templates/kustomization.rb
Expand Up @@ -52,7 +52,7 @@ def ingress_patch
{
'target' => {
'kind' => 'Ingress',
'group' => 'extensions',
'group' => 'networking.k8s.io',
'version' => 'v1beta1',
'name' => service
},
Expand Down

0 comments on commit dc7bfb1

Please sign in to comment.