Skip to content

Commit

Permalink
Add config.kubernetes.io/local-config: "true" label to kubestash crds
Browse files Browse the repository at this point in the history
Signed-off-by: Tamal Saha <[email protected]>
  • Loading branch information
tamalsaha committed Feb 17, 2025
1 parent df442b5 commit 4266780
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
annotations:
config.kubernetes.io/local-config: "true"
labels:
app.kubernetes.io/name: kubestash
name: addons.addons.kubestash.com
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
annotations:
config.kubernetes.io/local-config: "true"
labels:
app.kubernetes.io/name: kubestash
name: functions.addons.kubestash.com
Expand Down
1 change: 1 addition & 0 deletions hack/scripts/import-crds.sh
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,7 @@ OPEN_VIZ_APIMACHINERY_TAG=${OPEN_VIZ_APIMACHINERY_TAG:-v0.0.8}

crd-importer \
--no-description \
--annotations 'config.kubernetes.io/local-config=true' \
--input=https://github.com/kubestash/apimachinery/raw/${KUBESTASH_APIMACHINERY_TAG}/crds/addons.kubestash.com_addons.yaml \
--input=https://github.com/kubestash/apimachinery/raw/${KUBESTASH_APIMACHINERY_TAG}/crds/addons.kubestash.com_functions.yaml \
--out=./charts/kubedb-kubestash-catalog/crds
Expand Down

0 comments on commit 4266780

Please sign in to comment.