diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 96892890a62..dfb676ca3e8 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -50,3 +50,13 @@ jobs: token: ${{ secrets.GITHUB_TOKEN }} labels: kind/bug body: https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }} + + yamllint: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + - name: yaml-lint + uses: ibiqlik/action-yamllint@v3 + with: + file_or_dir: testdata + config_data: "{extends: relaxed, rules: {line-length: {max: 120}}}" \ No newline at end of file diff --git a/pkg/plugins/common/kustomize/v1/scaffolds/internal/templates/config/certmanager/kustomizeconfig.go b/pkg/plugins/common/kustomize/v1/scaffolds/internal/templates/config/certmanager/kustomizeconfig.go index 02bda5e7341..c89e1f9a585 100644 --- a/pkg/plugins/common/kustomize/v1/scaffolds/internal/templates/config/certmanager/kustomizeconfig.go +++ b/pkg/plugins/common/kustomize/v1/scaffolds/internal/templates/config/certmanager/kustomizeconfig.go @@ -44,7 +44,7 @@ func (f *KustomizeConfig) SetTemplateDefaults() error { } //nolint:lll -const kustomizeConfigTemplate = `# This configuration is for teaching kustomize how to update name ref and var substitution +const kustomizeConfigTemplate = `# This configuration is for teaching kustomize how to update name ref and var substitution nameReference: - kind: Issuer group: cert-manager.io diff --git a/pkg/plugins/common/kustomize/v1/scaffolds/internal/templates/config/manager/config.go b/pkg/plugins/common/kustomize/v1/scaffolds/internal/templates/config/manager/config.go index 367d894862b..0a471835d65 100644 --- a/pkg/plugins/common/kustomize/v1/scaffolds/internal/templates/config/manager/config.go +++ b/pkg/plugins/common/kustomize/v1/scaffolds/internal/templates/config/manager/config.go @@ -84,7 +84,7 @@ spec: control-plane: controller-manager spec: # TODO(user): Uncomment the following code to configure the nodeAffinity expression - # according to the platforms which are supported by your solution. + # according to the platforms which are supported by your solution. # It is considered best practice to support multiple architectures. You can # build your manager image using the makefile target docker-buildx. # affinity: diff --git a/pkg/plugins/common/kustomize/v2-alpha/scaffolds/internal/templates/config/certmanager/kustomizeconfig.go b/pkg/plugins/common/kustomize/v2-alpha/scaffolds/internal/templates/config/certmanager/kustomizeconfig.go index 7e62db118cb..981fe79c2e5 100644 --- a/pkg/plugins/common/kustomize/v2-alpha/scaffolds/internal/templates/config/certmanager/kustomizeconfig.go +++ b/pkg/plugins/common/kustomize/v2-alpha/scaffolds/internal/templates/config/certmanager/kustomizeconfig.go @@ -44,7 +44,7 @@ func (f *KustomizeConfig) SetTemplateDefaults() error { } //nolint:lll -const kustomizeConfigTemplate = `# This configuration is for teaching kustomize how to update name ref substitution +const kustomizeConfigTemplate = `# This configuration is for teaching kustomize how to update name ref substitution nameReference: - kind: Issuer group: cert-manager.io diff --git a/pkg/plugins/common/kustomize/v2-alpha/scaffolds/internal/templates/config/manager/config.go b/pkg/plugins/common/kustomize/v2-alpha/scaffolds/internal/templates/config/manager/config.go index 367d894862b..0a471835d65 100644 --- a/pkg/plugins/common/kustomize/v2-alpha/scaffolds/internal/templates/config/manager/config.go +++ b/pkg/plugins/common/kustomize/v2-alpha/scaffolds/internal/templates/config/manager/config.go @@ -84,7 +84,7 @@ spec: control-plane: controller-manager spec: # TODO(user): Uncomment the following code to configure the nodeAffinity expression - # according to the platforms which are supported by your solution. + # according to the platforms which are supported by your solution. # It is considered best practice to support multiple architectures. You can # build your manager image using the makefile target docker-buildx. # affinity: diff --git a/pkg/plugins/golang/deploy-image/v1alpha1/scaffolds/api.go b/pkg/plugins/golang/deploy-image/v1alpha1/scaffolds/api.go index 882c079ffac..4cf25cf4864 100644 --- a/pkg/plugins/golang/deploy-image/v1alpha1/scaffolds/api.go +++ b/pkg/plugins/golang/deploy-image/v1alpha1/scaffolds/api.go @@ -327,5 +327,5 @@ const recorderTemplate = ` Recorder: mgr.GetEventRecorderFor("%s-controller"),` const envVarTemplate = ` - - name: %s_IMAGE + - name: %s_IMAGE value: %s` diff --git a/pkg/plugins/golang/deploy-image/v1alpha1/scaffolds/internal/templates/config/samples/crd_sample.go b/pkg/plugins/golang/deploy-image/v1alpha1/scaffolds/internal/templates/config/samples/crd_sample.go index 785248139d9..dbd94dab91c 100644 --- a/pkg/plugins/golang/deploy-image/v1alpha1/scaffolds/internal/templates/config/samples/crd_sample.go +++ b/pkg/plugins/golang/deploy-image/v1alpha1/scaffolds/internal/templates/config/samples/crd_sample.go @@ -49,12 +49,11 @@ kind: {{ .Resource.Kind }} metadata: name: {{ lower .Resource.Kind }}-sample spec: - # TODO(user): edit the following value to ensure the number - # of Pods/Instances your Operand must have on cluster + # TODO(user): edit the following value to ensure the number + # of Pods/Instances your Operand must have on cluster size: 1 - - {{ if not (isEmptyStr .Port) -}} +{{ if not (isEmptyStr .Port) -}} # TODO(user): edit the following value to ensure the container has the right port to be initialized - containerPort: {{ .Port }} - {{- end }} + containerPort: {{ .Port }} +{{- end }} ` diff --git a/pkg/plugins/golang/v2/scaffolds/internal/templates/config/certmanager/certificate.go b/pkg/plugins/golang/v2/scaffolds/internal/templates/config/certmanager/certificate.go index 4d17b8dff60..0fd4bffa433 100644 --- a/pkg/plugins/golang/v2/scaffolds/internal/templates/config/certmanager/certificate.go +++ b/pkg/plugins/golang/v2/scaffolds/internal/templates/config/certmanager/certificate.go @@ -42,7 +42,7 @@ func (f *Certificate) SetTemplateDefaults() error { const certManagerTemplate = `# The following manifests contain a self-signed issuer CR and a certificate CR. # More document can be found at https://docs.cert-manager.io -# WARNING: Targets CertManager 0.11 check https://docs.cert-manager.io/en/latest/tasks/upgrading/index.html for +# WARNING: Targets CertManager 0.11 check https://docs.cert-manager.io/en/latest/tasks/upgrading/index.html for # breaking changes apiVersion: cert-manager.io/v1alpha2 kind: Issuer diff --git a/pkg/plugins/golang/v2/scaffolds/internal/templates/config/certmanager/kustomizeconfig.go b/pkg/plugins/golang/v2/scaffolds/internal/templates/config/certmanager/kustomizeconfig.go index e7dbcf8986d..a67b834e9c4 100644 --- a/pkg/plugins/golang/v2/scaffolds/internal/templates/config/certmanager/kustomizeconfig.go +++ b/pkg/plugins/golang/v2/scaffolds/internal/templates/config/certmanager/kustomizeconfig.go @@ -41,7 +41,7 @@ func (f *KustomizeConfig) SetTemplateDefaults() error { } //nolint:lll -const kustomizeConfigTemplate = `# This configuration is for teaching kustomize how to update name ref and var substitution +const kustomizeConfigTemplate = `# This configuration is for teaching kustomize how to update name ref and var substitution nameReference: - kind: Issuer group: cert-manager.io diff --git a/pkg/plugins/golang/v2/scaffolds/internal/templates/config/kdefault/manager_auth_proxy_patch.go b/pkg/plugins/golang/v2/scaffolds/internal/templates/config/kdefault/manager_auth_proxy_patch.go index 25ce44b1282..e22d30f4f0f 100644 --- a/pkg/plugins/golang/v2/scaffolds/internal/templates/config/kdefault/manager_auth_proxy_patch.go +++ b/pkg/plugins/golang/v2/scaffolds/internal/templates/config/kdefault/manager_auth_proxy_patch.go @@ -42,7 +42,7 @@ func (f *ManagerAuthProxyPatch) SetTemplateDefaults() error { return nil } -const kustomizeAuthProxyPatchTemplate = `# This patch inject a sidecar container which is a HTTP proxy for the +const kustomizeAuthProxyPatchTemplate = `# This patch inject a sidecar container which is a HTTP proxy for the # controller manager, it performs RBAC authorization against the Kubernetes API using SubjectAccessReviews. apiVersion: apps/v1 kind: Deployment diff --git a/testdata/project-v2/config/certmanager/certificate.yaml b/testdata/project-v2/config/certmanager/certificate.yaml index 58db114fa05..3d46cff8847 100644 --- a/testdata/project-v2/config/certmanager/certificate.yaml +++ b/testdata/project-v2/config/certmanager/certificate.yaml @@ -1,6 +1,6 @@ # The following manifests contain a self-signed issuer CR and a certificate CR. # More document can be found at https://docs.cert-manager.io -# WARNING: Targets CertManager 0.11 check https://docs.cert-manager.io/en/latest/tasks/upgrading/index.html for +# WARNING: Targets CertManager 0.11 check https://docs.cert-manager.io/en/latest/tasks/upgrading/index.html for # breaking changes apiVersion: cert-manager.io/v1alpha2 kind: Issuer diff --git a/testdata/project-v2/config/certmanager/kustomizeconfig.yaml b/testdata/project-v2/config/certmanager/kustomizeconfig.yaml index 90d7c313ca1..e631f777366 100644 --- a/testdata/project-v2/config/certmanager/kustomizeconfig.yaml +++ b/testdata/project-v2/config/certmanager/kustomizeconfig.yaml @@ -1,4 +1,4 @@ -# This configuration is for teaching kustomize how to update name ref and var substitution +# This configuration is for teaching kustomize how to update name ref and var substitution nameReference: - kind: Issuer group: cert-manager.io diff --git a/testdata/project-v2/config/default/manager_auth_proxy_patch.yaml b/testdata/project-v2/config/default/manager_auth_proxy_patch.yaml index 17bd7f46f7d..9fd57e777a0 100644 --- a/testdata/project-v2/config/default/manager_auth_proxy_patch.yaml +++ b/testdata/project-v2/config/default/manager_auth_proxy_patch.yaml @@ -1,4 +1,4 @@ -# This patch inject a sidecar container which is a HTTP proxy for the +# This patch inject a sidecar container which is a HTTP proxy for the # controller manager, it performs RBAC authorization against the Kubernetes API using SubjectAccessReviews. apiVersion: apps/v1 kind: Deployment diff --git a/testdata/project-v3-config/config/certmanager/kustomizeconfig.yaml b/testdata/project-v3-config/config/certmanager/kustomizeconfig.yaml index 90d7c313ca1..e631f777366 100644 --- a/testdata/project-v3-config/config/certmanager/kustomizeconfig.yaml +++ b/testdata/project-v3-config/config/certmanager/kustomizeconfig.yaml @@ -1,4 +1,4 @@ -# This configuration is for teaching kustomize how to update name ref and var substitution +# This configuration is for teaching kustomize how to update name ref and var substitution nameReference: - kind: Issuer group: cert-manager.io diff --git a/testdata/project-v3-config/config/manager/manager.yaml b/testdata/project-v3-config/config/manager/manager.yaml index 8531209ae4c..91d432ce90b 100644 --- a/testdata/project-v3-config/config/manager/manager.yaml +++ b/testdata/project-v3-config/config/manager/manager.yaml @@ -37,7 +37,7 @@ spec: control-plane: controller-manager spec: # TODO(user): Uncomment the following code to configure the nodeAffinity expression - # according to the platforms which are supported by your solution. + # according to the platforms which are supported by your solution. # It is considered best practice to support multiple architectures. You can # build your manager image using the makefile target docker-buildx. # affinity: diff --git a/testdata/project-v3-multigroup/config/certmanager/kustomizeconfig.yaml b/testdata/project-v3-multigroup/config/certmanager/kustomizeconfig.yaml index 90d7c313ca1..e631f777366 100644 --- a/testdata/project-v3-multigroup/config/certmanager/kustomizeconfig.yaml +++ b/testdata/project-v3-multigroup/config/certmanager/kustomizeconfig.yaml @@ -1,4 +1,4 @@ -# This configuration is for teaching kustomize how to update name ref and var substitution +# This configuration is for teaching kustomize how to update name ref and var substitution nameReference: - kind: Issuer group: cert-manager.io diff --git a/testdata/project-v3-multigroup/config/manager/manager.yaml b/testdata/project-v3-multigroup/config/manager/manager.yaml index 7bb3f65a0b3..3a7afa81f8b 100644 --- a/testdata/project-v3-multigroup/config/manager/manager.yaml +++ b/testdata/project-v3-multigroup/config/manager/manager.yaml @@ -37,7 +37,7 @@ spec: control-plane: controller-manager spec: # TODO(user): Uncomment the following code to configure the nodeAffinity expression - # according to the platforms which are supported by your solution. + # according to the platforms which are supported by your solution. # It is considered best practice to support multiple architectures. You can # build your manager image using the makefile target docker-buildx. # affinity: diff --git a/testdata/project-v3-with-deploy-image/config/certmanager/kustomizeconfig.yaml b/testdata/project-v3-with-deploy-image/config/certmanager/kustomizeconfig.yaml index 90d7c313ca1..e631f777366 100644 --- a/testdata/project-v3-with-deploy-image/config/certmanager/kustomizeconfig.yaml +++ b/testdata/project-v3-with-deploy-image/config/certmanager/kustomizeconfig.yaml @@ -1,4 +1,4 @@ -# This configuration is for teaching kustomize how to update name ref and var substitution +# This configuration is for teaching kustomize how to update name ref and var substitution nameReference: - kind: Issuer group: cert-manager.io diff --git a/testdata/project-v3-with-deploy-image/config/manager/manager.yaml b/testdata/project-v3-with-deploy-image/config/manager/manager.yaml index 485fb40a81a..ccea46f6b4d 100644 --- a/testdata/project-v3-with-deploy-image/config/manager/manager.yaml +++ b/testdata/project-v3-with-deploy-image/config/manager/manager.yaml @@ -37,7 +37,7 @@ spec: control-plane: controller-manager spec: # TODO(user): Uncomment the following code to configure the nodeAffinity expression - # according to the platforms which are supported by your solution. + # according to the platforms which are supported by your solution. # It is considered best practice to support multiple architectures. You can # build your manager image using the makefile target docker-buildx. # affinity: @@ -73,9 +73,9 @@ spec: image: controller:latest name: manager env: - - name: BUSYBOX_IMAGE + - name: BUSYBOX_IMAGE value: busybox:1.28 - - name: MEMCACHED_IMAGE + - name: MEMCACHED_IMAGE value: memcached:1.4.36-alpine securityContext: allowPrivilegeEscalation: false diff --git a/testdata/project-v3-with-deploy-image/config/samples/example.com_v1alpha1_busybox.yaml b/testdata/project-v3-with-deploy-image/config/samples/example.com_v1alpha1_busybox.yaml index 9f38475085b..e5ba7642dd1 100644 --- a/testdata/project-v3-with-deploy-image/config/samples/example.com_v1alpha1_busybox.yaml +++ b/testdata/project-v3-with-deploy-image/config/samples/example.com_v1alpha1_busybox.yaml @@ -3,8 +3,7 @@ kind: Busybox metadata: name: busybox-sample spec: - # TODO(user): edit the following value to ensure the number - # of Pods/Instances your Operand must have on cluster + # TODO(user): edit the following value to ensure the number + # of Pods/Instances your Operand must have on cluster size: 1 - diff --git a/testdata/project-v3-with-deploy-image/config/samples/example.com_v1alpha1_memcached.yaml b/testdata/project-v3-with-deploy-image/config/samples/example.com_v1alpha1_memcached.yaml index 95e5d683651..153d1db36c8 100644 --- a/testdata/project-v3-with-deploy-image/config/samples/example.com_v1alpha1_memcached.yaml +++ b/testdata/project-v3-with-deploy-image/config/samples/example.com_v1alpha1_memcached.yaml @@ -3,9 +3,8 @@ kind: Memcached metadata: name: memcached-sample spec: - # TODO(user): edit the following value to ensure the number - # of Pods/Instances your Operand must have on cluster + # TODO(user): edit the following value to ensure the number + # of Pods/Instances your Operand must have on cluster size: 1 - - # TODO(user): edit the following value to ensure the container has the right port to be initialized +# TODO(user): edit the following value to ensure the container has the right port to be initialized containerPort: 11211 diff --git a/testdata/project-v3/config/certmanager/kustomizeconfig.yaml b/testdata/project-v3/config/certmanager/kustomizeconfig.yaml index 90d7c313ca1..e631f777366 100644 --- a/testdata/project-v3/config/certmanager/kustomizeconfig.yaml +++ b/testdata/project-v3/config/certmanager/kustomizeconfig.yaml @@ -1,4 +1,4 @@ -# This configuration is for teaching kustomize how to update name ref and var substitution +# This configuration is for teaching kustomize how to update name ref and var substitution nameReference: - kind: Issuer group: cert-manager.io diff --git a/testdata/project-v3/config/manager/manager.yaml b/testdata/project-v3/config/manager/manager.yaml index 1760f9b6b5a..575431e4f20 100644 --- a/testdata/project-v3/config/manager/manager.yaml +++ b/testdata/project-v3/config/manager/manager.yaml @@ -37,7 +37,7 @@ spec: control-plane: controller-manager spec: # TODO(user): Uncomment the following code to configure the nodeAffinity expression - # according to the platforms which are supported by your solution. + # according to the platforms which are supported by your solution. # It is considered best practice to support multiple architectures. You can # build your manager image using the makefile target docker-buildx. # affinity: diff --git a/testdata/project-v4-config/config/certmanager/kustomizeconfig.yaml b/testdata/project-v4-config/config/certmanager/kustomizeconfig.yaml index d1d835a0b94..cf6f89e8892 100644 --- a/testdata/project-v4-config/config/certmanager/kustomizeconfig.yaml +++ b/testdata/project-v4-config/config/certmanager/kustomizeconfig.yaml @@ -1,4 +1,4 @@ -# This configuration is for teaching kustomize how to update name ref substitution +# This configuration is for teaching kustomize how to update name ref substitution nameReference: - kind: Issuer group: cert-manager.io diff --git a/testdata/project-v4-config/config/manager/manager.yaml b/testdata/project-v4-config/config/manager/manager.yaml index 97ce064aaa0..562550f9e67 100644 --- a/testdata/project-v4-config/config/manager/manager.yaml +++ b/testdata/project-v4-config/config/manager/manager.yaml @@ -37,7 +37,7 @@ spec: control-plane: controller-manager spec: # TODO(user): Uncomment the following code to configure the nodeAffinity expression - # according to the platforms which are supported by your solution. + # according to the platforms which are supported by your solution. # It is considered best practice to support multiple architectures. You can # build your manager image using the makefile target docker-buildx. # affinity: diff --git a/testdata/project-v4-declarative-v1/config/manager/manager.yaml b/testdata/project-v4-declarative-v1/config/manager/manager.yaml index 7657d49db10..3c451f10116 100644 --- a/testdata/project-v4-declarative-v1/config/manager/manager.yaml +++ b/testdata/project-v4-declarative-v1/config/manager/manager.yaml @@ -37,7 +37,7 @@ spec: control-plane: controller-manager spec: # TODO(user): Uncomment the following code to configure the nodeAffinity expression - # according to the platforms which are supported by your solution. + # according to the platforms which are supported by your solution. # It is considered best practice to support multiple architectures. You can # build your manager image using the makefile target docker-buildx. # affinity: diff --git a/testdata/project-v4-multigroup/config/certmanager/kustomizeconfig.yaml b/testdata/project-v4-multigroup/config/certmanager/kustomizeconfig.yaml index d1d835a0b94..cf6f89e8892 100644 --- a/testdata/project-v4-multigroup/config/certmanager/kustomizeconfig.yaml +++ b/testdata/project-v4-multigroup/config/certmanager/kustomizeconfig.yaml @@ -1,4 +1,4 @@ -# This configuration is for teaching kustomize how to update name ref substitution +# This configuration is for teaching kustomize how to update name ref substitution nameReference: - kind: Issuer group: cert-manager.io diff --git a/testdata/project-v4-multigroup/config/manager/manager.yaml b/testdata/project-v4-multigroup/config/manager/manager.yaml index 21f52348405..b9d340945db 100644 --- a/testdata/project-v4-multigroup/config/manager/manager.yaml +++ b/testdata/project-v4-multigroup/config/manager/manager.yaml @@ -37,7 +37,7 @@ spec: control-plane: controller-manager spec: # TODO(user): Uncomment the following code to configure the nodeAffinity expression - # according to the platforms which are supported by your solution. + # according to the platforms which are supported by your solution. # It is considered best practice to support multiple architectures. You can # build your manager image using the makefile target docker-buildx. # affinity: diff --git a/testdata/project-v4-with-deploy-image/config/certmanager/kustomizeconfig.yaml b/testdata/project-v4-with-deploy-image/config/certmanager/kustomizeconfig.yaml index d1d835a0b94..cf6f89e8892 100644 --- a/testdata/project-v4-with-deploy-image/config/certmanager/kustomizeconfig.yaml +++ b/testdata/project-v4-with-deploy-image/config/certmanager/kustomizeconfig.yaml @@ -1,4 +1,4 @@ -# This configuration is for teaching kustomize how to update name ref substitution +# This configuration is for teaching kustomize how to update name ref substitution nameReference: - kind: Issuer group: cert-manager.io diff --git a/testdata/project-v4-with-deploy-image/config/manager/manager.yaml b/testdata/project-v4-with-deploy-image/config/manager/manager.yaml index d6cce184e01..7394f7024e1 100644 --- a/testdata/project-v4-with-deploy-image/config/manager/manager.yaml +++ b/testdata/project-v4-with-deploy-image/config/manager/manager.yaml @@ -37,7 +37,7 @@ spec: control-plane: controller-manager spec: # TODO(user): Uncomment the following code to configure the nodeAffinity expression - # according to the platforms which are supported by your solution. + # according to the platforms which are supported by your solution. # It is considered best practice to support multiple architectures. You can # build your manager image using the makefile target docker-buildx. # affinity: @@ -73,9 +73,9 @@ spec: image: controller:latest name: manager env: - - name: BUSYBOX_IMAGE + - name: BUSYBOX_IMAGE value: busybox:1.28 - - name: MEMCACHED_IMAGE + - name: MEMCACHED_IMAGE value: memcached:1.4.36-alpine securityContext: allowPrivilegeEscalation: false diff --git a/testdata/project-v4-with-deploy-image/config/samples/example.com_v1alpha1_busybox.yaml b/testdata/project-v4-with-deploy-image/config/samples/example.com_v1alpha1_busybox.yaml index 9f38475085b..e5ba7642dd1 100644 --- a/testdata/project-v4-with-deploy-image/config/samples/example.com_v1alpha1_busybox.yaml +++ b/testdata/project-v4-with-deploy-image/config/samples/example.com_v1alpha1_busybox.yaml @@ -3,8 +3,7 @@ kind: Busybox metadata: name: busybox-sample spec: - # TODO(user): edit the following value to ensure the number - # of Pods/Instances your Operand must have on cluster + # TODO(user): edit the following value to ensure the number + # of Pods/Instances your Operand must have on cluster size: 1 - diff --git a/testdata/project-v4-with-deploy-image/config/samples/example.com_v1alpha1_memcached.yaml b/testdata/project-v4-with-deploy-image/config/samples/example.com_v1alpha1_memcached.yaml index 95e5d683651..153d1db36c8 100644 --- a/testdata/project-v4-with-deploy-image/config/samples/example.com_v1alpha1_memcached.yaml +++ b/testdata/project-v4-with-deploy-image/config/samples/example.com_v1alpha1_memcached.yaml @@ -3,9 +3,8 @@ kind: Memcached metadata: name: memcached-sample spec: - # TODO(user): edit the following value to ensure the number - # of Pods/Instances your Operand must have on cluster + # TODO(user): edit the following value to ensure the number + # of Pods/Instances your Operand must have on cluster size: 1 - - # TODO(user): edit the following value to ensure the container has the right port to be initialized +# TODO(user): edit the following value to ensure the container has the right port to be initialized containerPort: 11211 diff --git a/testdata/project-v4-with-metrics/config/manager/manager.yaml b/testdata/project-v4-with-metrics/config/manager/manager.yaml index 9af7387e0ba..ded55606300 100644 --- a/testdata/project-v4-with-metrics/config/manager/manager.yaml +++ b/testdata/project-v4-with-metrics/config/manager/manager.yaml @@ -37,7 +37,7 @@ spec: control-plane: controller-manager spec: # TODO(user): Uncomment the following code to configure the nodeAffinity expression - # according to the platforms which are supported by your solution. + # according to the platforms which are supported by your solution. # It is considered best practice to support multiple architectures. You can # build your manager image using the makefile target docker-buildx. # affinity: diff --git a/testdata/project-v4/config/certmanager/kustomizeconfig.yaml b/testdata/project-v4/config/certmanager/kustomizeconfig.yaml index d1d835a0b94..cf6f89e8892 100644 --- a/testdata/project-v4/config/certmanager/kustomizeconfig.yaml +++ b/testdata/project-v4/config/certmanager/kustomizeconfig.yaml @@ -1,4 +1,4 @@ -# This configuration is for teaching kustomize how to update name ref substitution +# This configuration is for teaching kustomize how to update name ref substitution nameReference: - kind: Issuer group: cert-manager.io diff --git a/testdata/project-v4/config/manager/manager.yaml b/testdata/project-v4/config/manager/manager.yaml index 445961a32fb..2ca24dcbbfc 100644 --- a/testdata/project-v4/config/manager/manager.yaml +++ b/testdata/project-v4/config/manager/manager.yaml @@ -37,7 +37,7 @@ spec: control-plane: controller-manager spec: # TODO(user): Uncomment the following code to configure the nodeAffinity expression - # according to the platforms which are supported by your solution. + # according to the platforms which are supported by your solution. # It is considered best practice to support multiple architectures. You can # build your manager image using the makefile target docker-buildx. # affinity: