commit | 8b8f3876a91d582795712d1b1355e69eba1f97ce | [log] [tgz] |
---|---|---|
author | radex <radex@hackerspace.pl> | Fri Nov 24 11:09:46 2023 +0100 |
committer | radex <radex@hackerspace.pl> | Fri Nov 24 20:37:48 2023 +0000 |
tree | 786fab4f5dfa7c7d1d9b8d44cd295464d7c25881 | |
parent | 6e0041d40199ec64403315ad03b6ac6681ff68c7 [diff] |
kube: add target:: convenience field to Service Change-Id: If69116d93b6074136a36d98973e1aa997e2ebbef Reviewed-on: https://gerrit.hackerspace.pl/c/hscloud/+/1802 Reviewed-by: q3k <q3k@hackerspace.pl>
diff --git a/devtools/gerrit/kube/gerrit.libsonnet b/devtools/gerrit/kube/gerrit.libsonnet index b292c31..2d10f32 100644 --- a/devtools/gerrit/kube/gerrit.libsonnet +++ b/devtools/gerrit/kube/gerrit.libsonnet
@@ -210,7 +210,7 @@ svc: kube.Service(gerrit.name("gerrit")) { metadata+: gerrit.metadata("service"), - target_pod:: gerrit.deployment.spec.template, + target:: gerrit.deployment, spec+: { ports: [ { name: "http", port: 80, targetPort: 8080, protocol: "TCP" },