From 03af131274115882c2f19b765d71a6f5d6ee73bd Mon Sep 17 00:00:00 2001 From: Zhang Date: Tue, 7 Jul 2020 16:22:17 -0700 Subject: [PATCH] crd --- helm3-crd/Chart.yaml | 6 ++++++ helm3-crd/crds/crd.yaml | 14 ++++++++++++++ helm3-crd/templates/config-map.yaml | 6 ++++++ helm3-crd/templates/crontab-cr.yaml | 7 +++++++ helm3-crd/values.yaml | 0 5 files changed, 33 insertions(+) create mode 100644 helm3-crd/Chart.yaml create mode 100644 helm3-crd/crds/crd.yaml create mode 100644 helm3-crd/templates/config-map.yaml create mode 100644 helm3-crd/templates/crontab-cr.yaml create mode 100644 helm3-crd/values.yaml diff --git a/helm3-crd/Chart.yaml b/helm3-crd/Chart.yaml new file mode 100644 index 0000000..ddbd76d --- /dev/null +++ b/helm3-crd/Chart.yaml @@ -0,0 +1,6 @@ +apiVersion: v2 +name: argocd-helm3-crd +description: A Helm chart for Kubernetes +type: application +version: 0.1.0 +appVersion: 1.16.0 diff --git a/helm3-crd/crds/crd.yaml b/helm3-crd/crds/crd.yaml new file mode 100644 index 0000000..a9fb374 --- /dev/null +++ b/helm3-crd/crds/crd.yaml @@ -0,0 +1,14 @@ +apiVersion: apiextensions.k8s.io/v1beta1 +kind: CustomResourceDefinition +metadata: + name: testcrontabs.test.example.com +spec: + group: test.example.com + version: v1 + scope: Namespaced + names: + plural: testcrontabs + singular: testcrontab + kind: TestCronTab + shortNames: + - ct \ No newline at end of file diff --git a/helm3-crd/templates/config-map.yaml b/helm3-crd/templates/config-map.yaml new file mode 100644 index 0000000..b781028 --- /dev/null +++ b/helm3-crd/templates/config-map.yaml @@ -0,0 +1,6 @@ +apiVersion: v1 +kind: ConfigMap +metadata: + name: my-map +data: + foo: bar \ No newline at end of file diff --git a/helm3-crd/templates/crontab-cr.yaml b/helm3-crd/templates/crontab-cr.yaml new file mode 100644 index 0000000..89eac88 --- /dev/null +++ b/helm3-crd/templates/crontab-cr.yaml @@ -0,0 +1,7 @@ +apiVersion: test.example.com/v1 +kind: TestCronTab +metadata: + name: test-crontab +spec: + destination: + server: https://kubernetes.default.svc \ No newline at end of file diff --git a/helm3-crd/values.yaml b/helm3-crd/values.yaml new file mode 100644 index 0000000..e69de29