Crd Setup _best_
kubectl apply -f issuer.yaml
Verify that the certificate request has been created and is pending: crd setup
Apply the file to your cluster using kubectl . This registers the new API endpoint. kubectl apply -f issuer
To successfully set up a CRD workflow:
apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: # The name must match the spec.names.plural + spec.group name: crontabs.stable.example.com spec: # Group name for the API (e.g., stable.example.com) group: stable.example.com # API version versions: - name: v1 served: true storage: true # OpenAPI V3 schema for validation schema: openAPIV3Schema: type: object properties: spec: type: object properties: cronSpec: type: string image: type: string replicas: type: integer # Scope can be "Namespaced" or "Cluster" scope: Namespaced names: # Plural name (used in URL) plural: crontabs # Singular name (used in CLI) singular: crontab # Kind is normally the CamelCased singular type kind: CronTab # Shortcuts for kubectl shortNames: - ct crd setup



