question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Kubernetes Config Linter Mistake

See original GitHub issue

Similar to #621 found that the linter used with this extension highlights (using latest version 1.0.6)

spec:
  finalizers:
  - kubernetes

as mistake image image

Platform information:

Version: 1.39.2
Commit: 6ab598523be7a800d7f3eb4d92d7ab9a66069390
Date: 2019-10-15T15:33:00.827Z
Electron: 4.2.10
Chrome: 69.0.3497.128
Node.js: 10.11.0
V8: 6.9.427.31-electron.0
OS: Darwin x64 19.0.0

Kubernetes Config to Repro:

apiVersion: v1
kind: Namespace
metadata:
  creationTimestamp: "2019-10-16T17:46:39Z"
  name: default
  resourceVersion: "154"
  selfLink: /api/v1/namespaces/default
  uid: e5bf187d-0718-412c-b763-d02fbd82ce92
spec:
  finalizers:
  - kubernetes
status:
  phase: Active

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:6 (1 by maintainers)

github_iconTop GitHub Comments

1reaction
itowlsoncommented, Oct 23, 2019

Found it and fixed it - thanks for the report!

0reactions
itowlsoncommented, Oct 23, 2019

cc @andxu

Read more comments on GitHub >

github_iconTop Results From Across the Web

Kubernetes Config Linter Mistake · Issue #641 - GitHub
Possible error in the way we merge the enum values derived from Go into the k8s Swagger definitions: "io.k8s.api.core.v1.namespacespec": { "name ...
Read more >
The Top 5 Kubernetes Configuration Mistakes—And How to ...
1. Invalid YAML Structure · 2. Overprovisioning Cloud Resources · 3. Containers Running With AllowPrivilegeEscalation · 4. Missing Kubernetes ...
Read more >
Validating Kubernetes YAML for best practice and policies
Config -lint is a tool designed to validate configuration files written in YAML, JSON, Terraform, CSV, and Kubernetes manifests.
Read more >
Analyze Kubernetes files for errors with KubeLinter
KubeLinter is an open source project released by Stackrox to analyze Kubernetes YAML files for security issues and errant code.
Read more >
KubeLinter: Open Source YAML Linter / HELM Linter for K8s
KubeLinter analyzes Kubernetes YAML files and Helm charts, and checks them against a variety of best practices, with a focus on production ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found