- Sort Score
- Result 10 results
- Languages All
Results 1 - 9 of 9 for ApplyYAMLFiles (0.54 sec)
-
pkg/test/framework/components/istio/eastwest.go
return cluster.ApplyYAMLFiles(i.cfg.SystemNamespace, exposeServicesGateway) } func (i *istioImpl) applyIstiodGateway(cluster cluster.Cluster, revision string) error { scopes.Framework.Infof("Exposing istiod via eastwestgateway in %v", cluster.Name()) if revision == "" { return cluster.ApplyYAMLFiles(i.cfg.SystemNamespace, exposeIstiodGateway) }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri Nov 10 02:30:20 UTC 2023 - 4.8K bytes - Viewed (0) -
tests/integration/pilot/analyze_test.go
} // applyFileOrFail applys the given yaml file and deletes it during context cleanup func applyFileOrFail(t framework.TestContext, ns, filename string) { t.Helper() if err := t.Clusters().Default().ApplyYAMLFiles(ns, filename); err != nil { t.Fatal(err) } t.Cleanup(func() { _ = t.Clusters().Default().DeleteYAMLFiles(ns, filename) }) } func TestMultiCluster(t *testing.T) { // nolint: staticcheck
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon Apr 08 22:02:59 UTC 2024 - 16.3K bytes - Viewed (0) -
pkg/test/framework/components/gcemetadata/kube.go
Prefix: ns, }) if err != nil { return nil, fmt.Errorf("could not create %q namespace for GCE Metadata Server install; err: %v", ns, err) } // apply YAML if err := c.cluster.ApplyYAMLFiles(c.ns.Name(), environ.GCEMetadataServerInstallFilePath); err != nil { return nil, fmt.Errorf("failed to apply rendered %s, err: %v", environ.GCEMetadataServerInstallFilePath, err) } var svc *corev1.Service
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon Dec 04 22:47:52 UTC 2023 - 3.4K bytes - Viewed (0) -
tests/integration/pilot/validation_test.go
case dryRunErr != nil && !valid: if !denied(dryRunErr) { t.Fatalf("config request denied for wrong reason: %v", dryRunErr) } } wetRunErr := cluster.ApplyYAMLFiles(ns.Name(), applyFiles...) t.CleanupConditionally(func() { cluster.DeleteYAMLFiles(ns.Name(), applyFiles...) }) if dryRunErr != nil && wetRunErr == nil {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Dec 13 15:19:36 UTC 2023 - 6.7K bytes - Viewed (0) -
tests/integration/operator/uninstall_test.go
if err := os.WriteFile(iopCRFile, []byte(overlayYAML), os.ModePerm); err != nil { t.Fatalf("failed to write iop cr file: %v", err) } if err := cs.ApplyYAMLFiles(IstioNamespace, iopCRFile); err != nil { t.Fatalf("failed to apply IstioOperator CR file: %s, %v", iopCRFile, err) } } func checkIopExist(cs istiokube.CLIClient, iopName string) (bool, error) {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Apr 10 20:33:28 UTC 2024 - 7.7K bytes - Viewed (0) -
pkg/test/framework/components/namespace/kube.go
return c.Kube().CoreV1().Namespaces().Delete(context.TODO(), n.name, kube2.DeleteOptionsForeground()) }) } s := n.ctx.Settings() if s.Image.PullSecret != "" { if err := c.ApplyYAMLFiles(n.name, s.Image.PullSecret); err != nil { return err } err := retry.UntilSuccess(func() error { _, err := c.Kube().CoreV1().ServiceAccounts(n.name).Patch(context.TODO(), "default",
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Jun 06 22:12:34 UTC 2024 - 9K bytes - Viewed (0) -
pkg/test/framework/config.go
for _, cl := range c.clusters { cl := cl g.Go(func() error { scopes.Framework.Debugf("Applying to %s to namespace %v: %s", cl.StableName(), ns, strings.Join(yamlFiles, ", ")) if err := cl.ApplyYAMLFiles(ns, yamlFiles...); err != nil { return fmt.Errorf("failed applying YAML files %v to ns %s in cluster %s: %v", yamlFiles, ns, cl.Name(), err) } c.ctx.CleanupStrategy(cleanupStrategy, func() {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Jun 06 22:12:34 UTC 2024 - 8.2K bytes - Viewed (0) -
pkg/kube/client.go
NewPortForwarder(podName string, ns string, localAddress string, localPort int, podPort int) (PortForwarder, error) // ApplyYAMLFiles applies the resources in the given YAML files. ApplyYAMLFiles(namespace string, yamlFiles ...string) error // ApplyYAMLContents applies the resources in the given YAML strings. ApplyYAMLContents(namespace string, yamls ...string) error
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Apr 25 14:44:17 UTC 2024 - 39K bytes - Viewed (0) -
tests/integration/operator/switch_cr_test.go
if err := os.WriteFile(iopCRFile, []byte(overlayYAML), os.ModePerm); err != nil { t.Fatalf("failed to write iop cr file: %v", err) } if err := cs.ApplyYAMLFiles(IstioNamespace, iopCRFile); err != nil { t.Fatalf("failed to apply IstioOperator CR file: %s, %v", iopCRFile, err) } verifyInstallation(t, ctx, istioCtl, profileName, revision, cs) }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Apr 10 20:33:28 UTC 2024 - 17.5K bytes - Viewed (0)