Last active
August 7, 2017 18:58
-
-
Save ironcladlou/2dbf9fa75082f6c2ffc526db02a056dd 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: apiextensions.k8s.io/v1beta1 | |
kind: CustomResourceDefinition | |
metadata: | |
# name must be in the form: plural.group | |
name: clustercrontabss.stable.example.com | |
spec: | |
# group name to use for REST API: /apis/<group>/<version> | |
group: stable.example.com | |
# version name to use for REST API: /apis/<group>/<version> | |
version: v1 | |
# either Namespaced or Cluster | |
scope: Namespaced | |
names: | |
# plural name to be used in the URL: /apis/<group>/<version>/<plural> | |
plural: clustercrontabss | |
# singular name to be used as alias on the CLI and for display | |
singular: clustercrontabs | |
# kind is normally the CamelCased singular type. Your resource manifests use this | |
kind: ClusterCronTabs | |
# shortNames allow shorter string to match your resource on the CLI | |
shortNames: | |
- cct |
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: "stable.example.com/v1" | |
kind: ClusterCronTabs | |
metadata: | |
name: parent-cluster-cron | |
spec: | |
cronSpec: "* * * * /5" | |
image: my-awesome-cron-image |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment