Skip to content

Commit ffacc48

Browse files
authored
Set Output and UseCache in the input for chip ingress (#2063)
1 parent 7a9b68e commit ffacc48

File tree

2 files changed

+12
-9
lines changed

2 files changed

+12
-9
lines changed
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
- Set Output and UseCache in the input

framework/components/dockercompose/chip_ingress_set/chip_ingress.go

Lines changed: 11 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -18,21 +18,21 @@ import (
1818
)
1919

2020
type Output struct {
21-
ChipIngress *ChipIngressOutput
22-
RedPanda *RedPandaOutput
21+
ChipIngress *ChipIngressOutput `toml:"chip_ingress"`
22+
RedPanda *RedPandaOutput `toml:"redpanda"`
2323
}
2424

2525
type ChipIngressOutput struct {
26-
GRPCInternalURL string
27-
GRPCExternalURL string
26+
GRPCInternalURL string `toml:"grpc_internal_url"`
27+
GRPCExternalURL string `toml:"grpc_external_url"`
2828
}
2929

3030
type RedPandaOutput struct {
31-
SchemaRegistryInternalURL string
32-
SchemaRegistryExternalURL string
33-
KafkaInternalURL string
34-
KafkaExternalURL string
35-
ConsoleExternalURL string
31+
SchemaRegistryInternalURL string `toml:"schema_registry_internal_url"`
32+
SchemaRegistryExternalURL string `toml:"schema_registry_external_url"`
33+
KafkaInternalURL string `toml:"kafka_internal_url"`
34+
KafkaExternalURL string `toml:"kafka_external_url"`
35+
ConsoleExternalURL string `toml:"console_external_url"`
3636
}
3737

3838
type Input struct {
@@ -206,6 +206,8 @@ func New(in *Input) (*Output, error) {
206206
},
207207
}
208208

209+
in.Output = output
210+
in.UseCache = true
209211
framework.L.Info().Msg("Chip Ingress stack started")
210212

211213
return output, nil

0 commit comments

Comments
 (0)