Skip to content

Commit

Permalink
Add newWithoutSelector constructor for Service objects (jsonnet-libs#166
Browse files Browse the repository at this point in the history
)
  • Loading branch information
mmusnjak authored May 30, 2022
1 parent 6276a3c commit 887489e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions libs/k8s/custom/core/core.libsonnet
Original file line number Diff line number Diff line change
Expand Up @@ -127,6 +127,8 @@ local d = import 'doc-util/main.libsonnet';
super.new(name)
+ super.spec.withSelector(selector)
+ super.spec.withPorts(ports),
newWithoutSelector(name)::
super.new(name)
},

servicePort+:: {
Expand Down

0 comments on commit 887489e

Please sign in to comment.