Browse Source

Fix linting issues

changes/12/766512/1
Ian Howell 2 years ago
parent
commit
567f68a271
  1. 1
      .gitignore
  2. 2
      config/certmanager/certificate.yaml
  3. 2
      config/certmanager/kustomizeconfig.yaml
  4. 6
      config/default/kustomization.yaml
  5. 2
      config/default/manager_auth_proxy_patch.yaml
  6. 2
      config/samples/vino_cr.yaml
  7. 1
      main.go

1
.gitignore vendored

@ -1,4 +1,3 @@
# Binaries for programs and plugins
*.exe
*.exe~

2
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

2
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

6
config/default/kustomization.yaml

@ -16,12 +16,12 @@ bases:
- ../crd
- ../rbac
- ../manager
# [WEBHOOK] To enable webhook, uncomment all the sections with [WEBHOOK] prefix including the one in
# [WEBHOOK] To enable webhook, uncomment all the sections with [WEBHOOK] prefix including the one in
# crd/kustomization.yaml
#- ../webhook
# [CERTMANAGER] To enable cert-manager, uncomment all sections with 'CERTMANAGER'. 'WEBHOOK' components are required.
#- ../certmanager
# [PROMETHEUS] To enable prometheus monitor, uncomment all sections with 'PROMETHEUS'.
# [PROMETHEUS] To enable prometheus monitor, uncomment all sections with 'PROMETHEUS'.
#- ../prometheus
patchesStrategicMerge:
@ -30,7 +30,7 @@ patchesStrategicMerge:
# endpoint w/o any authn/z, please comment the following line.
- manager_auth_proxy_patch.yaml
# [WEBHOOK] To enable webhook, uncomment all the sections with [WEBHOOK] prefix including the one in
# [WEBHOOK] To enable webhook, uncomment all the sections with [WEBHOOK] prefix including the one in
# crd/kustomization.yaml
#- manager_webhook_patch.yaml

2
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

2
config/samples/vino_cr.yaml

@ -95,7 +95,7 @@ status:
sushy?: complete|failed
domains: complete|failed
bmh: complete|failed
lastUpdated:
lastUpdated:
nodes:
- node1:
hypervisor:

1
main.go

@ -36,6 +36,7 @@ var (
setupLog = ctrl.Log.WithName("setup")
)
//nolint:errcheck
func init() {
_ = clientgoscheme.AddToScheme(scheme)

Loading…
Cancel
Save