Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions .github/workflows/integration-tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ env:
KUBECONFIG_PATH: /tmp/kubeconfig.yaml
OPERATOR_NAMESPACE: inttest
DOCKERCONFIGJSON: ${{ secrets.DOCKERCONFIGJSON }}
GO_VER: "1.24"
GO_VER: "1.25"

jobs:
suite:
Expand All @@ -54,7 +54,6 @@ jobs:

steps:
- uses: actions/checkout@v3

- name: Set up go
uses: actions/setup-go@v3
with:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/unit-tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ on:
workflow_dispatch:

env:
GO_VER: "1.24"
GO_VER: "1.25"

jobs:
make-checks:
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ ifeq (, $(shell which controller-gen))
CONTROLLER_GEN_TMP_DIR=$$(mktemp -d) ;\
cd $$CONTROLLER_GEN_TMP_DIR ;\
go mod init tmp ;\
go install sigs.k8s.io/controller-tools/cmd/controller-gen@v0.15.0 ;\
go install sigs.k8s.io/controller-tools/cmd/controller-gen@v0.21.0 ;\
rm -rf $$CONTROLLER_GEN_TMP_DIR ;\
}
CONTROLLER_GEN=$(GOBIN)/controller-gen
Expand Down
1 change: 1 addition & 0 deletions controllers/ibpconsole/ibpconsole_controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -413,6 +413,7 @@ func (r *ReconcileIBPConsole) UpdateFunc(e event.UpdateEvent) bool {
}

func (r *ReconcileIBPConsole) SaveSpecState(instance *current.IBPConsole) error {
// #nosec G117 -- Password field in spec is intentionally marshaled for state tracking
data, err := yaml.Marshal(instance.Spec)
if err != nil {
return err
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ require (
go.uber.org/multierr v1.11.0 // indirect
golang.org/x/crypto v0.52.0 // indirect
golang.org/x/mod v0.35.0 // indirect
golang.org/x/net v0.54.0 // indirect
golang.org/x/net v0.55.0 // indirect
golang.org/x/oauth2 v0.27.0 // indirect
golang.org/x/sync v0.20.0 // indirect
golang.org/x/sys v0.45.0 // indirect
Expand Down
2 changes: 2 additions & 0 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -829,6 +829,8 @@ golang.org/x/net v0.0.0-20211015210444-4f30a5c0130f/go.mod h1:9nx3DQGgdP8bBQD5qx
golang.org/x/net v0.0.0-20220225172249-27dd8689420f/go.mod h1:CfG3xpIq0wQ8r1q4Su4UZFWDARRcnwPjda9FqA0JpMk=
golang.org/x/net v0.54.0 h1:2zJIZAxAHV/OHCDTCOHAYehQzLfSXuf/5SoL/Dv6w/w=
golang.org/x/net v0.54.0/go.mod h1:Sj4oj8jK6XmHpBZU/zWHw3BV3abl4Kvi+Ut7cQcY+cQ=
golang.org/x/net v0.55.0 h1:bcvxaJn3e1U6InsFWt1JUq1aSjnRxLzT2rtD2KfkDF8=
golang.org/x/net v0.55.0/go.mod h1:L5U2KuzuOe1lY7Z+aWVIKK6qEeJXnXV9yzGA+WCHJww=
golang.org/x/oauth2 v0.0.0-20180821212333-d2e6202438be/go.mod h1:N/0e6XlmueqKjAGxoOufVs8QHGRruUQn6yWY3a++T0U=
golang.org/x/oauth2 v0.0.0-20190226205417-e64efc72b421/go.mod h1:gOpvHmFTYa4IltrdGE7lF6nIHvwfUNPOp7c8zoXwtLw=
golang.org/x/oauth2 v0.0.0-20190604053449-0f29369cfe45/go.mod h1:gOpvHmFTYa4IltrdGE7lF6nIHvwfUNPOp7c8zoXwtLw=
Expand Down
2 changes: 1 addition & 1 deletion integration/orderer/orderer_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -941,7 +941,7 @@ func GetOrderer() (*Orderer, []Orderer) {
},
ConfigOverride: &runtime.RawExtension{Raw: configBytes},
DisableNodeOU: pointer.Bool(true),
FabricVersion: integration.FabricVersion + "-1",
FabricVersion: integration.FabricVersion24 + "-1",
},
}
cr.Name = name
Expand Down
3 changes: 3 additions & 0 deletions integration/peer/peer_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -857,6 +857,9 @@ func GetPeer3() *Peer {
name := "ibppeer3"
cr := &current.IBPPeer{
Spec: current.IBPPeerSpec{
License: current.License{
Accept: false,
},
Domain: integration.TestAutomation1IngressDomain,
FabricVersion: integration.FabricVersion + "-1",
},
Expand Down
2 changes: 2 additions & 0 deletions pkg/command/operator.go
Original file line number Diff line number Diff line change
Expand Up @@ -207,6 +207,8 @@ func OperatorWithSignal(operatorCfg *oconfig.Config, signalHandler context.Conte
utilruntime.Must(clientgoscheme.AddToScheme(scheme))
utilruntime.Must(ibpv1beta1.AddToScheme(scheme))

// #nosec G118 -- Background context is intentional here to ensure cache sync and migration
// complete independently of parent context cancellation during operator initialization
go func() {
runtime.Gosched()
mgrSyncContext, mgrSyncContextCancel := context.WithTimeout(context.Background(), 30*time.Second)
Expand Down
Loading