Skip to content
This repository was archived by the owner on Apr 23, 2023. It is now read-only.
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions config/certmanager/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,9 @@
# limitations under the License.

---
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization

resources:
- certificate.yaml

Expand Down
3 changes: 3 additions & 0 deletions config/crd/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,9 @@
# since it depends on service name and namespace that are out of this kustomize package.
# It should be run by config/default
---
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization

resources:
- bases/airflow.apache.org_airflowbases.yaml
- bases/airflow.apache.org_airflowclusters.yaml
Expand Down
7 changes: 5 additions & 2 deletions config/default/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,11 @@
# See the License for the specific language governing permissions and
# limitations under the License.

# Adds namespace to all resources.
---
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization

# Adds namespace to all resources.
namespace: airflow-on-k8s-operator-system

# Value of this field is prepended to the
Expand All @@ -28,7 +31,7 @@ namePrefix: airflow-on-k8s-operator-
# commonLabels:
# someName: someValue

bases:
resources:
- ../crd
- ../rbac
- ../manager
Expand Down
3 changes: 3 additions & 0 deletions config/manager/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,5 +14,8 @@
# limitations under the License.

---
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization

resources:
- manager.yaml
3 changes: 3 additions & 0 deletions config/prometheus/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,5 +14,8 @@
# limitations under the License.

---
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization

resources:
- monitor.yaml
3 changes: 3 additions & 0 deletions config/rbac/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,9 @@
# limitations under the License.

---
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization

resources:
- role.yaml
- role_binding.yaml
Expand Down
33 changes: 24 additions & 9 deletions config/rbac/role.yaml
Original file line number Diff line number Diff line change
@@ -1,13 +1,28 @@
# 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:
creationTimestamp: null
name: manager-role
rules:
- resources:
- configmaps
- apiGroups:
- ""
resources:
- configmaps
verbs:
- create
- delete
Expand All @@ -16,8 +31,8 @@ rules:
- patch
- update
- watch
- resources:
- secrets
resources:
- secrets
verbs:
- create
- delete
Expand All @@ -26,8 +41,8 @@ rules:
- patch
- update
- watch
- resources:
- serviceaccounts
resources:
- serviceaccounts
verbs:
- create
- delete
Expand All @@ -36,8 +51,8 @@ rules:
- patch
- update
- watch
- resources:
- services
resources:
- services
verbs:
- create
- delete
Expand Down