- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for isCoreDNSConfigMapMigrationRequired (0.38 sec)
-
cmd/kubeadm/app/phases/addons/dns/dns.go
return errors.Wrap(err, "unable to create/update the DNS service") } } return nil } // isCoreDNSConfigMapMigrationRequired checks if a migration of the CoreDNS ConfigMap is required. func isCoreDNSConfigMapMigrationRequired(corefile, currentInstalledCoreDNSVersion string) (bool, error) { var isMigrationRequired bool // Current installed version is expected to be empty for init
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat May 11 10:21:20 UTC 2024 - 16.1K bytes - Viewed (0) -
cmd/kubeadm/app/phases/addons/dns/dns_test.go
t.Run(tt.name, func(t *testing.T) { got, err := isCoreDNSConfigMapMigrationRequired(tt.corefile, tt.currentInstalledCoreDNSVersion) if (err != nil) != tt.wantErr { t.Errorf("isCoreDNSConfigMapMigrationRequired() error = %v, wantErr %v", err, tt.wantErr) return } if got != tt.want { t.Errorf("isCoreDNSConfigMapMigrationRequired() = %v, want %v", got, tt.want) } }) } }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat May 11 10:21:20 UTC 2024 - 41.7K bytes - Viewed (0)