Ingress: Introduce explicit ingress field in app configs
Change-Id: I79186f851b6a046b39b1045577e906f19c7be309
diff --git a/core/installer/values-tmpl/rpuppy.cue b/core/installer/values-tmpl/rpuppy.cue
index 9b1d8f2..41bd255 100644
--- a/core/installer/values-tmpl/rpuppy.cue
+++ b/core/installer/values-tmpl/rpuppy.cue
@@ -14,17 +14,19 @@
_httpPortName: "http"
-_ingressWithAuthProxy: _IngressWithAuthProxy & {
- inp: {
+ingress: {
+ rpuppy: {
auth: input.auth
network: input.network
subdomain: input.subdomain
- serviceName: "rpuppy"
- port: name: _httpPortName
+ service: {
+ name: "rpuppy"
+ port: name: _httpPortName
+ }
}
}
-images: _ingressWithAuthProxy.out.images & {
+images: {
rpuppy: {
repository: "giolekva"
name: "rpuppy"
@@ -33,7 +35,7 @@
}
}
-charts: _ingressWithAuthProxy.out.charts & {
+charts: {
rpuppy: {
chart: "charts/rpuppy"
sourceRef: {
@@ -44,7 +46,7 @@
}
}
-helm: _ingressWithAuthProxy.out.helm & {
+helm: {
rpuppy: {
chart: charts.rpuppy
values: {