
Security News
Risky Biz Podcast: Making Reachability Analysis Work in Real-World Codebases
This episode explores the hard problem of reachability analysis, from static analysis limits to handling dynamic languages and massive dependency trees.
@smartive/generator-k8s
Advanced tools
This is a yeoman generator for kubernetes resources.
To install this package, simply run
Install yeoman
(if haven't already) npm i -g yo
.
After you installed this package, use:
yo k8s
All detailed generators are described below.
Command: yo k8s
This launches the resource generator which asks which parts you want to configure. All parts are concatenated into one file after all questions are answered.
With this generator, you can generate a full deployment with service, app, ingress and other things.
Command: yo k8s:config
This generates a ConfigMap
for k8s. During the questions, you can enter config map values
with your configured $EDITOR
if you wish to do so.
Empty lines and lines that start with #
are ignored after you close the editor.
Command: yo k8s:deployment
This generates a Deployment
for k8s. You have to enter some values to
generate the yml structure. If you've configured a PersistentVolumeClaim
it's added to the bottom.
Command: yo k8s:ingress
This generates an Ingress
for k8s. You can enter multiple host urls, which are
then configured the correct way. You can decide if you want to disable HTTPS.
Command: yo k8s:persistent-volume-claim
This generates a PersistentVolumeClaim
for k8s. You need to enter access modes and a size for the claim.
Command: yo k8s:secret
This generates a Secret
for k8s. During the questions, you can enter secret values
with your configured $EDITOR
if you wish to do so.
Empty lines and lines that start with #
are ignored after you close the editor.
After the editor is closed, all values after the colon are base64 encoded.
foo: bar
becomes foo: IGJhcg==
.
Command: yo k8s:service
This generates a Service
for k8s. You can add multiple ports for the service which are then
added to the resulting yml.
The changelog is generated by semantic release and is located under the release section.
This software is licenced under the MIT licence.
FAQs
Yeoman generator for kubernetes resources
We found that @smartive/generator-k8s demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 7 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
This episode explores the hard problem of reachability analysis, from static analysis limits to handling dynamic languages and massive dependency trees.
Security News
/Research
Malicious Nx npm versions stole secrets and wallet info using AI CLI tools; Socket’s AI scanner detected the supply chain attack and flagged the malware.
Security News
CISA’s 2025 draft SBOM guidance adds new fields like hashes, licenses, and tool metadata to make software inventories more actionable.