Skip to content
This repository has been archived by the owner on Oct 12, 2021. It is now read-only.

Commit

Permalink
Function CRD moved to "extensions" API group
Browse files Browse the repository at this point in the history
  • Loading branch information
tzununbekov committed May 17, 2021
1 parent 3603928 commit dc74ae4
Show file tree
Hide file tree
Showing 25 changed files with 66 additions and 66 deletions.
8 changes: 4 additions & 4 deletions config/200-clusterrole.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,15 +19,15 @@ metadata:
aggregationRule:
clusterRoleSelectors:
- matchLabels:
function.flow.triggermesh.io/controller: "true"
function.extensions.triggermesh.io/controller: "true"
rules: [] # Rules are automatically filled in by the controller manager.
---
kind: ClusterRole
apiVersion: rbac.authorization.k8s.io/v1
metadata:
name: triggermesh-function-core
labels:
function.flow.triggermesh.io/controller: "true"
function.extensions.triggermesh.io/controller: "true"
rules:
- apiGroups:
- ""
Expand Down Expand Up @@ -78,7 +78,7 @@ rules:
- patch
- watch
- apiGroups:
- flow.triggermesh.io
- extensions.triggermesh.io
resources:
- functions
- functions/status
Expand Down Expand Up @@ -113,7 +113,7 @@ metadata:
duck.knative.dev/addressable: "true"
rules:
- apiGroups:
- flow.triggermesh.io
- extensions.triggermesh.io
resources:
- functions
- functions/status
Expand Down
6 changes: 3 additions & 3 deletions config/300-function.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,11 @@
apiVersion: apiextensions.k8s.io/v1beta1
kind: CustomResourceDefinition
metadata:
name: functions.flow.triggermesh.io
name: functions.extensions.triggermesh.io
labels:
triggermesh.io/crd-install: "true"
spec:
group: flow.triggermesh.io
group: extensions.triggermesh.io
scope: Namespaced
names:
kind: Function
Expand All @@ -28,7 +28,7 @@ spec:
categories:
- all
- triggermesh
- flow
- extensions
shortNames:
- fn
versions:
Expand Down
2 changes: 1 addition & 1 deletion config/samples/nodejs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.

apiVersion: flow.triggermesh.io/v1alpha1
apiVersion: extensions.triggermesh.io/v1alpha1
kind: Function
metadata:
name: inline-node-function
Expand Down
2 changes: 1 addition & 1 deletion config/samples/python.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.

apiVersion: flow.triggermesh.io/v1alpha1
apiVersion: extensions.triggermesh.io/v1alpha1
kind: Function
metadata:
name: inline-python-function
Expand Down
2 changes: 1 addition & 1 deletion config/samples/ruby.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.

apiVersion: flow.triggermesh.io/v1alpha1
apiVersion: extensions.triggermesh.io/v1alpha1
kind: Function
metadata:
name: inline-ruby-function
Expand Down
2 changes: 1 addition & 1 deletion pkg/apis/function/register.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,5 +17,5 @@ limitations under the License.
package function

const (
GroupName = "flow.triggermesh.io"
GroupName = "extensions.triggermesh.io"
)
2 changes: 1 addition & 1 deletion pkg/apis/function/v1alpha1/doc.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,5 @@ limitations under the License.
*/

// +k8s:deepcopy-gen=package
// +groupName=flow.triggermesh.io
// +groupName=extensions.triggermesh.io
package v1alpha1
18 changes: 9 additions & 9 deletions pkg/client/generated/clientset/internalclientset/clientset.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions pkg/client/generated/informers/externalversions/factory.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions pkg/client/generated/informers/externalversions/generic.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit dc74ae4

Please sign in to comment.