In your CKAD course on Udemy, I am following this lab:
However, step 5 always validates as Incomplete no matter what I do. And there is no Solution video on Udemy, which is enormously frustrating. I suspect that the instructions on the sixth screen, which request a custom datacenter resource, are erroneous or incomplete. Here is what I have, which always validates as Incomplete. What in the world am I doing wrong here?
controlplane ~ ➜ cat datacenter-crd.yaml
apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
name: datacenters.traffic.controller
spec:
group: traffic.controller
versions:
- name: v1
served: true
storage: true
schema:
openAPIV3Schema:
type: object
properties:
spec:
type: object
properties:
dataField:
type: integer
access:
type: boolean
scope: Namespaced
names:
plural: datacenters
singular: datacenter
kind: Datacenter
shortNames:
- dc
controlplane ~ ➜ cat datacenter.yaml
kind: Datacenter
apiVersion: traffic.controller/v1
metadata:
name: datacenter
namespace: default
spec:
dataField: 2
access: true