195 lines
3.8 KiB
YAML
195 lines
3.8 KiB
YAML
# Copyright 2017 the Heptio Ark contributors.
|
|
#
|
|
# Licensed 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: apiextensions.k8s.io/v1beta1
|
|
kind: CustomResourceDefinition
|
|
metadata:
|
|
name: backups.ark.heptio.com
|
|
labels:
|
|
component: ark
|
|
spec:
|
|
group: ark.heptio.com
|
|
version: v1
|
|
scope: Namespaced
|
|
names:
|
|
plural: backups
|
|
kind: Backup
|
|
|
|
---
|
|
apiVersion: apiextensions.k8s.io/v1beta1
|
|
kind: CustomResourceDefinition
|
|
metadata:
|
|
name: schedules.ark.heptio.com
|
|
labels:
|
|
component: ark
|
|
spec:
|
|
group: ark.heptio.com
|
|
version: v1
|
|
scope: Namespaced
|
|
names:
|
|
plural: schedules
|
|
kind: Schedule
|
|
|
|
---
|
|
apiVersion: apiextensions.k8s.io/v1beta1
|
|
kind: CustomResourceDefinition
|
|
metadata:
|
|
name: restores.ark.heptio.com
|
|
labels:
|
|
component: ark
|
|
spec:
|
|
group: ark.heptio.com
|
|
version: v1
|
|
scope: Namespaced
|
|
names:
|
|
plural: restores
|
|
kind: Restore
|
|
|
|
---
|
|
apiVersion: apiextensions.k8s.io/v1beta1
|
|
kind: CustomResourceDefinition
|
|
metadata:
|
|
name: downloadrequests.ark.heptio.com
|
|
labels:
|
|
component: ark
|
|
spec:
|
|
group: ark.heptio.com
|
|
version: v1
|
|
scope: Namespaced
|
|
names:
|
|
plural: downloadrequests
|
|
kind: DownloadRequest
|
|
|
|
---
|
|
apiVersion: apiextensions.k8s.io/v1beta1
|
|
kind: CustomResourceDefinition
|
|
metadata:
|
|
name: deletebackuprequests.ark.heptio.com
|
|
labels:
|
|
component: ark
|
|
spec:
|
|
group: ark.heptio.com
|
|
version: v1
|
|
scope: Namespaced
|
|
names:
|
|
plural: deletebackuprequests
|
|
kind: DeleteBackupRequest
|
|
|
|
---
|
|
apiVersion: apiextensions.k8s.io/v1beta1
|
|
kind: CustomResourceDefinition
|
|
metadata:
|
|
name: podvolumebackups.ark.heptio.com
|
|
labels:
|
|
component: ark
|
|
spec:
|
|
group: ark.heptio.com
|
|
version: v1
|
|
scope: Namespaced
|
|
names:
|
|
plural: podvolumebackups
|
|
kind: PodVolumeBackup
|
|
|
|
---
|
|
apiVersion: apiextensions.k8s.io/v1beta1
|
|
kind: CustomResourceDefinition
|
|
metadata:
|
|
name: podvolumerestores.ark.heptio.com
|
|
labels:
|
|
component: ark
|
|
spec:
|
|
group: ark.heptio.com
|
|
version: v1
|
|
scope: Namespaced
|
|
names:
|
|
plural: podvolumerestores
|
|
kind: PodVolumeRestore
|
|
|
|
---
|
|
apiVersion: apiextensions.k8s.io/v1beta1
|
|
kind: CustomResourceDefinition
|
|
metadata:
|
|
name: resticrepositories.ark.heptio.com
|
|
labels:
|
|
component: ark
|
|
spec:
|
|
group: ark.heptio.com
|
|
version: v1
|
|
scope: Namespaced
|
|
names:
|
|
plural: resticrepositories
|
|
kind: ResticRepository
|
|
|
|
---
|
|
apiVersion: apiextensions.k8s.io/v1beta1
|
|
kind: CustomResourceDefinition
|
|
metadata:
|
|
name: backupstoragelocations.ark.heptio.com
|
|
labels:
|
|
component: ark
|
|
spec:
|
|
group: ark.heptio.com
|
|
version: v1
|
|
scope: Namespaced
|
|
names:
|
|
plural: backupstoragelocations
|
|
kind: BackupStorageLocation
|
|
|
|
---
|
|
apiVersion: apiextensions.k8s.io/v1beta1
|
|
kind: CustomResourceDefinition
|
|
metadata:
|
|
name: volumesnapshotlocations.ark.heptio.com
|
|
labels:
|
|
component: ark
|
|
spec:
|
|
group: ark.heptio.com
|
|
version: v1
|
|
scope: Namespaced
|
|
names:
|
|
plural: volumesnapshotlocations
|
|
kind: VolumeSnapshotLocation
|
|
|
|
---
|
|
apiVersion: v1
|
|
kind: Namespace
|
|
metadata:
|
|
name: heptio-ark
|
|
|
|
---
|
|
apiVersion: v1
|
|
kind: ServiceAccount
|
|
metadata:
|
|
name: ark
|
|
namespace: heptio-ark
|
|
labels:
|
|
component: ark
|
|
|
|
---
|
|
apiVersion: rbac.authorization.k8s.io/v1beta1
|
|
kind: ClusterRoleBinding
|
|
metadata:
|
|
name: ark
|
|
labels:
|
|
component: ark
|
|
subjects:
|
|
- kind: ServiceAccount
|
|
namespace: heptio-ark
|
|
name: ark
|
|
roleRef:
|
|
kind: ClusterRole
|
|
name: cluster-admin
|
|
apiGroup: rbac.authorization.k8s.io
|