Skip to content

Commit

Permalink
import Kustomization v1
Browse files Browse the repository at this point in the history
  • Loading branch information
Max Jonas Werner committed Mar 30, 2023
1 parent df1da30 commit 099b368
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 6 deletions.
2 changes: 1 addition & 1 deletion content/en/flux/components/kustomize/.gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
api.md
api/v*.md
kustomization.md
5 changes: 5 additions & 0 deletions content/en/flux/components/kustomize/api/_index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
title: API Reference
linkTitle: API Reference
weight: 1000
---
2 changes: 1 addition & 1 deletion content/en/flux/components/kustomize/options.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
title: Controller Options
linkTitle: Controller Options
description: "Controller command flags and defaults."
weight: 1000
weight: 1
---

To customise the controller options at install time,
Expand Down
8 changes: 4 additions & 4 deletions hack/import-flux2-assets.sh
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ gen_crd_doc() {

{
# source-controller CRDs
SOURCE_VER="gitrepository-v1"
SOURCE_VER="main"
gen_crd_doc "https://raw.githubusercontent.com/fluxcd/source-controller/$SOURCE_VER/docs/api/v1/source.md" "$COMPONENTS_DIR/source/api/v1.md" "HUGETABLE"
gen_crd_doc "https://raw.githubusercontent.com/fluxcd/source-controller/$SOURCE_VER/docs/api/v1beta2/source.md" "$COMPONENTS_DIR/source/api/v1beta2.md" "HUGETABLE"
SOURCE_CRD_VER="v1"
Expand All @@ -134,9 +134,9 @@ gen_crd_doc() {

{
# kustomize-controller CRDs
KUSTOMIZE_VER="$(controller_version kustomize-controller)"
gen_crd_doc "https://raw.githubusercontent.com/fluxcd/kustomize-controller/$KUSTOMIZE_VER/docs/api/kustomize.md" "$COMPONENTS_DIR/kustomize/api.md" "HUGETABLE"
gen_crd_doc "https://raw.githubusercontent.com/fluxcd/kustomize-controller/$KUSTOMIZE_VER/docs/spec/v1beta2/kustomization.md" "$COMPONENTS_DIR/kustomize/kustomization.md"
KUSTOMIZE_VER="api-v1"
gen_crd_doc "https://raw.githubusercontent.com/fluxcd/kustomize-controller/$KUSTOMIZE_VER/docs/api/kustomize.md" "$COMPONENTS_DIR/kustomize/api/v1.md" "HUGETABLE"
gen_crd_doc "https://raw.githubusercontent.com/fluxcd/kustomize-controller/$KUSTOMIZE_VER/docs/spec/v1/kustomization.md" "$COMPONENTS_DIR/kustomize/kustomization.md"
}

{
Expand Down

0 comments on commit 099b368

Please sign in to comment.