From 9c7d2b5f528dbc962a516cbb0967486c2ecd225b Mon Sep 17 00:00:00 2001 From: Divya Rani Date: Fri, 24 Feb 2023 09:45:30 -0800 Subject: [PATCH 1/4] add support for --e2e-docker-config-file flag Signed-off-by: Divya Rani --- cmd/sonobuoy/app/args.go | 52 +++++++++++++++++++++++++++++++++-- cmd/sonobuoy/app/gen.go | 36 +++++++++++++++++++++++- cmd/sonobuoy/app/gen_test.go | 53 ++++++++++++++++++++++++++++++++++++ cmd/sonobuoy/app/images.go | 1 - cmd/sonobuoy/app/root.go | 14 ++++++++++ pkg/client/gen.go | 41 ++++++++++++++++++++++++++-- pkg/client/interfaces.go | 2 +- pkg/config/config.go | 1 + pkg/image/imageversion.go | 3 +- 9 files changed, 193 insertions(+), 10 deletions(-) create mode 100644 cmd/sonobuoy/app/gen_test.go diff --git a/cmd/sonobuoy/app/args.go b/cmd/sonobuoy/app/args.go index 5aac1fbf2..0eecaa1f7 100644 --- a/cmd/sonobuoy/app/args.go +++ b/cmd/sonobuoy/app/args.go @@ -50,6 +50,7 @@ const ( e2eSkipFlag = "e2e-skip" e2eParallelFlag = "e2e-parallel" e2eRegistryConfigFlag = "e2e-repo-config" + e2eDockerConfigFileFlag = "e2e-docker-config-file" e2eRegistryFlag = "e2e-repo" pluginImageFlag = "plugin-image" filenameFlag = "filename" @@ -224,7 +225,7 @@ func AddSonobuoyConfigFlag(cfg *SonobuoyConfig, flags *pflag.FlagSet) { // AddLegacyE2EFlags is a way to add flags which target the e2e plugin specifically // by leveraging the existing flags. They typically wrap other fields (like the env var // overrides) and modify those. -func AddLegacyE2EFlags(env *PluginEnvVars, pluginTransforms *map[string][]func(*manifest.Manifest) error, fs *pflag.FlagSet) { +func AddLegacyE2EFlags(cfg *SonobuoyConfig, env *PluginEnvVars, pluginTransforms *map[string][]func(*manifest.Manifest) error, fs *pflag.FlagSet) { m := &Mode{ env: env, name: "", @@ -289,6 +290,15 @@ func AddLegacyE2EFlags(env *PluginEnvVars, pluginTransforms *map[string][]func(* &envVarModierFlag{plugin: e2ePlugin, field: "KUBE_TEST_REPO", PluginEnvVars: *env}, e2eRegistryFlag, "Specify a registry to use as the default for pulling Kubernetes test images. Same as providing --e2e-repo-config but specifying the same repo repeatedly.", ) + + fs.Var( + &e2eDockerConfigFlag{ + plugin: e2ePlugin, + config: cfg, + transforms: *pluginTransforms, + }, e2eDockerConfigFileFlag, + "A docker credentials configuration file used which contains authorization token that can be used to pull images from certain private registries provided by the users", + ) } // AddRBACModeFlags adds an E2E Argument with the provided default. @@ -563,9 +573,11 @@ func (f *e2eRepoFlag) Set(str string) error { } f.transforms[f.plugin] = append(f.transforms[f.plugin], func(m *manifest.Manifest) error { - m.ConfigMap = map[string]string{ - name: string(fData), + if m.ConfigMap == nil { + m.ConfigMap = map[string]string{} } + m.ConfigMap[name] = string(fData) + m.Spec.Env = append(m.Spec.Env, corev1.EnvVar{ Name: "KUBE_TEST_REPO_LIST", Value: fmt.Sprintf("/tmp/sonobuoy/config/%v", name), @@ -575,6 +587,40 @@ func (f *e2eRepoFlag) Set(str string) error { return nil } +type e2eDockerConfigFlag struct { + plugin string + filename string + config *SonobuoyConfig + + transforms map[string][]func(*manifest.Manifest) error + // Value to put in the configmap as the filename. Defaults to filename. + filenameOverride string +} + +func (f *e2eDockerConfigFlag) String() string { return f.filename } +func (f *e2eDockerConfigFlag) Type() string { return "json-filepath" } +func (f *e2eDockerConfigFlag) Set(str string) error { + f.config.E2EDockerConfigFile = str + name := filepath.Base(str) + if len(f.filenameOverride) > 0 { + name = f.filenameOverride + } + fData, err := os.ReadFile(str) + if err != nil { + return errors.Wrapf(err, "failed to read file %q", str) + } + + f.transforms[e2ePlugin] = append(f.transforms[e2ePlugin], func(m *manifest.Manifest) error { + if m.ConfigMap == nil { + m.ConfigMap = map[string]string{} + } + m.ConfigMap[name] = string(fData) + return nil + + }) + return nil +} + // The ssh-key flag needs to store the path to the ssh key but also // wire up the e2e plugin for using it. type sshPathFlag struct { diff --git a/cmd/sonobuoy/app/gen.go b/cmd/sonobuoy/app/gen.go index aca4ecc99..73feac349 100644 --- a/cmd/sonobuoy/app/gen.go +++ b/cmd/sonobuoy/app/gen.go @@ -21,6 +21,8 @@ package app import ( "fmt" "os" + "strconv" + "strings" "time" "github.com/vmware-tanzu/sonobuoy/pkg/client" @@ -94,7 +96,7 @@ func GenFlagSet(cfg *genFlags, rbac RBACMode) *pflag.FlagSet { AddPluginSetFlag(&cfg.plugins, genset) AddPluginEnvFlag(&cfg.pluginEnvs, genset) - AddLegacyE2EFlags(&cfg.pluginEnvs, &cfg.pluginTransforms, genset) + AddLegacyE2EFlags(&cfg.sonobuoyConfig, &cfg.pluginEnvs, &cfg.pluginTransforms, genset) AddNodeSelectorsFlag(&cfg.nodeSelectors, genset) @@ -165,6 +167,15 @@ func (g *genFlags) Config() (*client.GenConfig, error) { k8sVersion = g.k8sVersion.String() } + if g.sonobuoyConfig.E2EDockerConfigFile != "" { + if err := verifyKubernetesVersion(k8sVersion); err != nil { + return nil, err + } + if g.sonobuoyConfig.ImagePullSecrets == "" { + g.sonobuoyConfig.ImagePullSecrets = "auth-repo-cred" + } + } + return &client.GenConfig{ Config: &g.sonobuoyConfig.Config, EnableRBAC: rbacEnabled, @@ -207,6 +218,7 @@ func NewCmdGen() *cobra.Command { Args: cobra.ExactArgs(0), } GenCommand.Flags().AddFlagSet(GenFlagSet(&genflags, EnabledRBACMode)) + return GenCommand } @@ -261,3 +273,25 @@ func getClient(kubeconfig *Kubeconfig) (*kubernetes.Clientset, error) { return client, kubeError } + +func verifyKubernetesVersion(k8sVersion string) error { + parts := versionMatchRE.FindStringSubmatch(k8sVersion) + if parts == nil { + return fmt.Errorf("could not parse %q as version", k8sVersion) + } + numbers, _ := parts[1], parts[2] + + versionInfo := strings.Split(numbers, ".") + minorVersion := versionInfo[1] + + minorVersionInt, err := strconv.ParseInt(minorVersion, 10, 0) + if err != nil { + return err + } + + if minorVersionInt < 27 { + err = fmt.Errorf("e2e-docker-config-file is only supported for Kubernetes 1.27 or later") + } + + return err +} diff --git a/cmd/sonobuoy/app/gen_test.go b/cmd/sonobuoy/app/gen_test.go new file mode 100644 index 000000000..423a64a7c --- /dev/null +++ b/cmd/sonobuoy/app/gen_test.go @@ -0,0 +1,53 @@ +/* +Copyright the Sonobuoy contributors 2019 + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +package app + +import ( + "testing" +) + +func TestVerifyKubernetesVersion(t *testing.T) { + testCases := []struct { + desc string + k8sVersion string + expectErr string + }{ + { + desc: "Usage of e2e-docker-config-file flag with Kubernetes versions below 1.27 should throw error", + k8sVersion: "1.26-alpha-3", + expectErr: "e2e-docker-config-file is only supported for Kubernetes 1.27 or later", + }, + { + desc: "Usage of e2e-docker-config-file flag along with Kubernetes versions 1.27 or later should work as expected", + k8sVersion: "1.27", + }, + } + + for _, testCase := range testCases { + t.Run(testCase.desc, func(t *testing.T) { + err := verifyKubernetesVersion(testCase.k8sVersion) + if err != nil { + if len(testCase.expectErr) == 0 { + t.Fatalf("Expected nil error but got %v", err) + } + if err.Error() != testCase.expectErr { + t.Fatalf("Expected error %q but got %q", err, testCase.expectErr) + } + } + }) + + } +} diff --git a/cmd/sonobuoy/app/images.go b/cmd/sonobuoy/app/images.go index 7bd97df78..78769437f 100644 --- a/cmd/sonobuoy/app/images.go +++ b/cmd/sonobuoy/app/images.go @@ -451,7 +451,6 @@ func translateRegistry(imageURL string, customRegistry string, customRegistryLis if len(customRegistry) > 0 { return fmt.Sprintf("%s/%s", customRegistry, parts[countParts-1]) } - // For now, if not given a customRegistry, assume they gave the customRegistryList as non-nil. switch registryAndUser { case "gcr.io/e2e-test-images": diff --git a/cmd/sonobuoy/app/root.go b/cmd/sonobuoy/app/root.go index 28df6e0d9..ea4feed97 100644 --- a/cmd/sonobuoy/app/root.go +++ b/cmd/sonobuoy/app/root.go @@ -20,6 +20,7 @@ import ( "errors" "flag" "fmt" + "regexp" "sync" "github.com/sirupsen/logrus" @@ -34,6 +35,10 @@ import ( // and cause a panic otherwise. var once sync.Once +// versionMatchRE splits a version string into numeric and "extra" parts +// source: https://github.com/kubernetes/kubernetes/blob/af1bf4306709020ed2002618e099b3d0acf3c7b5/staging/src/k8s.io/apimachinery/pkg/util/version/version.go#L37 +var versionMatchRE = regexp.MustCompile(`^\s*v?([0-9]+(?:\.[0-9]+)*)(.*)*$`) + func NewSonobuoyCommand() *cobra.Command { cmds := &cobra.Command{ Use: "sonobuoy", @@ -106,8 +111,10 @@ func prerunChecks(cmd *cobra.Command, args []string) error { // Getting a list of all flags provided by the user. flagsSet := map[string]bool{} flagsDebug := []string{} + flagArgs := map[string]string{} cmd.Flags().Visit(func(f *pflag.Flag) { flagsSet[f.Name] = true + flagArgs[f.Name] = f.Value.String() flagsDebug = append(flagsDebug, fmt.Sprintf("%v=%v", f.Name, f.Value.String())) }) @@ -135,6 +142,13 @@ func prerunChecks(cmd *cobra.Command, args []string) error { return fmt.Errorf("%v and %v flags are both set and may collide", e2eRegistryConfigFlag, e2eRegistryFlag) } + if flagsSet[e2eDockerConfigFileFlag] && flagsSet["kubernetes-version"] { + k8sVersion := flagArgs["kubernetes-version"] + if err := verifyKubernetesVersion(k8sVersion); err != nil { + return err + } + } + return nil } diff --git a/pkg/client/gen.go b/pkg/client/gen.go index fba885cfd..2367080ff 100644 --- a/pkg/client/gen.go +++ b/pkg/client/gen.go @@ -25,6 +25,7 @@ import ( "fmt" "io" "os" + "path/filepath" "sort" "strings" @@ -51,7 +52,8 @@ const ( aggregatorEnvOverrideKey = `sonobuoy` - envVarKeyExtraArgs = "E2E_EXTRA_ARGS" + envVarKeyExtraArgs = "E2E_EXTRA_ARGS" + defaultImagePullSecretName = "auth-repo-cred" // sonobuoyKey is just a true/false env to indicate that the container was launched/tagged by Sonobuoy. sonobuoyKey = "SONOBUOY" @@ -164,6 +166,7 @@ func (*SonobuoyClient) GenerateManifestAndPlugins(cfg *GenConfig) ([]byte, []*ma if len(p.ConfigMap) == 0 { continue } + configs[p.SonobuoyConfig.PluginName] = p.ConfigMap p.ExtraVolumes = append(p.ExtraVolumes, manifest.Volume{ @@ -218,6 +221,11 @@ func generateYAMLComponents(w io.Writer, cfg *GenConfig, plugins []*manifest.Man if err := generateServiceAcct(w, cfg); err != nil { return err } + if cfg.Config.E2EDockerConfigFile != "" { + if err := generateRegistrySecret(w, cfg); err != nil { + return err + } + } if err := generateRBAC(w, cfg); err != nil { return err } @@ -227,6 +235,7 @@ func generateYAMLComponents(w io.Writer, cfg *GenConfig, plugins []*manifest.Man if err := generateSecret(w, cfg); err != nil { return err } + if err := generatePluginConfigmap(w, cfg, plugins); err != nil { return err } @@ -261,7 +270,9 @@ func generateAdditionalConfigmaps(w io.Writer, cfg *GenConfig, configs map[strin sort.Strings(filenames) for _, filename := range filenames { cm.Data[filename] = configs[pluginName][filename] + } + if err := appendAsYAML(w, cm); err != nil { return err } @@ -282,6 +293,7 @@ func generatePluginConfigmap(w io.Writer, cfg *GenConfig, plugins []*manifest.Ma } cm.Data[fmt.Sprintf("plugin-%v.yaml", i)] = strings.TrimSpace(string(b)) } + return appendAsYAML(w, cm) } @@ -309,6 +321,24 @@ func appendAsYAML(w io.Writer, o kuberuntime.Object) error { return err } +func generateRegistrySecret(w io.Writer, cfg *GenConfig) error { + contents, err := os.ReadFile(cfg.Config.E2EDockerConfigFile) + if err != nil { + return fmt.Errorf("error reading docker config file: %v", err) + } + s := &corev1.Secret{ + Type: corev1.SecretTypeDockerConfigJson, + Data: map[string][]byte{corev1.DockerConfigJsonKey: contents}, + } + s.Name = cfg.Config.ImagePullSecrets + s.Namespace = cfg.Config.Namespace + + s.SetGroupVersionKind(schema.GroupVersionKind{Group: "", Version: "v1", Kind: "Secret"}) + + return appendAsYAML(w, s) + +} + func generateSecret(w io.Writer, cfg *GenConfig) error { if len(cfg.SSHKeyPath) == 0 { return nil @@ -790,14 +820,14 @@ func E2EManifest(cfg *GenConfig) *manifest.Manifest { } m.PodSpec.PodSpec.NodeSelector = map[string]string{"kubernetes.io/os": "linux"} - m.Spec.Env = updateExtraArgs(m.Spec.Env, cfg.Config.ProgressUpdatesPort) + m.Spec.Env = updateExtraArgs(m.Spec.Env, cfg.Config.ProgressUpdatesPort, cfg.Config.E2EDockerConfigFile) return m } // updateExtraArgs adds the flag expected by the e2e plugin for the progress report URL. // If no port is given, the default "8099" is used. -func updateExtraArgs(envs []corev1.EnvVar, port string) []corev1.EnvVar { +func updateExtraArgs(envs []corev1.EnvVar, port, e2eDockerConfigFile string) []corev1.EnvVar { for _, env := range envs { // If set by user, just leave as-is. if env.Name == envVarKeyExtraArgs { @@ -808,6 +838,11 @@ func updateExtraArgs(envs []corev1.EnvVar, port string) []corev1.EnvVar { port = config.DefaultProgressUpdatesPort } val := fmt.Sprintf("--progress-report-url=http://localhost:%v/progress", port) + if e2eDockerConfigFile != "" { + credFile := filepath.Base(e2eDockerConfigFile) + registryCredLocation := fmt.Sprintf("%s/%s", sonobuoyDefaultConfigDir, credFile) + val += fmt.Sprintf(" --e2e-docker-config-file=%s", registryCredLocation) + } envs = append(envs, corev1.EnvVar{Name: envVarKeyExtraArgs, Value: val}) return envs } diff --git a/pkg/client/interfaces.go b/pkg/client/interfaces.go index 10fca773d..d493fdb98 100644 --- a/pkg/client/interfaces.go +++ b/pkg/client/interfaces.go @@ -110,7 +110,7 @@ func (gc *GenConfig) Validate() error { } for key, value := range m.ConfigMap { - if strings.HasSuffix(key, ".yml") || strings.HasSuffix(key, ".yaml") { + if strings.HasSuffix(key, ".yml") || strings.HasSuffix(key, ".yaml") || strings.HasSuffix(key, ".json") { var i interface{} if err := yaml.Unmarshal([]byte(value), &i); err != nil { return fmt.Errorf("failed to parse value of key %v in ConfigMap for plugin %v: %v", key, m.SonobuoyConfig.PluginName, err) diff --git a/pkg/config/config.go b/pkg/config/config.go index a90abc9fd..9861dd852 100644 --- a/pkg/config/config.go +++ b/pkg/config/config.go @@ -155,6 +155,7 @@ type Config struct { AggregatorPermissions string `json:"AggregatorPermissions" mapstructure:"AggregatorPermissions"` ServiceAccountName string `json:"ServiceAccountName" mapstructure:"ServiceAccountName"` ExistingServiceAccount bool `json:"ExistingServiceAccount,omitempty" mapstructure:"ExistingServiceAccount,omitempty"` + E2EDockerConfigFile string `json:"E2EDockerConfigFile,omitempty" mapstructure:"E2EDockerConfigFile,omitempty"` NamespacePSAEnforceLevel string `json:"NamespacePSAEnforceLevel,omitempty" mapstructure:"NamespacePSAEnforceLevel,omitempty"` // ProgressUpdatesPort is the port on which the Sonobuoy worker will listen for status updates from its plugin. diff --git a/pkg/image/imageversion.go b/pkg/image/imageversion.go index 4267fd9b3..645a91f0b 100644 --- a/pkg/image/imageversion.go +++ b/pkg/image/imageversion.go @@ -18,11 +18,12 @@ package image import ( "fmt" - "github.com/sirupsen/logrus" "io" "net/http" "strings" + "github.com/sirupsen/logrus" + "github.com/hashicorp/go-version" "github.com/pkg/errors" "github.com/vmware-tanzu/sonobuoy/pkg/config" From 698a51c97bf6ec87e81a552e5e3e5719c6d9a4e0 Mon Sep 17 00:00:00 2001 From: Divya Rani Date: Wed, 12 Jul 2023 19:44:08 +0530 Subject: [PATCH 2/4] fix integration tests Signed-off-by: Divya Rani --- test/integration/testdata/gen-mode-and-focus.golden | 1 + test/integration/testdata/gen-mode-and-rerun.golden | 1 + test/integration/testdata/gen-rerunfailed-missing.golden | 1 + test/integration/testdata/gen-rerunfailed-no-failures.golden | 1 + test/integration/testdata/gen-rerunfailed-not-tarball.golden | 1 + 5 files changed, 5 insertions(+) diff --git a/test/integration/testdata/gen-mode-and-focus.golden b/test/integration/testdata/gen-mode-and-focus.golden index 6a96c9cc7..5f29f1c83 100644 --- a/test/integration/testdata/gen-mode-and-focus.golden +++ b/test/integration/testdata/gen-mode-and-focus.golden @@ -15,6 +15,7 @@ Flags: --context string Context in the kubeconfig to use. --dns-namespace string The namespace to check for DNS pods during preflight checks. (default "kube-system") --dns-pod-labels strings The label selectors to use for locating DNS pods during preflight checks. Can be specified multiple times or as a comma-separated list. (default [k8s-app=kube-dns,k8s-app=coredns]) + --e2e-docker-config-file json-filepath A docker credentials configuration file used which contains authorization token that can be used to pull images from certain private registries provided by the users --e2e-focus envModifier Specify the E2E_FOCUS value for the e2e plugin, specifying which tests to run. Shorthand for --plugin-env=e2e.E2E_FOCUS= (default \[Conformance\]) --e2e-repo envModifier Specify a registry to use as the default for pulling Kubernetes test images. Same as providing --e2e-repo-config but specifying the same repo repeatedly. --e2e-repo-config yaml-filepath Specify a yaml file acting as KUBE_TEST_REPO_LIST, overriding registries for test images. diff --git a/test/integration/testdata/gen-mode-and-rerun.golden b/test/integration/testdata/gen-mode-and-rerun.golden index 84cee6f1d..355804a36 100644 --- a/test/integration/testdata/gen-mode-and-rerun.golden +++ b/test/integration/testdata/gen-mode-and-rerun.golden @@ -15,6 +15,7 @@ Flags: --context string Context in the kubeconfig to use. --dns-namespace string The namespace to check for DNS pods during preflight checks. (default "kube-system") --dns-pod-labels strings The label selectors to use for locating DNS pods during preflight checks. Can be specified multiple times or as a comma-separated list. (default [k8s-app=kube-dns,k8s-app=coredns]) + --e2e-docker-config-file json-filepath A docker credentials configuration file used which contains authorization token that can be used to pull images from certain private registries provided by the users --e2e-focus envModifier Specify the E2E_FOCUS value for the e2e plugin, specifying which tests to run. Shorthand for --plugin-env=e2e.E2E_FOCUS= (default \[Conformance\]) --e2e-repo envModifier Specify a registry to use as the default for pulling Kubernetes test images. Same as providing --e2e-repo-config but specifying the same repo repeatedly. --e2e-repo-config yaml-filepath Specify a yaml file acting as KUBE_TEST_REPO_LIST, overriding registries for test images. diff --git a/test/integration/testdata/gen-rerunfailed-missing.golden b/test/integration/testdata/gen-rerunfailed-missing.golden index b22419367..a79117833 100644 --- a/test/integration/testdata/gen-rerunfailed-missing.golden +++ b/test/integration/testdata/gen-rerunfailed-missing.golden @@ -15,6 +15,7 @@ Flags: --context string Context in the kubeconfig to use. --dns-namespace string The namespace to check for DNS pods during preflight checks. (default "kube-system") --dns-pod-labels strings The label selectors to use for locating DNS pods during preflight checks. Can be specified multiple times or as a comma-separated list. (default [k8s-app=kube-dns,k8s-app=coredns]) + --e2e-docker-config-file json-filepath A docker credentials configuration file used which contains authorization token that can be used to pull images from certain private registries provided by the users --e2e-focus envModifier Specify the E2E_FOCUS value for the e2e plugin, specifying which tests to run. Shorthand for --plugin-env=e2e.E2E_FOCUS= (default \[Conformance\]) --e2e-repo envModifier Specify a registry to use as the default for pulling Kubernetes test images. Same as providing --e2e-repo-config but specifying the same repo repeatedly. --e2e-repo-config yaml-filepath Specify a yaml file acting as KUBE_TEST_REPO_LIST, overriding registries for test images. diff --git a/test/integration/testdata/gen-rerunfailed-no-failures.golden b/test/integration/testdata/gen-rerunfailed-no-failures.golden index 7058f5f81..6c4b27340 100644 --- a/test/integration/testdata/gen-rerunfailed-no-failures.golden +++ b/test/integration/testdata/gen-rerunfailed-no-failures.golden @@ -15,6 +15,7 @@ Flags: --context string Context in the kubeconfig to use. --dns-namespace string The namespace to check for DNS pods during preflight checks. (default "kube-system") --dns-pod-labels strings The label selectors to use for locating DNS pods during preflight checks. Can be specified multiple times or as a comma-separated list. (default [k8s-app=kube-dns,k8s-app=coredns]) + --e2e-docker-config-file json-filepath A docker credentials configuration file used which contains authorization token that can be used to pull images from certain private registries provided by the users --e2e-focus envModifier Specify the E2E_FOCUS value for the e2e plugin, specifying which tests to run. Shorthand for --plugin-env=e2e.E2E_FOCUS= (default \[Conformance\]) --e2e-repo envModifier Specify a registry to use as the default for pulling Kubernetes test images. Same as providing --e2e-repo-config but specifying the same repo repeatedly. --e2e-repo-config yaml-filepath Specify a yaml file acting as KUBE_TEST_REPO_LIST, overriding registries for test images. diff --git a/test/integration/testdata/gen-rerunfailed-not-tarball.golden b/test/integration/testdata/gen-rerunfailed-not-tarball.golden index c8c5e4dcd..6be2013e0 100644 --- a/test/integration/testdata/gen-rerunfailed-not-tarball.golden +++ b/test/integration/testdata/gen-rerunfailed-not-tarball.golden @@ -15,6 +15,7 @@ Flags: --context string Context in the kubeconfig to use. --dns-namespace string The namespace to check for DNS pods during preflight checks. (default "kube-system") --dns-pod-labels strings The label selectors to use for locating DNS pods during preflight checks. Can be specified multiple times or as a comma-separated list. (default [k8s-app=kube-dns,k8s-app=coredns]) + --e2e-docker-config-file json-filepath A docker credentials configuration file used which contains authorization token that can be used to pull images from certain private registries provided by the users --e2e-focus envModifier Specify the E2E_FOCUS value for the e2e plugin, specifying which tests to run. Shorthand for --plugin-env=e2e.E2E_FOCUS= (default \[Conformance\]) --e2e-repo envModifier Specify a registry to use as the default for pulling Kubernetes test images. Same as providing --e2e-repo-config but specifying the same repo repeatedly. --e2e-repo-config yaml-filepath Specify a yaml file acting as KUBE_TEST_REPO_LIST, overriding registries for test images. From f5355557079afc2ea46a8444d73fc36dfb28ddd9 Mon Sep 17 00:00:00 2001 From: Akhil Mohan Date: Mon, 21 Aug 2023 16:30:22 +0530 Subject: [PATCH 3/4] cleanup: fix merge conflict errors Signed-off-by: Akhil Mohan --- site/content/docs/main/cli/sonobuoy.md | 4 ---- site/content/docs/main/cli/sonobuoy_delete.md | 4 ---- site/content/docs/main/cli/sonobuoy_e2e.md | 4 ---- site/content/docs/main/cli/sonobuoy_gen.md | 8 -------- site/content/docs/main/cli/sonobuoy_gen_config.md | 8 -------- .../docs/main/cli/sonobuoy_gen_default-image-config.md | 4 ---- site/content/docs/main/cli/sonobuoy_gen_plugin.md | 4 ---- site/content/docs/main/cli/sonobuoy_gen_plugin_e2e.md | 8 -------- .../docs/main/cli/sonobuoy_gen_plugin_systemd-logs.md | 8 -------- site/content/docs/main/cli/sonobuoy_get.md | 4 ---- site/content/docs/main/cli/sonobuoy_get_pod.md | 4 ---- site/content/docs/main/cli/sonobuoy_images.md | 4 ---- site/content/docs/main/cli/sonobuoy_images_delete.md | 4 ---- site/content/docs/main/cli/sonobuoy_images_download.md | 4 ---- site/content/docs/main/cli/sonobuoy_images_list.md | 4 ---- site/content/docs/main/cli/sonobuoy_images_pull.md | 4 ---- site/content/docs/main/cli/sonobuoy_images_push.md | 4 ---- site/content/docs/main/cli/sonobuoy_logs.md | 4 ---- site/content/docs/main/cli/sonobuoy_modes.md | 4 ---- site/content/docs/main/cli/sonobuoy_plugin.md | 4 ---- site/content/docs/main/cli/sonobuoy_plugin_install.md | 4 ---- site/content/docs/main/cli/sonobuoy_plugin_list.md | 4 ---- site/content/docs/main/cli/sonobuoy_plugin_show.md | 4 ---- site/content/docs/main/cli/sonobuoy_plugin_uninstall.md | 4 ---- site/content/docs/main/cli/sonobuoy_query.md | 4 ---- site/content/docs/main/cli/sonobuoy_results.md | 4 ---- site/content/docs/main/cli/sonobuoy_retrieve.md | 4 ---- site/content/docs/main/cli/sonobuoy_run.md | 8 -------- site/content/docs/main/cli/sonobuoy_status.md | 4 ---- site/content/docs/main/cli/sonobuoy_version.md | 4 ---- site/content/docs/main/cli/sonobuoy_wait.md | 8 -------- 31 files changed, 148 deletions(-) diff --git a/site/content/docs/main/cli/sonobuoy.md b/site/content/docs/main/cli/sonobuoy.md index 140cdf6bd..95f1ff259 100644 --- a/site/content/docs/main/cli/sonobuoy.md +++ b/site/content/docs/main/cli/sonobuoy.md @@ -35,8 +35,4 @@ sonobuoy [flags] * [sonobuoy version](sonobuoy_version.md) - Print sonobuoy version * [sonobuoy wait](sonobuoy_wait.md) - Waits on the Sonobuoy run in the targeted namespace. -<<<<<<< HEAD -###### Auto generated by spf13/cobra on 2-Mar-2023 -======= ###### Auto generated by spf13/cobra on 15-Jun-2023 ->>>>>>> 2846f353 (Add docs for v0.56.17) diff --git a/site/content/docs/main/cli/sonobuoy_delete.md b/site/content/docs/main/cli/sonobuoy_delete.md index 6d21251af..f5ba544bf 100644 --- a/site/content/docs/main/cli/sonobuoy_delete.md +++ b/site/content/docs/main/cli/sonobuoy_delete.md @@ -29,8 +29,4 @@ sonobuoy delete [flags] * [sonobuoy](sonobuoy.md) - Generate reports on your Kubernetes cluster by running plugins -<<<<<<< HEAD -###### Auto generated by spf13/cobra on 2-Mar-2023 -======= ###### Auto generated by spf13/cobra on 15-Jun-2023 ->>>>>>> 2846f353 (Add docs for v0.56.17) diff --git a/site/content/docs/main/cli/sonobuoy_e2e.md b/site/content/docs/main/cli/sonobuoy_e2e.md index 2b66b51e0..6d4d527e3 100644 --- a/site/content/docs/main/cli/sonobuoy_e2e.md +++ b/site/content/docs/main/cli/sonobuoy_e2e.md @@ -29,8 +29,4 @@ sonobuoy e2e [flags] * [sonobuoy](sonobuoy.md) - Generate reports on your Kubernetes cluster by running plugins -<<<<<<< HEAD -###### Auto generated by spf13/cobra on 2-Mar-2023 -======= ###### Auto generated by spf13/cobra on 15-Jun-2023 ->>>>>>> 2846f353 (Add docs for v0.56.17) diff --git a/site/content/docs/main/cli/sonobuoy_gen.md b/site/content/docs/main/cli/sonobuoy_gen.md index 2e9282ae1..6229ab09b 100644 --- a/site/content/docs/main/cli/sonobuoy_gen.md +++ b/site/content/docs/main/cli/sonobuoy_gen.md @@ -39,11 +39,7 @@ sonobuoy gen [flags] --service-account-name string Name of the service account to be used by sonobuoy. (default "sonobuoy-serviceaccount") --show-default-podspec If true, include the default pod spec used for plugins in the output. --skip-preflight strings[=true] Skips the specified preflight checks. Valid values are [dnscheck, versioncheck, existingnamespace] or true to skip all of the checks. -<<<<<<< HEAD - --sonobuoy-image string Container image override for the sonobuoy worker and aggregator. (default "sonobuoy/sonobuoy:537203ab") -======= --sonobuoy-image string Container image override for the sonobuoy worker and aggregator. (default "sonobuoy/sonobuoy:1c88db1e") ->>>>>>> 2846f353 (Add docs for v0.56.17) --ssh-key yamlFile Path to the private key enabling SSH to cluster nodes. May be required by some tests from the e2e plugin. --ssh-user envModifier SSH user for ssh-key. Required if running e2e plugin with certain tests that require SSH access to nodes. --systemd-logs-image image Container image override for the systemd-logs plugin. Shorthand for --plugin-image=systemd-logs: (default map[]) @@ -65,8 +61,4 @@ sonobuoy gen [flags] * [sonobuoy gen default-image-config](sonobuoy_gen_default-image-config.md) - Generates the default image registry config for the e2e plugin * [sonobuoy gen plugin](sonobuoy_gen_plugin.md) - Generates the manifest Sonobuoy uses to define a plugin -<<<<<<< HEAD -###### Auto generated by spf13/cobra on 2-Mar-2023 -======= ###### Auto generated by spf13/cobra on 15-Jun-2023 ->>>>>>> 2846f353 (Add docs for v0.56.17) diff --git a/site/content/docs/main/cli/sonobuoy_gen_config.md b/site/content/docs/main/cli/sonobuoy_gen_config.md index 83d99c712..5e9ff856a 100644 --- a/site/content/docs/main/cli/sonobuoy_gen_config.md +++ b/site/content/docs/main/cli/sonobuoy_gen_config.md @@ -39,11 +39,7 @@ sonobuoy gen config [flags] --service-account-name string Name of the service account to be used by sonobuoy. (default "sonobuoy-serviceaccount") --show-default-podspec If true, include the default pod spec used for plugins in the output. --skip-preflight strings[=true] Skips the specified preflight checks. Valid values are [dnscheck, versioncheck, existingnamespace] or true to skip all of the checks. -<<<<<<< HEAD - --sonobuoy-image string Container image override for the sonobuoy worker and aggregator. (default "sonobuoy/sonobuoy:537203ab") -======= --sonobuoy-image string Container image override for the sonobuoy worker and aggregator. (default "sonobuoy/sonobuoy:1c88db1e") ->>>>>>> 2846f353 (Add docs for v0.56.17) --ssh-key yamlFile Path to the private key enabling SSH to cluster nodes. May be required by some tests from the e2e plugin. --ssh-user envModifier SSH user for ssh-key. Required if running e2e plugin with certain tests that require SSH access to nodes. --systemd-logs-image image Container image override for the systemd-logs plugin. Shorthand for --plugin-image=systemd-logs: (default map[]) @@ -62,8 +58,4 @@ sonobuoy gen config [flags] * [sonobuoy gen](sonobuoy_gen.md) - Generates a sonobuoy manifest for submission via kubectl -<<<<<<< HEAD -###### Auto generated by spf13/cobra on 2-Mar-2023 -======= ###### Auto generated by spf13/cobra on 15-Jun-2023 ->>>>>>> 2846f353 (Add docs for v0.56.17) diff --git a/site/content/docs/main/cli/sonobuoy_gen_default-image-config.md b/site/content/docs/main/cli/sonobuoy_gen_default-image-config.md index 91299bc50..136a96153 100644 --- a/site/content/docs/main/cli/sonobuoy_gen_default-image-config.md +++ b/site/content/docs/main/cli/sonobuoy_gen_default-image-config.md @@ -24,8 +24,4 @@ sonobuoy gen default-image-config [flags] * [sonobuoy gen](sonobuoy_gen.md) - Generates a sonobuoy manifest for submission via kubectl -<<<<<<< HEAD -###### Auto generated by spf13/cobra on 2-Mar-2023 -======= ###### Auto generated by spf13/cobra on 15-Jun-2023 ->>>>>>> 2846f353 (Add docs for v0.56.17) diff --git a/site/content/docs/main/cli/sonobuoy_gen_plugin.md b/site/content/docs/main/cli/sonobuoy_gen_plugin.md index 863c66608..9ada4d15f 100644 --- a/site/content/docs/main/cli/sonobuoy_gen_plugin.md +++ b/site/content/docs/main/cli/sonobuoy_gen_plugin.md @@ -42,8 +42,4 @@ sonobuoy gen plugin -n myPlugin -i myregistry/myimage:v0 * [sonobuoy gen plugin e2e](sonobuoy_gen_plugin_e2e.md) - Generates the e2e plugin definition based on the given options * [sonobuoy gen plugin systemd-logs](sonobuoy_gen_plugin_systemd-logs.md) - Generates the systemd-logs plugin definition based on the given options -<<<<<<< HEAD -###### Auto generated by spf13/cobra on 2-Mar-2023 -======= ###### Auto generated by spf13/cobra on 15-Jun-2023 ->>>>>>> 2846f353 (Add docs for v0.56.17) diff --git a/site/content/docs/main/cli/sonobuoy_gen_plugin_e2e.md b/site/content/docs/main/cli/sonobuoy_gen_plugin_e2e.md index 37ab45369..38c0f02a0 100644 --- a/site/content/docs/main/cli/sonobuoy_gen_plugin_e2e.md +++ b/site/content/docs/main/cli/sonobuoy_gen_plugin_e2e.md @@ -40,11 +40,7 @@ sonobuoy gen plugin e2e [flags] --service-account-name string Name of the service account to be used by sonobuoy. (default "sonobuoy-serviceaccount") --show-default-podspec If true, include the default pod spec used for plugins in the output. --skip-preflight strings[=true] Skips the specified preflight checks. Valid values are [dnscheck, versioncheck, existingnamespace] or true to skip all of the checks. -<<<<<<< HEAD - --sonobuoy-image string Container image override for the sonobuoy worker and aggregator. (default "sonobuoy/sonobuoy:537203ab") -======= --sonobuoy-image string Container image override for the sonobuoy worker and aggregator. (default "sonobuoy/sonobuoy:1c88db1e") ->>>>>>> 2846f353 (Add docs for v0.56.17) --ssh-key yamlFile Path to the private key enabling SSH to cluster nodes. May be required by some tests from the e2e plugin. --ssh-user envModifier SSH user for ssh-key. Required if running e2e plugin with certain tests that require SSH access to nodes. --systemd-logs-image image Container image override for the systemd-logs plugin. Shorthand for --plugin-image=systemd-logs: (default map[]) @@ -63,8 +59,4 @@ sonobuoy gen plugin e2e [flags] * [sonobuoy gen plugin](sonobuoy_gen_plugin.md) - Generates the manifest Sonobuoy uses to define a plugin -<<<<<<< HEAD -###### Auto generated by spf13/cobra on 2-Mar-2023 -======= ###### Auto generated by spf13/cobra on 15-Jun-2023 ->>>>>>> 2846f353 (Add docs for v0.56.17) diff --git a/site/content/docs/main/cli/sonobuoy_gen_plugin_systemd-logs.md b/site/content/docs/main/cli/sonobuoy_gen_plugin_systemd-logs.md index dbb17ba37..6e9e513b5 100644 --- a/site/content/docs/main/cli/sonobuoy_gen_plugin_systemd-logs.md +++ b/site/content/docs/main/cli/sonobuoy_gen_plugin_systemd-logs.md @@ -39,11 +39,7 @@ sonobuoy gen plugin systemd-logs [flags] --service-account-name string Name of the service account to be used by sonobuoy. (default "sonobuoy-serviceaccount") --show-default-podspec If true, include the default pod spec used for plugins in the output. --skip-preflight strings[=true] Skips the specified preflight checks. Valid values are [dnscheck, versioncheck, existingnamespace] or true to skip all of the checks. -<<<<<<< HEAD - --sonobuoy-image string Container image override for the sonobuoy worker and aggregator. (default "sonobuoy/sonobuoy:537203ab") -======= --sonobuoy-image string Container image override for the sonobuoy worker and aggregator. (default "sonobuoy/sonobuoy:1c88db1e") ->>>>>>> 2846f353 (Add docs for v0.56.17) --ssh-key yamlFile Path to the private key enabling SSH to cluster nodes. May be required by some tests from the e2e plugin. --ssh-user envModifier SSH user for ssh-key. Required if running e2e plugin with certain tests that require SSH access to nodes. --systemd-logs-image image Container image override for the systemd-logs plugin. Shorthand for --plugin-image=systemd-logs: (default map[]) @@ -62,8 +58,4 @@ sonobuoy gen plugin systemd-logs [flags] * [sonobuoy gen plugin](sonobuoy_gen_plugin.md) - Generates the manifest Sonobuoy uses to define a plugin -<<<<<<< HEAD -###### Auto generated by spf13/cobra on 2-Mar-2023 -======= ###### Auto generated by spf13/cobra on 15-Jun-2023 ->>>>>>> 2846f353 (Add docs for v0.56.17) diff --git a/site/content/docs/main/cli/sonobuoy_get.md b/site/content/docs/main/cli/sonobuoy_get.md index e09df11e6..10856840a 100644 --- a/site/content/docs/main/cli/sonobuoy_get.md +++ b/site/content/docs/main/cli/sonobuoy_get.md @@ -19,8 +19,4 @@ Fetches Sonobuoy resources of a specified type * [sonobuoy](sonobuoy.md) - Generate reports on your Kubernetes cluster by running plugins * [sonobuoy get pod](sonobuoy_get_pod.md) - Fetch sonobuoy pods -<<<<<<< HEAD -###### Auto generated by spf13/cobra on 2-Mar-2023 -======= ###### Auto generated by spf13/cobra on 15-Jun-2023 ->>>>>>> 2846f353 (Add docs for v0.56.17) diff --git a/site/content/docs/main/cli/sonobuoy_get_pod.md b/site/content/docs/main/cli/sonobuoy_get_pod.md index cdc714791..108b1bc23 100644 --- a/site/content/docs/main/cli/sonobuoy_get_pod.md +++ b/site/content/docs/main/cli/sonobuoy_get_pod.md @@ -24,8 +24,4 @@ sonobuoy get pod [flags] * [sonobuoy get](sonobuoy_get.md) - Fetches Sonobuoy resources of a specified type -<<<<<<< HEAD -###### Auto generated by spf13/cobra on 2-Mar-2023 -======= ###### Auto generated by spf13/cobra on 15-Jun-2023 ->>>>>>> 2846f353 (Add docs for v0.56.17) diff --git a/site/content/docs/main/cli/sonobuoy_images.md b/site/content/docs/main/cli/sonobuoy_images.md index 3ede68b18..d312a358e 100644 --- a/site/content/docs/main/cli/sonobuoy_images.md +++ b/site/content/docs/main/cli/sonobuoy_images.md @@ -33,8 +33,4 @@ sonobuoy images [flags] * [sonobuoy images pull](sonobuoy_images_pull.md) - Pulls images to local docker client for a specific plugin * [sonobuoy images push](sonobuoy_images_push.md) - Pushes images to docker registry for a specific plugin -<<<<<<< HEAD -###### Auto generated by spf13/cobra on 2-Mar-2023 -======= ###### Auto generated by spf13/cobra on 15-Jun-2023 ->>>>>>> 2846f353 (Add docs for v0.56.17) diff --git a/site/content/docs/main/cli/sonobuoy_images_delete.md b/site/content/docs/main/cli/sonobuoy_images_delete.md index 5f8f1a646..44da70507 100644 --- a/site/content/docs/main/cli/sonobuoy_images_delete.md +++ b/site/content/docs/main/cli/sonobuoy_images_delete.md @@ -29,8 +29,4 @@ sonobuoy images delete [flags] * [sonobuoy images](sonobuoy_images.md) - Manage images used in a plugin to facilitate running them in airgapped (or similar) environments. Supported plugins are: 'e2e' -<<<<<<< HEAD -###### Auto generated by spf13/cobra on 2-Mar-2023 -======= ###### Auto generated by spf13/cobra on 15-Jun-2023 ->>>>>>> 2846f353 (Add docs for v0.56.17) diff --git a/site/content/docs/main/cli/sonobuoy_images_download.md b/site/content/docs/main/cli/sonobuoy_images_download.md index 42d96e505..7cbedb002 100644 --- a/site/content/docs/main/cli/sonobuoy_images_download.md +++ b/site/content/docs/main/cli/sonobuoy_images_download.md @@ -29,8 +29,4 @@ sonobuoy images download [flags] * [sonobuoy images](sonobuoy_images.md) - Manage images used in a plugin to facilitate running them in airgapped (or similar) environments. Supported plugins are: 'e2e' -<<<<<<< HEAD -###### Auto generated by spf13/cobra on 2-Mar-2023 -======= ###### Auto generated by spf13/cobra on 15-Jun-2023 ->>>>>>> 2846f353 (Add docs for v0.56.17) diff --git a/site/content/docs/main/cli/sonobuoy_images_list.md b/site/content/docs/main/cli/sonobuoy_images_list.md index a0a95db5e..d78bdd80a 100644 --- a/site/content/docs/main/cli/sonobuoy_images_list.md +++ b/site/content/docs/main/cli/sonobuoy_images_list.md @@ -27,8 +27,4 @@ sonobuoy images list [flags] * [sonobuoy images](sonobuoy_images.md) - Manage images used in a plugin to facilitate running them in airgapped (or similar) environments. Supported plugins are: 'e2e' -<<<<<<< HEAD -###### Auto generated by spf13/cobra on 2-Mar-2023 -======= ###### Auto generated by spf13/cobra on 15-Jun-2023 ->>>>>>> 2846f353 (Add docs for v0.56.17) diff --git a/site/content/docs/main/cli/sonobuoy_images_pull.md b/site/content/docs/main/cli/sonobuoy_images_pull.md index c6de1563c..55bcad523 100644 --- a/site/content/docs/main/cli/sonobuoy_images_pull.md +++ b/site/content/docs/main/cli/sonobuoy_images_pull.md @@ -29,8 +29,4 @@ sonobuoy images pull [flags] * [sonobuoy images](sonobuoy_images.md) - Manage images used in a plugin to facilitate running them in airgapped (or similar) environments. Supported plugins are: 'e2e' -<<<<<<< HEAD -###### Auto generated by spf13/cobra on 2-Mar-2023 -======= ###### Auto generated by spf13/cobra on 15-Jun-2023 ->>>>>>> 2846f353 (Add docs for v0.56.17) diff --git a/site/content/docs/main/cli/sonobuoy_images_push.md b/site/content/docs/main/cli/sonobuoy_images_push.md index 77108c739..ba97afada 100644 --- a/site/content/docs/main/cli/sonobuoy_images_push.md +++ b/site/content/docs/main/cli/sonobuoy_images_push.md @@ -30,8 +30,4 @@ sonobuoy images push [flags] * [sonobuoy images](sonobuoy_images.md) - Manage images used in a plugin to facilitate running them in airgapped (or similar) environments. Supported plugins are: 'e2e' -<<<<<<< HEAD -###### Auto generated by spf13/cobra on 2-Mar-2023 -======= ###### Auto generated by spf13/cobra on 15-Jun-2023 ->>>>>>> 2846f353 (Add docs for v0.56.17) diff --git a/site/content/docs/main/cli/sonobuoy_logs.md b/site/content/docs/main/cli/sonobuoy_logs.md index a10dbaf10..7a621a18a 100644 --- a/site/content/docs/main/cli/sonobuoy_logs.md +++ b/site/content/docs/main/cli/sonobuoy_logs.md @@ -27,8 +27,4 @@ sonobuoy logs [flags] * [sonobuoy](sonobuoy.md) - Generate reports on your Kubernetes cluster by running plugins -<<<<<<< HEAD -###### Auto generated by spf13/cobra on 2-Mar-2023 -======= ###### Auto generated by spf13/cobra on 15-Jun-2023 ->>>>>>> 2846f353 (Add docs for v0.56.17) diff --git a/site/content/docs/main/cli/sonobuoy_modes.md b/site/content/docs/main/cli/sonobuoy_modes.md index 1c8d45b6a..715c29112 100644 --- a/site/content/docs/main/cli/sonobuoy_modes.md +++ b/site/content/docs/main/cli/sonobuoy_modes.md @@ -23,8 +23,4 @@ sonobuoy modes [flags] * [sonobuoy](sonobuoy.md) - Generate reports on your Kubernetes cluster by running plugins -<<<<<<< HEAD -###### Auto generated by spf13/cobra on 2-Mar-2023 -======= ###### Auto generated by spf13/cobra on 15-Jun-2023 ->>>>>>> 2846f353 (Add docs for v0.56.17) diff --git a/site/content/docs/main/cli/sonobuoy_plugin.md b/site/content/docs/main/cli/sonobuoy_plugin.md index 74f62093e..c781a63f3 100644 --- a/site/content/docs/main/cli/sonobuoy_plugin.md +++ b/site/content/docs/main/cli/sonobuoy_plugin.md @@ -22,8 +22,4 @@ Manage your installed plugins * [sonobuoy plugin show](sonobuoy_plugin_show.md) - Print the full definition of the named plugin file * [sonobuoy plugin uninstall](sonobuoy_plugin_uninstall.md) - Uninstall a plugin. You can continue to run any plugin via specifying a file or URL. -<<<<<<< HEAD -###### Auto generated by spf13/cobra on 2-Mar-2023 -======= ###### Auto generated by spf13/cobra on 15-Jun-2023 ->>>>>>> 2846f353 (Add docs for v0.56.17) diff --git a/site/content/docs/main/cli/sonobuoy_plugin_install.md b/site/content/docs/main/cli/sonobuoy_plugin_install.md index a9b718e94..a13befcb2 100644 --- a/site/content/docs/main/cli/sonobuoy_plugin_install.md +++ b/site/content/docs/main/cli/sonobuoy_plugin_install.md @@ -22,8 +22,4 @@ sonobuoy plugin install [flags] * [sonobuoy plugin](sonobuoy_plugin.md) - Manage your installed plugins -<<<<<<< HEAD -###### Auto generated by spf13/cobra on 2-Mar-2023 -======= ###### Auto generated by spf13/cobra on 15-Jun-2023 ->>>>>>> 2846f353 (Add docs for v0.56.17) diff --git a/site/content/docs/main/cli/sonobuoy_plugin_list.md b/site/content/docs/main/cli/sonobuoy_plugin_list.md index 68edfa1a1..de396e4de 100644 --- a/site/content/docs/main/cli/sonobuoy_plugin_list.md +++ b/site/content/docs/main/cli/sonobuoy_plugin_list.md @@ -22,8 +22,4 @@ sonobuoy plugin list [flags] * [sonobuoy plugin](sonobuoy_plugin.md) - Manage your installed plugins -<<<<<<< HEAD -###### Auto generated by spf13/cobra on 2-Mar-2023 -======= ###### Auto generated by spf13/cobra on 15-Jun-2023 ->>>>>>> 2846f353 (Add docs for v0.56.17) diff --git a/site/content/docs/main/cli/sonobuoy_plugin_show.md b/site/content/docs/main/cli/sonobuoy_plugin_show.md index 4dc1ec2e2..70f09f4b6 100644 --- a/site/content/docs/main/cli/sonobuoy_plugin_show.md +++ b/site/content/docs/main/cli/sonobuoy_plugin_show.md @@ -22,8 +22,4 @@ sonobuoy plugin show [flags] * [sonobuoy plugin](sonobuoy_plugin.md) - Manage your installed plugins -<<<<<<< HEAD -###### Auto generated by spf13/cobra on 2-Mar-2023 -======= ###### Auto generated by spf13/cobra on 15-Jun-2023 ->>>>>>> 2846f353 (Add docs for v0.56.17) diff --git a/site/content/docs/main/cli/sonobuoy_plugin_uninstall.md b/site/content/docs/main/cli/sonobuoy_plugin_uninstall.md index cdcde57fc..0170b456d 100644 --- a/site/content/docs/main/cli/sonobuoy_plugin_uninstall.md +++ b/site/content/docs/main/cli/sonobuoy_plugin_uninstall.md @@ -22,8 +22,4 @@ sonobuoy plugin uninstall [flags] * [sonobuoy plugin](sonobuoy_plugin.md) - Manage your installed plugins -<<<<<<< HEAD -###### Auto generated by spf13/cobra on 2-Mar-2023 -======= ###### Auto generated by spf13/cobra on 15-Jun-2023 ->>>>>>> 2846f353 (Add docs for v0.56.17) diff --git a/site/content/docs/main/cli/sonobuoy_query.md b/site/content/docs/main/cli/sonobuoy_query.md index 803d691f2..29fede3f1 100644 --- a/site/content/docs/main/cli/sonobuoy_query.md +++ b/site/content/docs/main/cli/sonobuoy_query.md @@ -24,8 +24,4 @@ sonobuoy query [flags] * [sonobuoy](sonobuoy.md) - Generate reports on your Kubernetes cluster by running plugins -<<<<<<< HEAD -###### Auto generated by spf13/cobra on 2-Mar-2023 -======= ###### Auto generated by spf13/cobra on 15-Jun-2023 ->>>>>>> 2846f353 (Add docs for v0.56.17) diff --git a/site/content/docs/main/cli/sonobuoy_results.md b/site/content/docs/main/cli/sonobuoy_results.md index 8934106c6..ce931c2a6 100644 --- a/site/content/docs/main/cli/sonobuoy_results.md +++ b/site/content/docs/main/cli/sonobuoy_results.md @@ -26,8 +26,4 @@ sonobuoy results archive.tar.gz [flags] * [sonobuoy](sonobuoy.md) - Generate reports on your Kubernetes cluster by running plugins -<<<<<<< HEAD -###### Auto generated by spf13/cobra on 2-Mar-2023 -======= ###### Auto generated by spf13/cobra on 15-Jun-2023 ->>>>>>> 2846f353 (Add docs for v0.56.17) diff --git a/site/content/docs/main/cli/sonobuoy_retrieve.md b/site/content/docs/main/cli/sonobuoy_retrieve.md index ea25430c7..6e594395a 100644 --- a/site/content/docs/main/cli/sonobuoy_retrieve.md +++ b/site/content/docs/main/cli/sonobuoy_retrieve.md @@ -28,8 +28,4 @@ sonobuoy retrieve [path] [flags] * [sonobuoy](sonobuoy.md) - Generate reports on your Kubernetes cluster by running plugins -<<<<<<< HEAD -###### Auto generated by spf13/cobra on 2-Mar-2023 -======= ###### Auto generated by spf13/cobra on 15-Jun-2023 ->>>>>>> 2846f353 (Add docs for v0.56.17) diff --git a/site/content/docs/main/cli/sonobuoy_run.md b/site/content/docs/main/cli/sonobuoy_run.md index 8e7b312b6..d90b4390f 100644 --- a/site/content/docs/main/cli/sonobuoy_run.md +++ b/site/content/docs/main/cli/sonobuoy_run.md @@ -39,11 +39,7 @@ sonobuoy run [flags] --service-account-name string Name of the service account to be used by sonobuoy. (default "sonobuoy-serviceaccount") --show-default-podspec If true, include the default pod spec used for plugins in the output. --skip-preflight strings[=true] Skips the specified preflight checks. Valid values are [dnscheck, versioncheck, existingnamespace] or true to skip all of the checks. -<<<<<<< HEAD - --sonobuoy-image string Container image override for the sonobuoy worker and aggregator. (default "sonobuoy/sonobuoy:537203ab") -======= --sonobuoy-image string Container image override for the sonobuoy worker and aggregator. (default "sonobuoy/sonobuoy:1c88db1e") ->>>>>>> 2846f353 (Add docs for v0.56.17) --ssh-key yamlFile Path to the private key enabling SSH to cluster nodes. May be required by some tests from the e2e plugin. --ssh-user envModifier SSH user for ssh-key. Required if running e2e plugin with certain tests that require SSH access to nodes. --systemd-logs-image image Container image override for the systemd-logs plugin. Shorthand for --plugin-image=systemd-logs: (default map[]) @@ -62,8 +58,4 @@ sonobuoy run [flags] * [sonobuoy](sonobuoy.md) - Generate reports on your Kubernetes cluster by running plugins -<<<<<<< HEAD -###### Auto generated by spf13/cobra on 2-Mar-2023 -======= ###### Auto generated by spf13/cobra on 15-Jun-2023 ->>>>>>> 2846f353 (Add docs for v0.56.17) diff --git a/site/content/docs/main/cli/sonobuoy_status.md b/site/content/docs/main/cli/sonobuoy_status.md index 6074d789b..73270cecb 100644 --- a/site/content/docs/main/cli/sonobuoy_status.md +++ b/site/content/docs/main/cli/sonobuoy_status.md @@ -27,8 +27,4 @@ sonobuoy status [flags] * [sonobuoy](sonobuoy.md) - Generate reports on your Kubernetes cluster by running plugins -<<<<<<< HEAD -###### Auto generated by spf13/cobra on 2-Mar-2023 -======= ###### Auto generated by spf13/cobra on 15-Jun-2023 ->>>>>>> 2846f353 (Add docs for v0.56.17) diff --git a/site/content/docs/main/cli/sonobuoy_version.md b/site/content/docs/main/cli/sonobuoy_version.md index e2e3601c3..02c2a083c 100644 --- a/site/content/docs/main/cli/sonobuoy_version.md +++ b/site/content/docs/main/cli/sonobuoy_version.md @@ -25,8 +25,4 @@ sonobuoy version [flags] * [sonobuoy](sonobuoy.md) - Generate reports on your Kubernetes cluster by running plugins -<<<<<<< HEAD -###### Auto generated by spf13/cobra on 2-Mar-2023 -======= ###### Auto generated by spf13/cobra on 15-Jun-2023 ->>>>>>> 2846f353 (Add docs for v0.56.17) diff --git a/site/content/docs/main/cli/sonobuoy_wait.md b/site/content/docs/main/cli/sonobuoy_wait.md index 5e71efec2..1b300abaa 100644 --- a/site/content/docs/main/cli/sonobuoy_wait.md +++ b/site/content/docs/main/cli/sonobuoy_wait.md @@ -39,11 +39,7 @@ sonobuoy wait [flags] --service-account-name string Name of the service account to be used by sonobuoy. (default "sonobuoy-serviceaccount") --show-default-podspec If true, include the default pod spec used for plugins in the output. --skip-preflight strings[=true] Skips the specified preflight checks. Valid values are [dnscheck, versioncheck, existingnamespace] or true to skip all of the checks. -<<<<<<< HEAD - --sonobuoy-image string Container image override for the sonobuoy worker and aggregator. (default "sonobuoy/sonobuoy:537203ab") -======= --sonobuoy-image string Container image override for the sonobuoy worker and aggregator. (default "sonobuoy/sonobuoy:1c88db1e") ->>>>>>> 2846f353 (Add docs for v0.56.17) --ssh-key yamlFile Path to the private key enabling SSH to cluster nodes. May be required by some tests from the e2e plugin. --ssh-user envModifier SSH user for ssh-key. Required if running e2e plugin with certain tests that require SSH access to nodes. --systemd-logs-image image Container image override for the systemd-logs plugin. Shorthand for --plugin-image=systemd-logs: (default map[]) @@ -62,8 +58,4 @@ sonobuoy wait [flags] * [sonobuoy](sonobuoy.md) - Generate reports on your Kubernetes cluster by running plugins -<<<<<<< HEAD -###### Auto generated by spf13/cobra on 2-Mar-2023 -======= ###### Auto generated by spf13/cobra on 15-Jun-2023 ->>>>>>> 2846f353 (Add docs for v0.56.17) From 9d8851fc6380aed140b0b00c2787c19493c09ded Mon Sep 17 00:00:00 2001 From: Peter Grant Date: Wed, 13 Sep 2023 11:31:43 +1000 Subject: [PATCH 4/4] use correct file suffix in documentation --- site/content/docs/main/pullsecrets.md | 2 +- site/content/docs/v0.19.0/pullsecrets.md | 2 +- site/content/docs/v0.20.0/pullsecrets.md | 2 +- site/content/docs/v0.50.0/pullsecrets.md | 2 +- site/content/docs/v0.51.0/pullsecrets.md | 2 +- site/content/docs/v0.52.0/pullsecrets.md | 2 +- site/content/docs/v0.53.0/pullsecrets.md | 2 +- site/content/docs/v0.53.1/pullsecrets.md | 2 +- site/content/docs/v0.53.2/pullsecrets.md | 2 +- site/content/docs/v0.54.0/pullsecrets.md | 2 +- site/content/docs/v0.55.0/pullsecrets.md | 2 +- site/content/docs/v0.55.1/pullsecrets.md | 2 +- site/content/docs/v0.56.0/pullsecrets.md | 2 +- site/content/docs/v0.56.1/pullsecrets.md | 2 +- site/content/docs/v0.56.10/pullsecrets.md | 2 +- site/content/docs/v0.56.11/pullsecrets.md | 2 +- site/content/docs/v0.56.12/pullsecrets.md | 2 +- site/content/docs/v0.56.13/pullsecrets.md | 2 +- site/content/docs/v0.56.14/pullsecrets.md | 2 +- site/content/docs/v0.56.15/pullsecrets.md | 2 +- site/content/docs/v0.56.16/pullsecrets.md | 2 +- site/content/docs/v0.56.17/pullsecrets.md | 2 +- site/content/docs/v0.56.2/pullsecrets.md | 2 +- site/content/docs/v0.56.3/pullsecrets.md | 2 +- site/content/docs/v0.56.4/pullsecrets.md | 2 +- site/content/docs/v0.56.5/pullsecrets.md | 2 +- site/content/docs/v0.56.6/pullsecrets.md | 2 +- site/content/docs/v0.56.7/pullsecrets.md | 2 +- site/content/docs/v0.56.8/pullsecrets.md | 2 +- site/content/docs/v0.56.9/pullsecrets.md | 2 +- 30 files changed, 30 insertions(+), 30 deletions(-) diff --git a/site/content/docs/main/pullsecrets.md b/site/content/docs/main/pullsecrets.md index 1659d00a9..5a570e44e 100644 --- a/site/content/docs/main/pullsecrets.md +++ b/site/content/docs/main/pullsecrets.md @@ -27,7 +27,7 @@ As an example of how to create the secret you can follow the instructions [here] Then get a copy of its YAML via: ``` -kubectl get secret -o yaml > secret.json +kubectl get secret -o yaml > secret.yaml ``` Manually edit the file and remove/adjust the metadata as appropriate. The namespace should be adjusted to your desired Sonobuoy namespace (default: sonobuoy) and the following fields can be removed: diff --git a/site/content/docs/v0.19.0/pullsecrets.md b/site/content/docs/v0.19.0/pullsecrets.md index 40b4b64da..e5b667968 100644 --- a/site/content/docs/v0.19.0/pullsecrets.md +++ b/site/content/docs/v0.19.0/pullsecrets.md @@ -27,7 +27,7 @@ As an example of how to create the secret you can follow the instructions [here] Then use copy most of its YAML via: ``` -kubectl get secret -o yaml > secret.json +kubectl get secret -o yaml > secret.yaml ``` Manually edit the file and remove/adjust the metadata as appropriate. The namespace should be adjusted to your desired Sonobuoy namespace (default: heptio-sonobuoy) and the following fields can be removed: diff --git a/site/content/docs/v0.20.0/pullsecrets.md b/site/content/docs/v0.20.0/pullsecrets.md index 40b4b64da..e5b667968 100644 --- a/site/content/docs/v0.20.0/pullsecrets.md +++ b/site/content/docs/v0.20.0/pullsecrets.md @@ -27,7 +27,7 @@ As an example of how to create the secret you can follow the instructions [here] Then use copy most of its YAML via: ``` -kubectl get secret -o yaml > secret.json +kubectl get secret -o yaml > secret.yaml ``` Manually edit the file and remove/adjust the metadata as appropriate. The namespace should be adjusted to your desired Sonobuoy namespace (default: heptio-sonobuoy) and the following fields can be removed: diff --git a/site/content/docs/v0.50.0/pullsecrets.md b/site/content/docs/v0.50.0/pullsecrets.md index 40b4b64da..e5b667968 100644 --- a/site/content/docs/v0.50.0/pullsecrets.md +++ b/site/content/docs/v0.50.0/pullsecrets.md @@ -27,7 +27,7 @@ As an example of how to create the secret you can follow the instructions [here] Then use copy most of its YAML via: ``` -kubectl get secret -o yaml > secret.json +kubectl get secret -o yaml > secret.yaml ``` Manually edit the file and remove/adjust the metadata as appropriate. The namespace should be adjusted to your desired Sonobuoy namespace (default: heptio-sonobuoy) and the following fields can be removed: diff --git a/site/content/docs/v0.51.0/pullsecrets.md b/site/content/docs/v0.51.0/pullsecrets.md index 40b4b64da..e5b667968 100644 --- a/site/content/docs/v0.51.0/pullsecrets.md +++ b/site/content/docs/v0.51.0/pullsecrets.md @@ -27,7 +27,7 @@ As an example of how to create the secret you can follow the instructions [here] Then use copy most of its YAML via: ``` -kubectl get secret -o yaml > secret.json +kubectl get secret -o yaml > secret.yaml ``` Manually edit the file and remove/adjust the metadata as appropriate. The namespace should be adjusted to your desired Sonobuoy namespace (default: heptio-sonobuoy) and the following fields can be removed: diff --git a/site/content/docs/v0.52.0/pullsecrets.md b/site/content/docs/v0.52.0/pullsecrets.md index 40b4b64da..e5b667968 100644 --- a/site/content/docs/v0.52.0/pullsecrets.md +++ b/site/content/docs/v0.52.0/pullsecrets.md @@ -27,7 +27,7 @@ As an example of how to create the secret you can follow the instructions [here] Then use copy most of its YAML via: ``` -kubectl get secret -o yaml > secret.json +kubectl get secret -o yaml > secret.yaml ``` Manually edit the file and remove/adjust the metadata as appropriate. The namespace should be adjusted to your desired Sonobuoy namespace (default: heptio-sonobuoy) and the following fields can be removed: diff --git a/site/content/docs/v0.53.0/pullsecrets.md b/site/content/docs/v0.53.0/pullsecrets.md index 1659d00a9..5a570e44e 100644 --- a/site/content/docs/v0.53.0/pullsecrets.md +++ b/site/content/docs/v0.53.0/pullsecrets.md @@ -27,7 +27,7 @@ As an example of how to create the secret you can follow the instructions [here] Then get a copy of its YAML via: ``` -kubectl get secret -o yaml > secret.json +kubectl get secret -o yaml > secret.yaml ``` Manually edit the file and remove/adjust the metadata as appropriate. The namespace should be adjusted to your desired Sonobuoy namespace (default: sonobuoy) and the following fields can be removed: diff --git a/site/content/docs/v0.53.1/pullsecrets.md b/site/content/docs/v0.53.1/pullsecrets.md index 1659d00a9..5a570e44e 100644 --- a/site/content/docs/v0.53.1/pullsecrets.md +++ b/site/content/docs/v0.53.1/pullsecrets.md @@ -27,7 +27,7 @@ As an example of how to create the secret you can follow the instructions [here] Then get a copy of its YAML via: ``` -kubectl get secret -o yaml > secret.json +kubectl get secret -o yaml > secret.yaml ``` Manually edit the file and remove/adjust the metadata as appropriate. The namespace should be adjusted to your desired Sonobuoy namespace (default: sonobuoy) and the following fields can be removed: diff --git a/site/content/docs/v0.53.2/pullsecrets.md b/site/content/docs/v0.53.2/pullsecrets.md index 1659d00a9..5a570e44e 100644 --- a/site/content/docs/v0.53.2/pullsecrets.md +++ b/site/content/docs/v0.53.2/pullsecrets.md @@ -27,7 +27,7 @@ As an example of how to create the secret you can follow the instructions [here] Then get a copy of its YAML via: ``` -kubectl get secret -o yaml > secret.json +kubectl get secret -o yaml > secret.yaml ``` Manually edit the file and remove/adjust the metadata as appropriate. The namespace should be adjusted to your desired Sonobuoy namespace (default: sonobuoy) and the following fields can be removed: diff --git a/site/content/docs/v0.54.0/pullsecrets.md b/site/content/docs/v0.54.0/pullsecrets.md index 1659d00a9..5a570e44e 100644 --- a/site/content/docs/v0.54.0/pullsecrets.md +++ b/site/content/docs/v0.54.0/pullsecrets.md @@ -27,7 +27,7 @@ As an example of how to create the secret you can follow the instructions [here] Then get a copy of its YAML via: ``` -kubectl get secret -o yaml > secret.json +kubectl get secret -o yaml > secret.yaml ``` Manually edit the file and remove/adjust the metadata as appropriate. The namespace should be adjusted to your desired Sonobuoy namespace (default: sonobuoy) and the following fields can be removed: diff --git a/site/content/docs/v0.55.0/pullsecrets.md b/site/content/docs/v0.55.0/pullsecrets.md index 1659d00a9..5a570e44e 100644 --- a/site/content/docs/v0.55.0/pullsecrets.md +++ b/site/content/docs/v0.55.0/pullsecrets.md @@ -27,7 +27,7 @@ As an example of how to create the secret you can follow the instructions [here] Then get a copy of its YAML via: ``` -kubectl get secret -o yaml > secret.json +kubectl get secret -o yaml > secret.yaml ``` Manually edit the file and remove/adjust the metadata as appropriate. The namespace should be adjusted to your desired Sonobuoy namespace (default: sonobuoy) and the following fields can be removed: diff --git a/site/content/docs/v0.55.1/pullsecrets.md b/site/content/docs/v0.55.1/pullsecrets.md index 1659d00a9..5a570e44e 100644 --- a/site/content/docs/v0.55.1/pullsecrets.md +++ b/site/content/docs/v0.55.1/pullsecrets.md @@ -27,7 +27,7 @@ As an example of how to create the secret you can follow the instructions [here] Then get a copy of its YAML via: ``` -kubectl get secret -o yaml > secret.json +kubectl get secret -o yaml > secret.yaml ``` Manually edit the file and remove/adjust the metadata as appropriate. The namespace should be adjusted to your desired Sonobuoy namespace (default: sonobuoy) and the following fields can be removed: diff --git a/site/content/docs/v0.56.0/pullsecrets.md b/site/content/docs/v0.56.0/pullsecrets.md index 1659d00a9..5a570e44e 100644 --- a/site/content/docs/v0.56.0/pullsecrets.md +++ b/site/content/docs/v0.56.0/pullsecrets.md @@ -27,7 +27,7 @@ As an example of how to create the secret you can follow the instructions [here] Then get a copy of its YAML via: ``` -kubectl get secret -o yaml > secret.json +kubectl get secret -o yaml > secret.yaml ``` Manually edit the file and remove/adjust the metadata as appropriate. The namespace should be adjusted to your desired Sonobuoy namespace (default: sonobuoy) and the following fields can be removed: diff --git a/site/content/docs/v0.56.1/pullsecrets.md b/site/content/docs/v0.56.1/pullsecrets.md index 1659d00a9..5a570e44e 100644 --- a/site/content/docs/v0.56.1/pullsecrets.md +++ b/site/content/docs/v0.56.1/pullsecrets.md @@ -27,7 +27,7 @@ As an example of how to create the secret you can follow the instructions [here] Then get a copy of its YAML via: ``` -kubectl get secret -o yaml > secret.json +kubectl get secret -o yaml > secret.yaml ``` Manually edit the file and remove/adjust the metadata as appropriate. The namespace should be adjusted to your desired Sonobuoy namespace (default: sonobuoy) and the following fields can be removed: diff --git a/site/content/docs/v0.56.10/pullsecrets.md b/site/content/docs/v0.56.10/pullsecrets.md index 1659d00a9..5a570e44e 100644 --- a/site/content/docs/v0.56.10/pullsecrets.md +++ b/site/content/docs/v0.56.10/pullsecrets.md @@ -27,7 +27,7 @@ As an example of how to create the secret you can follow the instructions [here] Then get a copy of its YAML via: ``` -kubectl get secret -o yaml > secret.json +kubectl get secret -o yaml > secret.yaml ``` Manually edit the file and remove/adjust the metadata as appropriate. The namespace should be adjusted to your desired Sonobuoy namespace (default: sonobuoy) and the following fields can be removed: diff --git a/site/content/docs/v0.56.11/pullsecrets.md b/site/content/docs/v0.56.11/pullsecrets.md index 1659d00a9..5a570e44e 100644 --- a/site/content/docs/v0.56.11/pullsecrets.md +++ b/site/content/docs/v0.56.11/pullsecrets.md @@ -27,7 +27,7 @@ As an example of how to create the secret you can follow the instructions [here] Then get a copy of its YAML via: ``` -kubectl get secret -o yaml > secret.json +kubectl get secret -o yaml > secret.yaml ``` Manually edit the file and remove/adjust the metadata as appropriate. The namespace should be adjusted to your desired Sonobuoy namespace (default: sonobuoy) and the following fields can be removed: diff --git a/site/content/docs/v0.56.12/pullsecrets.md b/site/content/docs/v0.56.12/pullsecrets.md index 1659d00a9..5a570e44e 100644 --- a/site/content/docs/v0.56.12/pullsecrets.md +++ b/site/content/docs/v0.56.12/pullsecrets.md @@ -27,7 +27,7 @@ As an example of how to create the secret you can follow the instructions [here] Then get a copy of its YAML via: ``` -kubectl get secret -o yaml > secret.json +kubectl get secret -o yaml > secret.yaml ``` Manually edit the file and remove/adjust the metadata as appropriate. The namespace should be adjusted to your desired Sonobuoy namespace (default: sonobuoy) and the following fields can be removed: diff --git a/site/content/docs/v0.56.13/pullsecrets.md b/site/content/docs/v0.56.13/pullsecrets.md index 1659d00a9..5a570e44e 100644 --- a/site/content/docs/v0.56.13/pullsecrets.md +++ b/site/content/docs/v0.56.13/pullsecrets.md @@ -27,7 +27,7 @@ As an example of how to create the secret you can follow the instructions [here] Then get a copy of its YAML via: ``` -kubectl get secret -o yaml > secret.json +kubectl get secret -o yaml > secret.yaml ``` Manually edit the file and remove/adjust the metadata as appropriate. The namespace should be adjusted to your desired Sonobuoy namespace (default: sonobuoy) and the following fields can be removed: diff --git a/site/content/docs/v0.56.14/pullsecrets.md b/site/content/docs/v0.56.14/pullsecrets.md index 1659d00a9..5a570e44e 100644 --- a/site/content/docs/v0.56.14/pullsecrets.md +++ b/site/content/docs/v0.56.14/pullsecrets.md @@ -27,7 +27,7 @@ As an example of how to create the secret you can follow the instructions [here] Then get a copy of its YAML via: ``` -kubectl get secret -o yaml > secret.json +kubectl get secret -o yaml > secret.yaml ``` Manually edit the file and remove/adjust the metadata as appropriate. The namespace should be adjusted to your desired Sonobuoy namespace (default: sonobuoy) and the following fields can be removed: diff --git a/site/content/docs/v0.56.15/pullsecrets.md b/site/content/docs/v0.56.15/pullsecrets.md index 1659d00a9..5a570e44e 100644 --- a/site/content/docs/v0.56.15/pullsecrets.md +++ b/site/content/docs/v0.56.15/pullsecrets.md @@ -27,7 +27,7 @@ As an example of how to create the secret you can follow the instructions [here] Then get a copy of its YAML via: ``` -kubectl get secret -o yaml > secret.json +kubectl get secret -o yaml > secret.yaml ``` Manually edit the file and remove/adjust the metadata as appropriate. The namespace should be adjusted to your desired Sonobuoy namespace (default: sonobuoy) and the following fields can be removed: diff --git a/site/content/docs/v0.56.16/pullsecrets.md b/site/content/docs/v0.56.16/pullsecrets.md index 1659d00a9..5a570e44e 100644 --- a/site/content/docs/v0.56.16/pullsecrets.md +++ b/site/content/docs/v0.56.16/pullsecrets.md @@ -27,7 +27,7 @@ As an example of how to create the secret you can follow the instructions [here] Then get a copy of its YAML via: ``` -kubectl get secret -o yaml > secret.json +kubectl get secret -o yaml > secret.yaml ``` Manually edit the file and remove/adjust the metadata as appropriate. The namespace should be adjusted to your desired Sonobuoy namespace (default: sonobuoy) and the following fields can be removed: diff --git a/site/content/docs/v0.56.17/pullsecrets.md b/site/content/docs/v0.56.17/pullsecrets.md index 1659d00a9..5a570e44e 100644 --- a/site/content/docs/v0.56.17/pullsecrets.md +++ b/site/content/docs/v0.56.17/pullsecrets.md @@ -27,7 +27,7 @@ As an example of how to create the secret you can follow the instructions [here] Then get a copy of its YAML via: ``` -kubectl get secret -o yaml > secret.json +kubectl get secret -o yaml > secret.yaml ``` Manually edit the file and remove/adjust the metadata as appropriate. The namespace should be adjusted to your desired Sonobuoy namespace (default: sonobuoy) and the following fields can be removed: diff --git a/site/content/docs/v0.56.2/pullsecrets.md b/site/content/docs/v0.56.2/pullsecrets.md index 1659d00a9..5a570e44e 100644 --- a/site/content/docs/v0.56.2/pullsecrets.md +++ b/site/content/docs/v0.56.2/pullsecrets.md @@ -27,7 +27,7 @@ As an example of how to create the secret you can follow the instructions [here] Then get a copy of its YAML via: ``` -kubectl get secret -o yaml > secret.json +kubectl get secret -o yaml > secret.yaml ``` Manually edit the file and remove/adjust the metadata as appropriate. The namespace should be adjusted to your desired Sonobuoy namespace (default: sonobuoy) and the following fields can be removed: diff --git a/site/content/docs/v0.56.3/pullsecrets.md b/site/content/docs/v0.56.3/pullsecrets.md index 1659d00a9..5a570e44e 100644 --- a/site/content/docs/v0.56.3/pullsecrets.md +++ b/site/content/docs/v0.56.3/pullsecrets.md @@ -27,7 +27,7 @@ As an example of how to create the secret you can follow the instructions [here] Then get a copy of its YAML via: ``` -kubectl get secret -o yaml > secret.json +kubectl get secret -o yaml > secret.yaml ``` Manually edit the file and remove/adjust the metadata as appropriate. The namespace should be adjusted to your desired Sonobuoy namespace (default: sonobuoy) and the following fields can be removed: diff --git a/site/content/docs/v0.56.4/pullsecrets.md b/site/content/docs/v0.56.4/pullsecrets.md index 1659d00a9..5a570e44e 100644 --- a/site/content/docs/v0.56.4/pullsecrets.md +++ b/site/content/docs/v0.56.4/pullsecrets.md @@ -27,7 +27,7 @@ As an example of how to create the secret you can follow the instructions [here] Then get a copy of its YAML via: ``` -kubectl get secret -o yaml > secret.json +kubectl get secret -o yaml > secret.yaml ``` Manually edit the file and remove/adjust the metadata as appropriate. The namespace should be adjusted to your desired Sonobuoy namespace (default: sonobuoy) and the following fields can be removed: diff --git a/site/content/docs/v0.56.5/pullsecrets.md b/site/content/docs/v0.56.5/pullsecrets.md index 1659d00a9..5a570e44e 100644 --- a/site/content/docs/v0.56.5/pullsecrets.md +++ b/site/content/docs/v0.56.5/pullsecrets.md @@ -27,7 +27,7 @@ As an example of how to create the secret you can follow the instructions [here] Then get a copy of its YAML via: ``` -kubectl get secret -o yaml > secret.json +kubectl get secret -o yaml > secret.yaml ``` Manually edit the file and remove/adjust the metadata as appropriate. The namespace should be adjusted to your desired Sonobuoy namespace (default: sonobuoy) and the following fields can be removed: diff --git a/site/content/docs/v0.56.6/pullsecrets.md b/site/content/docs/v0.56.6/pullsecrets.md index 1659d00a9..5a570e44e 100644 --- a/site/content/docs/v0.56.6/pullsecrets.md +++ b/site/content/docs/v0.56.6/pullsecrets.md @@ -27,7 +27,7 @@ As an example of how to create the secret you can follow the instructions [here] Then get a copy of its YAML via: ``` -kubectl get secret -o yaml > secret.json +kubectl get secret -o yaml > secret.yaml ``` Manually edit the file and remove/adjust the metadata as appropriate. The namespace should be adjusted to your desired Sonobuoy namespace (default: sonobuoy) and the following fields can be removed: diff --git a/site/content/docs/v0.56.7/pullsecrets.md b/site/content/docs/v0.56.7/pullsecrets.md index 1659d00a9..5a570e44e 100644 --- a/site/content/docs/v0.56.7/pullsecrets.md +++ b/site/content/docs/v0.56.7/pullsecrets.md @@ -27,7 +27,7 @@ As an example of how to create the secret you can follow the instructions [here] Then get a copy of its YAML via: ``` -kubectl get secret -o yaml > secret.json +kubectl get secret -o yaml > secret.yaml ``` Manually edit the file and remove/adjust the metadata as appropriate. The namespace should be adjusted to your desired Sonobuoy namespace (default: sonobuoy) and the following fields can be removed: diff --git a/site/content/docs/v0.56.8/pullsecrets.md b/site/content/docs/v0.56.8/pullsecrets.md index 1659d00a9..5a570e44e 100644 --- a/site/content/docs/v0.56.8/pullsecrets.md +++ b/site/content/docs/v0.56.8/pullsecrets.md @@ -27,7 +27,7 @@ As an example of how to create the secret you can follow the instructions [here] Then get a copy of its YAML via: ``` -kubectl get secret -o yaml > secret.json +kubectl get secret -o yaml > secret.yaml ``` Manually edit the file and remove/adjust the metadata as appropriate. The namespace should be adjusted to your desired Sonobuoy namespace (default: sonobuoy) and the following fields can be removed: diff --git a/site/content/docs/v0.56.9/pullsecrets.md b/site/content/docs/v0.56.9/pullsecrets.md index 1659d00a9..5a570e44e 100644 --- a/site/content/docs/v0.56.9/pullsecrets.md +++ b/site/content/docs/v0.56.9/pullsecrets.md @@ -27,7 +27,7 @@ As an example of how to create the secret you can follow the instructions [here] Then get a copy of its YAML via: ``` -kubectl get secret -o yaml > secret.json +kubectl get secret -o yaml > secret.yaml ``` Manually edit the file and remove/adjust the metadata as appropriate. The namespace should be adjusted to your desired Sonobuoy namespace (default: sonobuoy) and the following fields can be removed: