mirror of
https://github.com/rancher/dynamiclistener.git
synced 2025-09-17 07:19:35 +00:00
Compare commits
2 Commits
v0.7.2-rc1
...
renovate/m
Author | SHA1 | Date | |
---|---|---|---|
|
feb95bd288 | ||
|
dfe484adbf |
2
.github/workflows/ci.yaml
vendored
2
.github/workflows/ci.yaml
vendored
@@ -17,4 +17,4 @@ jobs:
|
||||
uses: actions/setup-go@d35c59abb061a4a6fb18e82ac0862c26744d6ab5 # v5.5.0
|
||||
with:
|
||||
go-version-file: 'go.mod'
|
||||
- run: go test -v -race -cover ./...
|
||||
- run: go env -w GOTOOLCHAIN=go1.25.0+auto && go test -v -race -cover ./...
|
||||
|
2
go.mod
2
go.mod
@@ -2,7 +2,7 @@ module github.com/rancher/dynamiclistener
|
||||
|
||||
go 1.24.0
|
||||
|
||||
toolchain go1.24.3
|
||||
toolchain go1.25.1
|
||||
|
||||
require (
|
||||
github.com/rancher/wrangler/v3 v3.2.2-rc.3
|
||||
|
@@ -212,7 +212,7 @@ func (s *storage) saveInK8s(secret *v1.Secret) (*v1.Secret, error) {
|
||||
|
||||
// ensure that the merged secret actually contains data before overwriting the existing fields
|
||||
if !cert.IsValidTLSSecret(secret) {
|
||||
logrus.Warnf("Skipping save of TLS secret for %s/%s due to missing certificate data", s.namespace, s.name)
|
||||
logrus.Warnf("Skipping save of TLS secret for %s/%s due to missing certificate data", secret.Namespace, secret.Name)
|
||||
return targetSecret, nil
|
||||
}
|
||||
|
||||
|
@@ -47,9 +47,6 @@ func (m *memory) Update(secret *v1.Secret) error {
|
||||
}
|
||||
|
||||
func isChanged(old, new *v1.Secret) bool {
|
||||
if new == nil {
|
||||
return false
|
||||
}
|
||||
if old == nil {
|
||||
return true
|
||||
}
|
||||
|
Reference in New Issue
Block a user