SShortSingh.
Back to feed

Flux Schema Plugin Shifts Kubernetes Manifest Validation Left into CI

0
·1 views

Flux 2.9 introduced Flux Schema, a CLI plugin that validates Kubernetes manifests against JSON Schema and CEL rules before they reach the cluster. It uses the same evaluation logic as the Kubernetes API server, catching type mismatches, unknown fields, and cross-field constraint violations at the pull request stage rather than during reconciliation. The plugin supports built-in schemas for Kubernetes, OpenShift, Gateway API, and Flux CRDs, requiring no additional setup for common resource types. Users can configure exclusions via a .fluxschema.yml file and integrate validation into GitHub Actions using two composite actions provided by the project. The plugin's schema catalog refreshes daily from upstream releases, ensuring CI always validates against current API versions rather than outdated snapshots.

Read the full story at DEV Community

This is an AI-generated summary. ShortSingh links to the original source for the complete article.

Discussion (0)

Log in to join the discussion and vote.

Log in

Related stories

0
ProgrammingDEV Community ·

How Clear Requirements and Lean First Releases Prevent Custom Software Overspending

Custom software projects most often exceed budget not due to technical unpredictability, but because teams begin development with vague requirements, unexamined integrations, and too many features bundled into the first release. Experts recommend defining the core business problem in plain language before requesting any cost estimates, ensuring every requested feature directly addresses that problem. A well-scoped project identifies primary users, essential workflows, current pain points, success criteria, and constraints upfront. Hidden cost drivers such as approval chains, data migration, security requirements, and integration complexity typically add more expense than the visible user interface. Keeping the initial release small and measurable, while deferring non-essential features to later phases, is considered the most effective way to control overall project spend.

0
ProgrammingDEV Community ·

Stinkpot Brings SQLite-Backed Shell History Management to Bash Users

Stinkpot is a lightweight, open-source tool written in roughly 400 lines of Go that stores Bash shell history in a local SQLite database instead of a plain text file. It offers session-agnostic history management and a searchable terminal UI, making it easier to retrieve commands across multiple open terminals. Unlike the more feature-rich Atuin, Stinkpot deliberately omits sync, AI integration, and other extras to stay minimal and focused. The tool uses a timestamp index to speed up reverse-search queries without relying on a separate database server. Users can get started by cloning the repository, building the executable with Go, and adding a single initialization line to their .bashrc file.

0
ProgrammingDEV Community ·

Why Industrial Sensors Start at 4mA, Not Zero: The Logic Behind 4-20mA

The 4-20mA standard, developed in the 1950s, is the analog signaling protocol that underpins most industrial sensor data worldwide, converting physical measurements into electrical currents carried through copper wire. A sensor configured for a range such as 0–200°C maps 4mA to the bottom of that range and 20mA to the top, with all values scaled linearly in between. The deliberate choice to start at 4mA rather than zero means a current reading of 0mA unambiguously signals a fault — such as a broken wire or dead transmitter — rather than a valid low measurement. The NAMUR NE43 convention formalises this by defining the normal operating band as 3.8–20.5mA, with readings outside 3.6–21.0mA treated as failure states. Developers consuming this data must know their transmitter's configured burnout direction, since a failing sensor can otherwise be misread as a genuine process condition like overheating.

0
ProgrammingHacker News ·

What Programming Was Like Before the Internet and Autocomplete

A reflective piece circulating on Hacker News revisits the experience of coding during the 1980s. Programmers of that era had no access to online resources like Stack Overflow or AI-assisted autocomplete tools. Developers relied entirely on printed manuals, personal experimentation, and peer knowledge to solve problems. The post, which garnered modest engagement on Hacker News, highlights how much the developer workflow has transformed over four decades.

Flux Schema Plugin Shifts Kubernetes Manifest Validation Left into CI · ShortSingh