Skip to content

feat: Add admission controller test suite #1445

feat: Add admission controller test suite

feat: Add admission controller test suite #1445

Triggered via pull request October 16, 2023 15:50
Status Failure
Total duration 4m 33s
Artifacts
This run and associated checks have been archived and are scheduled for deletion. Learn more about checks retention

go.yml

on: pull_request
Matrix: build
Matrix: gosec
Matrix: lint
Fit to window
Zoom out
Zoom in

Annotations

20 errors and 2 warnings
lint (ubuntu-latest, 1.19.x): controllers/admission/falconadmission_controller_test.go#L67
unknown field 'Falcon' in struct literal of type v1alpha1.FalconAdmissionSpec
lint (ubuntu-latest, 1.19.x): controllers/admission/falconadmission_controller_test.go#L70
unknown field 'InstallNamespace' in struct literal of type v1alpha1.FalconAdmissionSpec
lint (ubuntu-latest, 1.19.x): controllers/admission/falconadmission_controller_test.go#L71
unknown field 'Image' in struct literal of type v1alpha1.FalconAdmissionSpec
lint (ubuntu-latest, 1.19.x): controllers/admission/falconadmission_controller_test.go#L72
unknown field 'Registry' in struct literal of type v1alpha1.FalconAdmissionSpec
lint (ubuntu-latest, 1.19.x): controllers/admission/falconadmission_controller_test.go#L75
unknown field 'AdmissionConfig' in struct literal of type v1alpha1.FalconAdmissionSpec
lint (ubuntu-latest, 1.19.x): controllers/admission/falconadmission_controller_test.go#L75
undefined: v1alpha1.FalconAdmissionConfigSpec
lint (ubuntu-latest, 1.19.x): controllers/admission/falconadmission_controller_test.go#L76
undefined: v1alpha1.FalconAdmissionUpdateStrategy
lint (ubuntu-latest, 1.19.x): controllers/admission/falconadmission_controller_test.go#L159
falconAdmission.Status.Conditions undefined (type v1alpha1.FalconAdmissionStatus has no field or method Conditions)
lint (ubuntu-latest, 1.19.x): controllers/admission/falconadmission_controller_test.go#L160
falconAdmission.Status.Conditions undefined (type v1alpha1.FalconAdmissionStatus has no field or method Conditions)
build (ubuntu-latest, 1.19.x): internal/controller/assets/deployment.go#L269
falconAdmission.Spec.AdmissionConfig undefined (type v1alpha1.FalconAdmissionSpec has no field or method AdmissionConfig)
build (ubuntu-latest, 1.19.x): internal/controller/assets/deployment.go#L270
falconAdmission.Spec.AdmissionConfig undefined (type v1alpha1.FalconAdmissionSpec has no field or method AdmissionConfig)
build (ubuntu-latest, 1.19.x): internal/controller/assets/deployment.go#L273
falconAdmission.Spec.AdmissionConfig undefined (type v1alpha1.FalconAdmissionSpec has no field or method AdmissionConfig)
build (ubuntu-latest, 1.19.x): internal/controller/assets/deployment.go#L274
falconAdmission.Spec.AdmissionConfig undefined (type v1alpha1.FalconAdmissionSpec has no field or method AdmissionConfig)
build (ubuntu-latest, 1.19.x): internal/controller/assets/deployment.go#L288
falconAdmission.Spec.AdmissionConfig undefined (type v1alpha1.FalconAdmissionSpec has no field or method AdmissionConfig)
build (ubuntu-latest, 1.19.x): internal/controller/assets/deployment.go#L347
falconAdmission.Spec.AdmissionConfig undefined (type v1alpha1.FalconAdmissionSpec has no field or method AdmissionConfig)
build (ubuntu-latest, 1.19.x): internal/controller/assets/deployment.go#L399
falconAdmission.Spec.AdmissionConfig undefined (type v1alpha1.FalconAdmissionSpec has no field or method AdmissionConfig)
build (ubuntu-latest, 1.19.x): internal/controller/assets/deployment.go#L423
falconAdmission.Spec.AdmissionConfig undefined (type v1alpha1.FalconAdmissionSpec has no field or method AdmissionConfig)
build (ubuntu-latest, 1.19.x): internal/controller/assets/deployment.go#L437
falconAdmission.Spec.AdmissionConfig undefined (type v1alpha1.FalconAdmissionSpec has no field or method AdmissionConfig)
build (ubuntu-latest, 1.19.x): internal/controller/assets/deployment.go#L452
falconAdmission.Spec.AdmissionConfig undefined (type v1alpha1.FalconAdmissionSpec has no field or method AdmissionConfig)
lint (ubuntu-latest, 1.19.x)
Restore cache failed: Dependencies file is not found in /home/runner/work/falcon-operator/falcon-operator. Supported file pattern: go.sum
build (ubuntu-latest, 1.19.x)
Restore cache failed: Dependencies file is not found in /home/runner/work/falcon-operator/falcon-operator. Supported file pattern: go.sum