Last active
April 7, 2021 09:27
-
-
Save shovanmaity/e7295256af1eed55c17b90cf0e56697a to your computer and use it in GitHub Desktop.
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
apiVersion: v1 | |
kind: ServiceAccount | |
metadata: | |
name: data-source-validator | |
namespace: kube-system | |
--- | |
kind: ClusterRole | |
apiVersion: rbac.authorization.k8s.io/v1 | |
metadata: | |
name: data-source-validator | |
rules: | |
- apiGroups: [populator.storage.k8s.io] | |
resources: [volumepopulators] | |
verbs: [get, list, watch] | |
- apiGroups: [""] | |
resources: [persistentvolumeclaims] | |
verbs: [get, list, watch] | |
- apiGroups: [""] | |
resources: [events] | |
verbs: [list, watch, create, update, patch] | |
--- | |
kind: ClusterRoleBinding | |
apiVersion: rbac.authorization.k8s.io/v1 | |
metadata: | |
name: data-source-validator | |
subjects: | |
- kind: ServiceAccount | |
name: data-source-validator | |
namespace: kube-system | |
roleRef: | |
kind: ClusterRole | |
name: data-source-validator | |
apiGroup: rbac.authorization.k8s.io | |
--- | |
kind: StatefulSet | |
apiVersion: apps/v1 | |
metadata: | |
name: data-source-validator | |
namespace: kube-system | |
spec: | |
serviceName: data-source-validator | |
replicas: 1 | |
selector: | |
matchLabels: | |
app: data-source-validator | |
template: | |
metadata: | |
labels: | |
app: data-source-validator | |
spec: | |
serviceAccount: data-source-validator | |
containers: | |
- name: data-source-validator | |
image: shovan1995/data-source-validator:latest1 | |
args: | |
- "--v=5" | |
- "--leader-election=false" | |
imagePullPolicy: Always | |
--- | |
apiVersion: apiextensions.k8s.io/v1 | |
kind: CustomResourceDefinition | |
metadata: | |
annotations: | |
controller-gen.kubebuilder.io/version: v0.2.4 | |
api-approved.kubernetes.io: unapproved | |
creationTimestamp: null | |
name: volumepopulators.populator.storage.k8s.io | |
spec: | |
group: populator.storage.k8s.io | |
names: | |
kind: VolumePopulator | |
listKind: VolumePopulatorList | |
plural: volumepopulators | |
singular: volumepopulator | |
scope: Namespaced | |
versions: | |
- name: v1alpha1 | |
schema: | |
openAPIV3Schema: | |
description: VolumePopulator represents the registration for a volume populator | |
properties: | |
apiVersion: | |
description: 'APIVersion defines the versioned schema of this representation | |
of an object. Servers should convert recognized schemas to the latest | |
internal value, and may reject unrecognized values. More info: | |
https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' | |
type: string | |
kind: | |
description: 'Kind is a string value representing the REST resource this | |
object represents. Servers may infer this from the endpoint the client | |
submits requests to. Cannot be updated. In CamelCase. More info: | |
https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' | |
type: string | |
sourceKind: | |
description: Kind of the data source this populator supports | |
properties: | |
group: | |
type: string | |
kind: | |
type: string | |
required: | |
- group | |
- kind | |
type: object | |
required: | |
- sourceKind | |
type: object | |
served: true | |
storage: true | |
status: | |
acceptedNames: | |
kind: "" | |
plural: "" | |
conditions: [] | |
storedVersions: [] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment