Skip to content

Commit 8adda58

Browse files
authored
Remove pointer to .spec.hostAliases (#848)
* Remove .spec.hostAliases pointer * Pull RCO/OLO main changes
1 parent 958ff9b commit 8adda58

4 files changed

Lines changed: 11 additions & 15 deletions

File tree

api/v1/webspherelibertyapplication_types.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -189,7 +189,7 @@ type WebSphereLibertyApplicationSpec struct {
189189

190190
// The list of hostnames and IPs that will be injected into the application pod's hosts file
191191
// +operator-sdk:csv:customresourcedefinitions:order=37,type=spec,displayName="Host Aliases"
192-
HostAliases *[]corev1.HostAlias `json:"hostAliases,omitempty"`
192+
HostAliases []corev1.HostAlias `json:"hostAliases,omitempty"`
193193
}
194194

195195
// Defines the DNS
@@ -1475,7 +1475,7 @@ func (d *WebSphereLibertyApplicationDNS) GetConfig() *corev1.PodDNSConfig {
14751475
return d.PodDNSConfig
14761476
}
14771477

1478-
func (cr *WebSphereLibertyApplication) GetHostAliases() *[]corev1.HostAlias {
1478+
func (cr *WebSphereLibertyApplication) GetHostAliases() []corev1.HostAlias {
14791479
return cr.Spec.HostAliases
14801480
}
14811481

api/v1/zz_generated.deepcopy.go

Lines changed: 3 additions & 7 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

go.mod

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@ module github.com/WASdev/websphere-liberty-operator
33
go 1.26
44

55
require (
6-
github.com/OpenLiberty/open-liberty-operator v0.8.1-0.20260318175607-71d13b9b323b
7-
github.com/application-stacks/runtime-component-operator v1.0.0-20220602-0850.0.20260318005646-e267e0c1cb83
6+
github.com/OpenLiberty/open-liberty-operator v0.8.1-0.20260318201118-3f77d7f796bd
7+
github.com/application-stacks/runtime-component-operator v1.0.0-20220602-0850.0.20260318200009-fac1f4fd75a7
88
github.com/cert-manager/cert-manager v1.19.4
99
github.com/go-logr/logr v1.4.3
1010
github.com/openshift/api v0.0.0-20260304172252-b0658d22beea

go.sum

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,12 @@ github.com/Azure/go-ansiterm v0.0.0-20230124172434-306776ec8161 h1:L/gRVlceqvL25
22
github.com/Azure/go-ansiterm v0.0.0-20230124172434-306776ec8161/go.mod h1:xomTg63KZ2rFqZQzSB4Vz2SUXa1BpHTVz9L5PTmPC4E=
33
github.com/MakeNowJust/heredoc v1.0.0 h1:cXCdzVdstXyiTqTvfqk9SDHpKNjxuom+DOlyEeQ4pzQ=
44
github.com/MakeNowJust/heredoc v1.0.0/go.mod h1:mG5amYoWBHf8vpLOuehzbGGw0EHxpZZ6lCpQ4fNJ8LE=
5-
github.com/OpenLiberty/open-liberty-operator v0.8.1-0.20260318175607-71d13b9b323b h1:JUGDXCIxlOv3W1uok+HtrAP/Cv2u72s4Gg1g3lXBWfo=
6-
github.com/OpenLiberty/open-liberty-operator v0.8.1-0.20260318175607-71d13b9b323b/go.mod h1:9GqB6Xd1fcN2fg4Rp1pVUfxaUMZwaYJGKy+aHxAlGJE=
5+
github.com/OpenLiberty/open-liberty-operator v0.8.1-0.20260318201118-3f77d7f796bd h1:BPk8sYVupgjtkeTTTNRDylku8omZDE6hnW2Vcfc8gk8=
6+
github.com/OpenLiberty/open-liberty-operator v0.8.1-0.20260318201118-3f77d7f796bd/go.mod h1:nSAKpNC/ZjQHzTDyveMk2uFq18eWxSu2pmekJVWvzz8=
77
github.com/alecthomas/template v0.0.0-20160405071501-a0175ee3bccc/go.mod h1:LOuyumcjzFXgccqObfd/Ljyb9UuFJ6TxHnclSeseNhc=
88
github.com/alecthomas/units v0.0.0-20151022065526-2efee857e7cf/go.mod h1:ybxpYRFXyAe+OPACYpWeL0wqObRcbAqCMya13uyzqw0=
9-
github.com/application-stacks/runtime-component-operator v1.0.0-20220602-0850.0.20260318005646-e267e0c1cb83 h1:3klPsgrcfp52ZV8oIfof+40B6tym9PKAFstQupORB8o=
10-
github.com/application-stacks/runtime-component-operator v1.0.0-20220602-0850.0.20260318005646-e267e0c1cb83/go.mod h1:rTQgc/5LX8KQLlKezkrMTTyRA8puWTiccXCDxaPa8AM=
9+
github.com/application-stacks/runtime-component-operator v1.0.0-20220602-0850.0.20260318200009-fac1f4fd75a7 h1:DZjdGoO3lK6L3FTgdrDrAEJ3vsJ9j0hUovVcD37jspw=
10+
github.com/application-stacks/runtime-component-operator v1.0.0-20220602-0850.0.20260318200009-fac1f4fd75a7/go.mod h1:rTQgc/5LX8KQLlKezkrMTTyRA8puWTiccXCDxaPa8AM=
1111
github.com/armon/go-socks5 v0.0.0-20160902184237-e75332964ef5 h1:0CwZNZbxp69SHPdPJAN/hZIm0C4OItdklCFmMRWYpio=
1212
github.com/armon/go-socks5 v0.0.0-20160902184237-e75332964ef5/go.mod h1:wHh0iHkYZB8zMSxRWpUBQtwG5a7fFgvEO+odwuTv2gs=
1313
github.com/beorn7/perks v0.0.0-20180321164747-3a771d992973/go.mod h1:Dwedo/Wpr24TaqPxmxbtue+5NUziq4I4S80YR8gNf3Q=

0 commit comments

Comments
 (0)