-
Notifications
You must be signed in to change notification settings - Fork 350
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(helm): align resources for helm
Until now we were maintaining 2 separate set of installation resources. Here we make Helm to reuse the existing base resources instead, making easier any future evolution
- Loading branch information
Showing
17 changed files
with
675 additions
and
465 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
196 changes: 0 additions & 196 deletions
196
helm/camel-k/templates/operator-cluster-role-bindings.yaml
This file was deleted.
Oops, something went wrong.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,122 @@ | ||
# --------------------------------------------------------------------------- | ||
# Licensed to the Apache Software Foundation (ASF) under one or more | ||
# contributor license agreements. See the NOTICE file distributed with | ||
# this work for additional information regarding copyright ownership. | ||
# The ASF licenses this file to You under the Apache License, Version 2.0 | ||
# (the "License"); you may not use this file except in compliance with | ||
# the License. You may obtain a copy of the License at | ||
# | ||
# http://www.apache.org/licenses/LICENSE-2.0 | ||
# | ||
# Unless required by applicable law or agreed to in writing, software | ||
# distributed under the License is distributed on an "AS IS" BASIS, | ||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
# See the License for the specific language governing permissions and | ||
# limitations under the License. | ||
# --------------------------------------------------------------------------- | ||
apiVersion: rbac.authorization.k8s.io/v1 | ||
kind: ClusterRole | ||
metadata: | ||
labels: | ||
app: camel-k | ||
rbac.authorization.k8s.io/aggregate-to-admin: "true" | ||
rbac.authorization.k8s.io/aggregate-to-edit: "true" | ||
name: camel-k-edit | ||
rules: | ||
- apiGroups: | ||
- camel.apache.org | ||
resources: | ||
- builds | ||
- camelcatalogs | ||
- integrationkits | ||
- integrationplatforms | ||
- integrationprofiles | ||
- integrations | ||
- pipes | ||
- kamelets | ||
verbs: | ||
- create | ||
- delete | ||
- deletecollection | ||
- get | ||
- list | ||
- patch | ||
- update | ||
- watch | ||
- apiGroups: | ||
- camel.apache.org | ||
resources: | ||
- builds/status | ||
- camelcatalogs/status | ||
- integrationkits/status | ||
- integrationplatforms/status | ||
- integrationprofiles/status | ||
- integrations/scale | ||
- integrations/status | ||
- pipes/scale | ||
- pipes/status | ||
- kamelets/status | ||
verbs: | ||
- get | ||
- patch | ||
- update | ||
--- | ||
apiVersion: rbac.authorization.k8s.io/v1 | ||
kind: ClusterRole | ||
metadata: | ||
labels: | ||
app: camel-k | ||
name: camel-k-operator-bind-addressable-resolver | ||
rules: | ||
- apiGroups: | ||
- rbac.authorization.k8s.io | ||
resourceNames: | ||
- addressable-resolver | ||
resources: | ||
- clusterroles | ||
verbs: | ||
- bind | ||
--- | ||
apiVersion: rbac.authorization.k8s.io/v1 | ||
kind: ClusterRole | ||
metadata: | ||
labels: | ||
app: camel-k | ||
name: camel-k-operator-custom-resource-definitions | ||
rules: | ||
- apiGroups: | ||
- apiextensions.k8s.io | ||
resources: | ||
- customresourcedefinitions | ||
verbs: | ||
- get | ||
--- | ||
apiVersion: rbac.authorization.k8s.io/v1 | ||
kind: ClusterRoleBinding | ||
metadata: | ||
labels: | ||
app: camel-k | ||
name: camel-k-operator-bind-addressable-resolver | ||
roleRef: | ||
apiGroup: rbac.authorization.k8s.io | ||
kind: ClusterRole | ||
name: camel-k-operator-bind-addressable-resolver | ||
subjects: | ||
- kind: ServiceAccount | ||
name: camel-k-operator | ||
namespace: '{{ .Release.Namespace }}' | ||
--- | ||
apiVersion: rbac.authorization.k8s.io/v1 | ||
kind: ClusterRoleBinding | ||
metadata: | ||
labels: | ||
app: camel-k | ||
name: camel-k-operator-custom-resource-definitions | ||
roleRef: | ||
apiGroup: rbac.authorization.k8s.io | ||
kind: ClusterRole | ||
name: camel-k-operator-custom-resource-definitions | ||
subjects: | ||
- kind: ServiceAccount | ||
name: camel-k-operator | ||
namespace: '{{ .Release.Namespace }}' |
Oops, something went wrong.