This commit is contained in:
Mike McFetridge
2026-07-20 09:23:17 -04:00
parent c1315882da
commit 72272e4006
3179 changed files with 562960 additions and 14 deletions
+12
View File
@@ -0,0 +1,12 @@
apiVersion: v1
kind: Namespace
metadata:
name: << namespace_name >>
<%- if labels_enabled %>
labels:
"<< label_key >>": "<< label_value >>"
<%- endif %>
<%- if annotations_enabled %>
annotations:
"<< annotation_key >>": "<< annotation_value >>"
<%- endif %>
+104
View File
@@ -0,0 +1,104 @@
{
"slug": "core-namespace",
"kind": "kubernetes",
"metadata": {
"name": "Kubernetes Namespace",
"description": "Creates a Kubernetes Namespace with optional single label and annotation entries for basic environment scoping.",
"tags": [],
"icon": {
"provider": "simple-icons",
"id": "kubernetes"
},
"draft": false,
"version": {
"name": "1.31.0",
"source_dep_name": "manual/core-namespace"
}
},
"variables": [
{
"title": "General",
"name": "general",
"items": [
{
"name": "namespace_name",
"type": "str",
"title": "Namespace name",
"required": false,
"default": "app",
"config": {
"placeholder": "app"
}
}
]
},
{
"title": "Labels",
"name": "labels",
"items": [
{
"name": "labels_enabled",
"type": "bool",
"title": "Label",
"required": false,
"default": false,
"description": "Add a label entry to the namespace"
},
{
"name": "label_key",
"type": "str",
"title": "Label key",
"required": false,
"default": "app.kubernetes.io/name",
"config": {
"placeholder": "app.kubernetes.io/name"
}
},
{
"name": "label_value",
"type": "str",
"title": "Label value",
"required": false,
"default": "app",
"config": {
"placeholder": "app"
}
}
]
},
{
"title": "Annotations",
"name": "annotations",
"items": [
{
"name": "annotations_enabled",
"type": "bool",
"title": "Annotation",
"required": false,
"default": false,
"description": "Add an annotation entry to the namespace"
},
{
"name": "annotation_key",
"type": "str",
"title": "Annotation key",
"required": false,
"default": "app.kubernetes.io/part-of",
"config": {
"placeholder": "app.kubernetes.io/part-of"
}
},
{
"name": "annotation_value",
"type": "str",
"title": "Annotation value",
"required": false,
"default": "platform",
"config": {
"placeholder": "platform"
}
}
]
}
]
}