From 8e1b213da5d31527432cced4fe9f93167fe0d535 Mon Sep 17 00:00:00 2001 From: Hidde Beydals Date: Thu, 30 Jul 2020 21:27:09 +0200 Subject: [PATCH] Change CRD domain to 'source.toolkit.fluxcd.io' Due to required domain changes for the helm-controller so that it can co-exist in a cluster with the Helm Operator, other Toolkit components are moving to a *.toolklit.fluxcd.io domain too. --- CHANGELOG.md | 4 +- PROJECT | 2 +- README.md | 2 +- api/v1alpha1/doc.go | 2 +- api/v1alpha1/groupversion_info.go | 2 +- ...ce.toolkit.fluxcd.io_gitrepositories.yaml} | 4 +- ... source.toolkit.fluxcd.io_helmcharts.yaml} | 4 +- ...e.toolkit.fluxcd.io_helmrepositories.yaml} | 4 +- config/crd/kustomization.yaml | 7 +- config/rbac/gitrepository_editor_role.yaml | 4 +- config/rbac/gitrepository_viewer_role.yaml | 4 +- config/rbac/helmchart_editor_role.yaml | 4 +- config/rbac/helmchart_viewer_role.yaml | 4 +- config/rbac/helmrepository_editor_role.yaml | 4 +- config/rbac/helmrepository_viewer_role.yaml | 4 +- config/rbac/role.yaml | 14 +-- .../source_v1alpha1_gitrepository.yaml | 2 +- config/samples/source_v1alpha1_helmchart.yaml | 2 +- .../source_v1alpha1_helmrepository.yaml | 2 +- controllers/gitrepository_controller.go | 4 +- controllers/helmchart_controller.go | 4 +- controllers/helmrepository_controller.go | 6 +- docs/api/source.md | 104 +++++++++--------- docs/spec/v1alpha1/README.md | 2 +- docs/spec/v1alpha1/gitrepositories.md | 18 +-- docs/spec/v1alpha1/helmcharts.md | 4 +- docs/spec/v1alpha1/helmrepositories.md | 4 +- 27 files changed, 110 insertions(+), 111 deletions(-) rename config/crd/bases/{source.fluxcd.io_gitrepositories.yaml => source.toolkit.fluxcd.io_gitrepositories.yaml} (98%) rename config/crd/bases/{source.fluxcd.io_helmcharts.yaml => source.toolkit.fluxcd.io_helmcharts.yaml} (98%) rename config/crd/bases/{source.fluxcd.io_helmrepositories.yaml => source.toolkit.fluxcd.io_helmrepositories.yaml} (98%) diff --git a/CHANGELOG.md b/CHANGELOG.md index 7551f1c1..496c7222 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -94,6 +94,6 @@ and `HelmRepositoryReconciler`. This is the first alpha release of source controller. The controller is an implementation of the -[source.fluxcd.io/v1alpha1](https://github.com/fluxcd/source-controller/tree/master/docs/spec/v1alpha1) API +[source.fluxcd.io/v1alpha1](https://github.com/fluxcd/source-controller/tree/v0.0.1-alpha.1/docs/spec/v1alpha1) API based on the specifications described in the -[Source Controller Proposal](https://github.com/fluxcd/source-controller/tree/master/docs/spec). +[Source Controller Proposal](https://github.com/fluxcd/source-controller/tree/v0.0.1-alpha.1/docs/spec). diff --git a/PROJECT b/PROJECT index d910f5b6..0b8f5bd1 100644 --- a/PROJECT +++ b/PROJECT @@ -1,4 +1,4 @@ -domain: fluxcd.io +domain: toolkit.fluxcd.io repo: github.com/fluxcd/source-controller resources: - group: source diff --git a/README.md b/README.md index a3840486..df15d86b 100644 --- a/README.md +++ b/README.md @@ -8,7 +8,7 @@ The source-controller is a Kubernetes operator, specialised in artifacts acquisition from external sources such as Git and Helm repositories. The source-controller implements the -[source.fluxcd.io](https://github.com/fluxcd/source-controller/tree/master/docs/spec/v1alpha1) API +[source.toolkit.fluxcd.io](https://github.com/fluxcd/source-controller/tree/master/docs/spec/v1alpha1) API and is a core component of the [GitOps toolkit](https://toolkit.fluxcd.io). ![overview](docs/diagrams/source-controller-overview.png) diff --git a/api/v1alpha1/doc.go b/api/v1alpha1/doc.go index f043e59d..2f0db689 100644 --- a/api/v1alpha1/doc.go +++ b/api/v1alpha1/doc.go @@ -16,5 +16,5 @@ limitations under the License. // Package v1alpha1 contains API Schema definitions for the source v1alpha1 API group // +kubebuilder:object:generate=true -// +groupName=source.fluxcd.io +// +groupName=source.toolkit.fluxcd.io package v1alpha1 diff --git a/api/v1alpha1/groupversion_info.go b/api/v1alpha1/groupversion_info.go index e11f8ed1..76eb67c4 100644 --- a/api/v1alpha1/groupversion_info.go +++ b/api/v1alpha1/groupversion_info.go @@ -23,7 +23,7 @@ import ( var ( // GroupVersion is group version used to register these objects. - GroupVersion = schema.GroupVersion{Group: "source.fluxcd.io", Version: "v1alpha1"} + GroupVersion = schema.GroupVersion{Group: "source.toolkit.fluxcd.io", Version: "v1alpha1"} // SchemeBuilder is used to add go types to the GroupVersionKind scheme. SchemeBuilder = &scheme.Builder{GroupVersion: GroupVersion} diff --git a/config/crd/bases/source.fluxcd.io_gitrepositories.yaml b/config/crd/bases/source.toolkit.fluxcd.io_gitrepositories.yaml similarity index 98% rename from config/crd/bases/source.fluxcd.io_gitrepositories.yaml rename to config/crd/bases/source.toolkit.fluxcd.io_gitrepositories.yaml index 0f43ee2b..2a339ee9 100644 --- a/config/crd/bases/source.fluxcd.io_gitrepositories.yaml +++ b/config/crd/bases/source.toolkit.fluxcd.io_gitrepositories.yaml @@ -6,9 +6,9 @@ metadata: annotations: controller-gen.kubebuilder.io/version: v0.3.0 creationTimestamp: null - name: gitrepositories.source.fluxcd.io + name: gitrepositories.source.toolkit.fluxcd.io spec: - group: source.fluxcd.io + group: source.toolkit.fluxcd.io names: kind: GitRepository listKind: GitRepositoryList diff --git a/config/crd/bases/source.fluxcd.io_helmcharts.yaml b/config/crd/bases/source.toolkit.fluxcd.io_helmcharts.yaml similarity index 98% rename from config/crd/bases/source.fluxcd.io_helmcharts.yaml rename to config/crd/bases/source.toolkit.fluxcd.io_helmcharts.yaml index 87fc2b28..23c2156a 100644 --- a/config/crd/bases/source.fluxcd.io_helmcharts.yaml +++ b/config/crd/bases/source.toolkit.fluxcd.io_helmcharts.yaml @@ -6,9 +6,9 @@ metadata: annotations: controller-gen.kubebuilder.io/version: v0.3.0 creationTimestamp: null - name: helmcharts.source.fluxcd.io + name: helmcharts.source.toolkit.fluxcd.io spec: - group: source.fluxcd.io + group: source.toolkit.fluxcd.io names: kind: HelmChart listKind: HelmChartList diff --git a/config/crd/bases/source.fluxcd.io_helmrepositories.yaml b/config/crd/bases/source.toolkit.fluxcd.io_helmrepositories.yaml similarity index 98% rename from config/crd/bases/source.fluxcd.io_helmrepositories.yaml rename to config/crd/bases/source.toolkit.fluxcd.io_helmrepositories.yaml index 6855594b..a1f157ba 100644 --- a/config/crd/bases/source.fluxcd.io_helmrepositories.yaml +++ b/config/crd/bases/source.toolkit.fluxcd.io_helmrepositories.yaml @@ -6,9 +6,9 @@ metadata: annotations: controller-gen.kubebuilder.io/version: v0.3.0 creationTimestamp: null - name: helmrepositories.source.fluxcd.io + name: helmrepositories.source.toolkit.fluxcd.io spec: - group: source.fluxcd.io + group: source.toolkit.fluxcd.io names: kind: HelmRepository listKind: HelmRepositoryList diff --git a/config/crd/kustomization.yaml b/config/crd/kustomization.yaml index a724858e..b108deaf 100644 --- a/config/crd/kustomization.yaml +++ b/config/crd/kustomization.yaml @@ -1,8 +1,7 @@ apiVersion: kustomize.config.k8s.io/v1beta1 kind: Kustomization resources: -- bases/source.fluxcd.io_gitrepositories.yaml -- bases/source.fluxcd.io_helmrepositories.yaml -- bases/source.fluxcd.io_helmcharts.yaml +- bases/source.toolkit.fluxcd.io_gitrepositories.yaml +- bases/source.toolkit.fluxcd.io_helmrepositories.yaml +- bases/source.toolkit.fluxcd.io_helmcharts.yaml # +kubebuilder:scaffold:crdkustomizeresource - diff --git a/config/rbac/gitrepository_editor_role.yaml b/config/rbac/gitrepository_editor_role.yaml index a736627a..221a323e 100644 --- a/config/rbac/gitrepository_editor_role.yaml +++ b/config/rbac/gitrepository_editor_role.yaml @@ -5,7 +5,7 @@ metadata: name: gitrepository-editor-role rules: - apiGroups: - - source.fluxcd.io + - source.toolkit.fluxcd.io resources: - gitrepositories verbs: @@ -17,7 +17,7 @@ rules: - update - watch - apiGroups: - - source.fluxcd.io + - source.toolkit.fluxcd.io resources: - gitrepositories/status verbs: diff --git a/config/rbac/gitrepository_viewer_role.yaml b/config/rbac/gitrepository_viewer_role.yaml index 46fa3efc..6d480316 100644 --- a/config/rbac/gitrepository_viewer_role.yaml +++ b/config/rbac/gitrepository_viewer_role.yaml @@ -5,7 +5,7 @@ metadata: name: gitrepository-viewer-role rules: - apiGroups: - - source.fluxcd.io + - source.toolkit.fluxcd.io resources: - gitrepositories verbs: @@ -13,7 +13,7 @@ rules: - list - watch - apiGroups: - - source.fluxcd.io + - source.toolkit.fluxcd.io resources: - gitrepositories/status verbs: diff --git a/config/rbac/helmchart_editor_role.yaml b/config/rbac/helmchart_editor_role.yaml index ef57f522..0ce40ee5 100644 --- a/config/rbac/helmchart_editor_role.yaml +++ b/config/rbac/helmchart_editor_role.yaml @@ -5,7 +5,7 @@ metadata: name: helmchart-editor-role rules: - apiGroups: - - source.fluxcd.io + - source.toolkit.fluxcd.io resources: - helmcharts verbs: @@ -17,7 +17,7 @@ rules: - update - watch - apiGroups: - - source.fluxcd.io + - source.toolkit.fluxcd.io resources: - helmcharts/status verbs: diff --git a/config/rbac/helmchart_viewer_role.yaml b/config/rbac/helmchart_viewer_role.yaml index 469662d4..c39243f6 100644 --- a/config/rbac/helmchart_viewer_role.yaml +++ b/config/rbac/helmchart_viewer_role.yaml @@ -5,7 +5,7 @@ metadata: name: helmchart-viewer-role rules: - apiGroups: - - source.fluxcd.io + - source.toolkit.fluxcd.io resources: - helmcharts verbs: @@ -13,7 +13,7 @@ rules: - list - watch - apiGroups: - - source.fluxcd.io + - source.toolkit.fluxcd.io resources: - helmcharts/status verbs: diff --git a/config/rbac/helmrepository_editor_role.yaml b/config/rbac/helmrepository_editor_role.yaml index 45448649..2afb92b4 100644 --- a/config/rbac/helmrepository_editor_role.yaml +++ b/config/rbac/helmrepository_editor_role.yaml @@ -5,7 +5,7 @@ metadata: name: helmrepository-editor-role rules: - apiGroups: - - source.fluxcd.io + - source.toolkit.fluxcd.io resources: - helmrepositories verbs: @@ -17,7 +17,7 @@ rules: - update - watch - apiGroups: - - source.fluxcd.io + - source.toolkit.fluxcd.io resources: - helmrepositories/status verbs: diff --git a/config/rbac/helmrepository_viewer_role.yaml b/config/rbac/helmrepository_viewer_role.yaml index 2a869465..68a3ae49 100644 --- a/config/rbac/helmrepository_viewer_role.yaml +++ b/config/rbac/helmrepository_viewer_role.yaml @@ -5,7 +5,7 @@ metadata: name: helmrepository-viewer-role rules: - apiGroups: - - source.fluxcd.io + - source.toolkit.fluxcd.io resources: - helmrepositories verbs: @@ -13,7 +13,7 @@ rules: - list - watch - apiGroups: - - source.fluxcd.io + - source.toolkit.fluxcd.io resources: - helmrepositories/status verbs: diff --git a/config/rbac/role.yaml b/config/rbac/role.yaml index 5e775f03..fc48ed79 100644 --- a/config/rbac/role.yaml +++ b/config/rbac/role.yaml @@ -7,7 +7,7 @@ metadata: name: manager-role rules: - apiGroups: - - source.fluxcd.io + - source.toolkit.fluxcd.io resources: - gitrepositories verbs: @@ -19,7 +19,7 @@ rules: - update - watch - apiGroups: - - source.fluxcd.io + - source.toolkit.fluxcd.io resources: - gitrepositories/status verbs: @@ -27,7 +27,7 @@ rules: - patch - update - apiGroups: - - source.fluxcd.io + - source.toolkit.fluxcd.io resources: - helmcharts verbs: @@ -39,7 +39,7 @@ rules: - update - watch - apiGroups: - - source.fluxcd.io + - source.toolkit.fluxcd.io resources: - helmcharts/finalizers verbs: @@ -47,7 +47,7 @@ rules: - patch - update - apiGroups: - - source.fluxcd.io + - source.toolkit.fluxcd.io resources: - helmcharts/status verbs: @@ -55,7 +55,7 @@ rules: - patch - update - apiGroups: - - source.fluxcd.io + - source.toolkit.fluxcd.io resources: - helmrepositories verbs: @@ -67,7 +67,7 @@ rules: - update - watch - apiGroups: - - source.fluxcd.io + - source.toolkit.fluxcd.io resources: - helmrepositories/status verbs: diff --git a/config/samples/source_v1alpha1_gitrepository.yaml b/config/samples/source_v1alpha1_gitrepository.yaml index 77011092..51e4222a 100644 --- a/config/samples/source_v1alpha1_gitrepository.yaml +++ b/config/samples/source_v1alpha1_gitrepository.yaml @@ -1,4 +1,4 @@ -apiVersion: source.fluxcd.io/v1alpha1 +apiVersion: source.toolkit.fluxcd.io/v1alpha1 kind: GitRepository metadata: name: gitrepository-sample diff --git a/config/samples/source_v1alpha1_helmchart.yaml b/config/samples/source_v1alpha1_helmchart.yaml index 01daf960..14ff6880 100644 --- a/config/samples/source_v1alpha1_helmchart.yaml +++ b/config/samples/source_v1alpha1_helmchart.yaml @@ -1,4 +1,4 @@ -apiVersion: source.fluxcd.io/v1alpha1 +apiVersion: source.toolkit.fluxcd.io/v1alpha1 kind: HelmChart metadata: name: helmchart-sample diff --git a/config/samples/source_v1alpha1_helmrepository.yaml b/config/samples/source_v1alpha1_helmrepository.yaml index 1549dae0..6a6be4f6 100644 --- a/config/samples/source_v1alpha1_helmrepository.yaml +++ b/config/samples/source_v1alpha1_helmrepository.yaml @@ -1,4 +1,4 @@ -apiVersion: source.fluxcd.io/v1alpha1 +apiVersion: source.toolkit.fluxcd.io/v1alpha1 kind: HelmRepository metadata: name: helmrepository-sample diff --git a/controllers/gitrepository_controller.go b/controllers/gitrepository_controller.go index 6b94d9d7..b1aa96fc 100644 --- a/controllers/gitrepository_controller.go +++ b/controllers/gitrepository_controller.go @@ -53,8 +53,8 @@ type GitRepositoryReconciler struct { ExternalEventRecorder *recorder.EventRecorder } -// +kubebuilder:rbac:groups=source.fluxcd.io,resources=gitrepositories,verbs=get;list;watch;create;update;patch;delete -// +kubebuilder:rbac:groups=source.fluxcd.io,resources=gitrepositories/status,verbs=get;update;patch +// +kubebuilder:rbac:groups=source.toolkit.fluxcd.io,resources=gitrepositories,verbs=get;list;watch;create;update;patch;delete +// +kubebuilder:rbac:groups=source.toolkit.fluxcd.io,resources=gitrepositories/status,verbs=get;update;patch func (r *GitRepositoryReconciler) Reconcile(req ctrl.Request) (ctrl.Result, error) { ctx := context.Background() diff --git a/controllers/helmchart_controller.go b/controllers/helmchart_controller.go index ba0e8946..20c387b9 100644 --- a/controllers/helmchart_controller.go +++ b/controllers/helmchart_controller.go @@ -54,8 +54,8 @@ type HelmChartReconciler struct { ExternalEventRecorder *recorder.EventRecorder } -// +kubebuilder:rbac:groups=source.fluxcd.io,resources=helmcharts,verbs=get;list;watch;create;update;patch;delete -// +kubebuilder:rbac:groups=source.fluxcd.io,resources=helmcharts/status,verbs=get;update;patch +// +kubebuilder:rbac:groups=source.toolkit.fluxcd.io,resources=helmcharts,verbs=get;list;watch;create;update;patch;delete +// +kubebuilder:rbac:groups=source.toolkit.fluxcd.io,resources=helmcharts/status,verbs=get;update;patch func (r *HelmChartReconciler) Reconcile(req ctrl.Request) (ctrl.Result, error) { ctx := context.Background() diff --git a/controllers/helmrepository_controller.go b/controllers/helmrepository_controller.go index 507622b0..f7e3e719 100644 --- a/controllers/helmrepository_controller.go +++ b/controllers/helmrepository_controller.go @@ -55,9 +55,9 @@ type HelmRepositoryReconciler struct { ExternalEventRecorder *recorder.EventRecorder } -// +kubebuilder:rbac:groups=source.fluxcd.io,resources=helmrepositories,verbs=get;list;watch;create;update;patch;delete -// +kubebuilder:rbac:groups=source.fluxcd.io,resources=helmrepositories/status,verbs=get;update;patch -// +kubebuilder:rbac:groups=source.fluxcd.io,resources=helmcharts/finalizers,verbs=get;update;patch +// +kubebuilder:rbac:groups=source.toolkit.fluxcd.io,resources=helmrepositories,verbs=get;list;watch;create;update;patch;delete +// +kubebuilder:rbac:groups=source.toolkit.fluxcd.io,resources=helmrepositories/status,verbs=get;update;patch +// +kubebuilder:rbac:groups=source.toolkit.fluxcd.io,resources=helmcharts/finalizers,verbs=get;update;patch func (r *HelmRepositoryReconciler) Reconcile(req ctrl.Request) (ctrl.Result, error) { ctx := context.Background() diff --git a/docs/api/source.md b/docs/api/source.md index 80d3acdc..1c8b2867 100644 --- a/docs/api/source.md +++ b/docs/api/source.md @@ -2,20 +2,20 @@

Packages:

-

source.fluxcd.io/v1alpha1

+

source.toolkit.fluxcd.io/v1alpha1

Package v1alpha1 contains API Schema definitions for the source v1alpha1 API group

Resource Types: -

GitRepository +

GitRepository

GitRepository is the Schema for the gitrepositories API

@@ -33,7 +33,7 @@ Resource Types: apiVersion
string -source.fluxcd.io/v1alpha1 +source.toolkit.fluxcd.io/v1alpha1 @@ -63,7 +63,7 @@ Refer to the Kubernetes API documentation for the fields of the spec
- + GitRepositorySpec @@ -132,7 +132,7 @@ Kubernetes meta/v1.Duration ref
- + GitRepositoryRef @@ -147,7 +147,7 @@ master branch.

verify
- + GitRepositoryVerification @@ -179,7 +179,7 @@ are.

status
- + GitRepositoryStatus @@ -191,7 +191,7 @@ GitRepositoryStatus
-

HelmChart +

HelmChart

HelmChart is the Schema for the helmcharts API

@@ -209,7 +209,7 @@ GitRepositoryStatus apiVersion
string -source.fluxcd.io/v1alpha1 +source.toolkit.fluxcd.io/v1alpha1 @@ -239,7 +239,7 @@ Refer to the Kubernetes API documentation for the fields of the spec
- + HelmChartSpec @@ -306,7 +306,7 @@ Kubernetes meta/v1.Duration status
- + HelmChartStatus @@ -318,7 +318,7 @@ HelmChartStatus
-

HelmRepository +

HelmRepository

HelmRepository is the Schema for the helmrepositories API

@@ -336,7 +336,7 @@ HelmChartStatus apiVersion
string -source.fluxcd.io/v1alpha1 +source.toolkit.fluxcd.io/v1alpha1 @@ -366,7 +366,7 @@ Refer to the Kubernetes API documentation for the fields of the spec
- + HelmRepositorySpec @@ -425,7 +425,7 @@ Kubernetes meta/v1.Duration status
- + HelmRepositoryStatus @@ -437,13 +437,13 @@ HelmRepositoryStatus
-

Artifact +

Artifact

(Appears on: -GitRepositoryStatus, -HelmChartStatus, -HelmRepositoryStatus) +GitRepositoryStatus, +HelmChartStatus, +HelmRepositoryStatus)

Artifact represents the output of a source synchronisation

@@ -510,11 +510,11 @@ update of this artifact.

-

GitRepositoryRef +

GitRepositoryRef

(Appears on: -GitRepositorySpec) +GitRepositorySpec)

GitRepositoryRef defines the git ref used for pull and checkout operations.

@@ -579,11 +579,11 @@ string
-

GitRepositorySpec +

GitRepositorySpec

(Appears on: -GitRepository) +GitRepository)

GitRepositorySpec defines the desired state of a Git repository.

@@ -656,7 +656,7 @@ Kubernetes meta/v1.Duration ref
- + GitRepositoryRef @@ -671,7 +671,7 @@ master branch.

verify
- + GitRepositoryVerification @@ -700,11 +700,11 @@ are.

-

GitRepositoryStatus +

GitRepositoryStatus

(Appears on: -GitRepository) +GitRepository)

GitRepositoryStatus defines the observed state of a Git repository.

@@ -721,7 +721,7 @@ are.

conditions
- + []SourceCondition @@ -747,7 +747,7 @@ sync.

artifact
- + Artifact @@ -761,11 +761,11 @@ Artifact
-

GitRepositoryVerification +

GitRepositoryVerification

(Appears on: -GitRepositorySpec) +GitRepositorySpec)

GitRepositoryVerification defines the OpenPGP signature verification process.

@@ -806,11 +806,11 @@ Kubernetes core/v1.LocalObjectReference
-

HelmChartSpec +

HelmChartSpec

(Appears on: -HelmChart) +HelmChart)

HelmChartSpec defines the desired state of a Helm chart.

@@ -878,11 +878,11 @@ Kubernetes meta/v1.Duration
-

HelmChartStatus +

HelmChartStatus

(Appears on: -HelmChart) +HelmChart)

HelmChartStatus defines the observed state of the HelmChart.

@@ -899,7 +899,7 @@ Kubernetes meta/v1.Duration conditions
- + []SourceCondition @@ -924,7 +924,7 @@ string artifact
- + Artifact @@ -938,11 +938,11 @@ Artifact
-

HelmRepositorySpec +

HelmRepositorySpec

(Appears on: -HelmRepository) +HelmRepository)

HelmRepositorySpec defines the reference to a Helm repository.

@@ -1002,11 +1002,11 @@ Kubernetes meta/v1.Duration
-

HelmRepositoryStatus +

HelmRepositoryStatus

(Appears on: -HelmRepository) +HelmRepository)

HelmRepositoryStatus defines the observed state of the HelmRepository.

@@ -1023,7 +1023,7 @@ Kubernetes meta/v1.Duration conditions
- + []SourceCondition @@ -1048,7 +1048,7 @@ string artifact
- + Artifact @@ -1062,16 +1062,16 @@ Artifact
-

Source +

Source

Source interface must be supported by all API types.

-

SourceCondition +

SourceCondition

(Appears on: -GitRepositoryStatus, -HelmChartStatus, -HelmRepositoryStatus) +GitRepositoryStatus, +HelmChartStatus, +HelmRepositoryStatus)

SourceCondition contains condition information for a source.

diff --git a/docs/spec/v1alpha1/README.md b/docs/spec/v1alpha1/README.md index 30ab6e44..accb209e 100644 --- a/docs/spec/v1alpha1/README.md +++ b/docs/spec/v1alpha1/README.md @@ -1,4 +1,4 @@ -# source.fluxcd.io/v1alpha1 +# source.toolkit.fluxcd.io/v1alpha1 This is the v1alpha1 API specification for defining the desired state sources of Kubernetes clusters. diff --git a/docs/spec/v1alpha1/gitrepositories.md b/docs/spec/v1alpha1/gitrepositories.md index 1898b59f..9bc3825a 100644 --- a/docs/spec/v1alpha1/gitrepositories.md +++ b/docs/spec/v1alpha1/gitrepositories.md @@ -141,7 +141,7 @@ entries may overrule default exclusions. Another option is to use the `spec.ignore` field, for example: ```yaml -apiVersion: source.fluxcd.io/v1alpha1 +apiVersion: source.toolkit.fluxcd.io/v1alpha1 kind: GitRepository metadata: name: podinfo @@ -165,7 +165,7 @@ When specified, `spec.ignore` overrides the default exclusion list. Pull the master branch of a public repository every minute: ```yaml -apiVersion: source.fluxcd.io/v1alpha1 +apiVersion: source.toolkit.fluxcd.io/v1alpha1 kind: GitRepository metadata: name: podinfo @@ -177,7 +177,7 @@ spec: Pull a specific branch: ```yaml -apiVersion: source.fluxcd.io/v1alpha1 +apiVersion: source.toolkit.fluxcd.io/v1alpha1 kind: GitRepository metadata: name: podinfo @@ -191,7 +191,7 @@ spec: Checkout a specific commit from a branch: ```yaml -apiVersion: source.fluxcd.io/v1alpha1 +apiVersion: source.toolkit.fluxcd.io/v1alpha1 kind: GitRepository metadata: name: podinfo @@ -206,7 +206,7 @@ spec: Pull a specific tag: ```yaml -apiVersion: source.fluxcd.io/v1alpha1 +apiVersion: source.toolkit.fluxcd.io/v1alpha1 kind: GitRepository metadata: name: podinfo @@ -220,7 +220,7 @@ spec: Pull tag based on a [semver range](https://github.com/blang/semver#ranges): ```yaml -apiVersion: source.fluxcd.io/v1alpha1 +apiVersion: source.toolkit.fluxcd.io/v1alpha1 kind: GitRepository metadata: name: podinfo @@ -234,7 +234,7 @@ spec: HTTPS authentication (requires a secret with `username` and `password` fields): ```yaml -apiVersion: source.fluxcd.io/v1alpha1 +apiVersion: source.toolkit.fluxcd.io/v1alpha1 kind: GitRepository metadata: name: podinfo @@ -257,7 +257,7 @@ data: SSH authentication (requires a secret with `identity` and `known_hosts` fields): ```yaml -apiVersion: source.fluxcd.io/v1alpha1 +apiVersion: source.toolkit.fluxcd.io/v1alpha1 kind: GitRepository metadata: name: podinfo @@ -296,7 +296,7 @@ kubectl create secret generic ssh-credentials \ Verify the OpenPGP signature for the commit that master branch HEAD points to: ```yaml -apiVersion: source.fluxcd.io/v1alpha1 +apiVersion: source.toolkit.fluxcd.io/v1alpha1 kind: GitRepository metadata: name: podinfo diff --git a/docs/spec/v1alpha1/helmcharts.md b/docs/spec/v1alpha1/helmcharts.md index 0daa7dd7..2608f651 100644 --- a/docs/spec/v1alpha1/helmcharts.md +++ b/docs/spec/v1alpha1/helmcharts.md @@ -69,7 +69,7 @@ const ( Pull a specific chart version every five minutes: ```yaml -apiVersion: source.fluxcd.io/v1alpha1 +apiVersion: source.toolkit.fluxcd.io/v1alpha1 kind: HelmChart metadata: name: redis @@ -84,7 +84,7 @@ spec: Pull the latest chart version that matches the sermver range every ten minutes: ```yaml -apiVersion: source.fluxcd.io/v1alpha1 +apiVersion: source.toolkit.fluxcd.io/v1alpha1 kind: HelmChart metadata: name: redis diff --git a/docs/spec/v1alpha1/helmrepositories.md b/docs/spec/v1alpha1/helmrepositories.md index 085f2006..fcd1301a 100644 --- a/docs/spec/v1alpha1/helmrepositories.md +++ b/docs/spec/v1alpha1/helmrepositories.md @@ -67,7 +67,7 @@ const ( Pull the index of a public Helm repository every ten minutes: ```yaml -apiVersion: source.fluxcd.io/v1alpha1 +apiVersion: source.toolkit.fluxcd.io/v1alpha1 kind: HelmRepository metadata: name: stable @@ -79,7 +79,7 @@ spec: Pull the index of a private Helm repository every minute: ```yaml -apiVersion: source.fluxcd.io/v1alpha1 +apiVersion: source.toolkit.fluxcd.io/v1alpha1 kind: HelmRepository metadata: name: private