Skip to content

feat: add restartPolicy to kube_pod_init_container_info metric #2740

feat: add restartPolicy to kube_pod_init_container_info metric

feat: add restartPolicy to kube_pod_init_container_info metric #2740

Re-run triggered November 19, 2023 06:03
Status Failure
Total duration 2m 7s
Artifacts
This run and associated checks have been archived and are scheduled for deletion. Learn more about checks retention

ci.yml

on: pull_request
ci-go-lint
1m 39s
ci-go-lint
ci-validate-manifests
16s
ci-validate-manifests
ci-validate-go-modules
19s
ci-validate-go-modules
ci-validate-docs
56s
ci-validate-docs
ci-unit-tests
1m 40s
ci-unit-tests
ci-rule-tests
4s
ci-rule-tests
ci-benchmark-tests
1m 23s
ci-benchmark-tests
ci-build-kube-state-metrics
1m 12s
ci-build-kube-state-metrics
ci-e2e-tests
1m 57s
ci-e2e-tests
Fit to window
Zoom out
Zoom in

Annotations

20 errors
ci-validate-docs: internal/store/pod.go#L685
cannot convert c.RestartPolicy (variable of type *"k8s.io/api/core/v1".ContainerRestartPolicy) to type string
ci-validate-docs
Process completed with exit code 2.
ci-build-kube-state-metrics: internal/store/pod.go#L685
cannot convert c.RestartPolicy (variable of type *"k8s.io/api/core/v1".ContainerRestartPolicy) to type string
ci-build-kube-state-metrics
Process completed with exit code 2.
ci-benchmark-tests: internal/store/pod.go#L685
cannot convert c.RestartPolicy (variable of type *"k8s.io/api/core/v1".ContainerRestartPolicy) to type string
ci-benchmark-tests
Process completed with exit code 2.
ci-unit-tests: internal/store/pod.go#L685
cannot convert c.RestartPolicy (variable of type *"k8s.io/api/core/v1".ContainerRestartPolicy) to type string
ci-unit-tests
Process completed with exit code 2.
ci-go-lint: pkg/builder/builder.go#L26
could not import k8s.io/kube-state-metrics/v2/internal/store (-: # k8s.io/kube-state-metrics/v2/internal/store
ci-go-lint: internal/store/pod.go#L685
cannot convert c.RestartPolicy (variable of type *"k8s.io/api/core/v1".ContainerRestartPolicy) to type string) (typecheck)
ci-go-lint: internal/discovery/discovery.go#L30
could not import k8s.io/kube-state-metrics/v2/internal/store (-: # k8s.io/kube-state-metrics/v2/internal/store
ci-go-lint: internal/store/pod.go#L685
cannot convert c.RestartPolicy (variable of type *"k8s.io/api/core/v1".ContainerRestartPolicy) to type string) (typecheck)
ci-go-lint: internal/store/pod.go#L685
cannot convert c.RestartPolicy (variable of type *"k8s.io/api/core/v1".ContainerRestartPolicy) to type string
ci-go-lint: internal/store/pod_test.go#L92
cannot use v1.ContainerRestartPolicyAlways (constant "Always" of type "k8s.io/api/core/v1".ContainerRestartPolicy) as *"k8s.io/api/core/v1".ContainerRestartPolicy value in struct literal (typecheck)
ci-go-lint: pkg/app/server.go#L46
could not import k8s.io/kube-state-metrics/v2/internal/store (-: # k8s.io/kube-state-metrics/v2/internal/store
ci-go-lint: internal/store/pod.go#L685
cannot convert c.RestartPolicy (variable of type *"k8s.io/api/core/v1".ContainerRestartPolicy) to type string) (typecheck)
ci-go-lint
Process completed with exit code 2.
ci-e2e-tests
cannot convert c.RestartPolicy (variable of type *"k8s.io/api/core/v1".ContainerRestartPolicy) to type string
ci-e2e-tests
cannot convert c.RestartPolicy (variable of type *"k8s.io/api/core/v1".ContainerRestartPolicy) to type string
ci-e2e-tests
Process completed with exit code 2.