Init kubebuilder with ressource and controller

This commit is contained in:
Nicolas CARON
2024-06-07 13:28:49 +02:00
commit 795d6f256c
42 changed files with 2178 additions and 0 deletions

View File

@@ -0,0 +1,5 @@
## Append samples of your project ##
resources:
- webapp_v1_operator-test.yaml
- webapp_v1_operator.yaml
# +kubebuilder:scaffold:manifestskustomizesamples

View File

@@ -0,0 +1,9 @@
apiVersion: webapp.localhost/v1
kind: Operator-test
metadata:
labels:
app.kubernetes.io/name: operator-test
app.kubernetes.io/managed-by: kustomize
name: operator-test-sample
spec:
# TODO(user): Add fields here

View File

@@ -0,0 +1,9 @@
apiVersion: webapp.localhost/v1
kind: Operator
metadata:
labels:
app.kubernetes.io/name: operator-test
app.kubernetes.io/managed-by: kustomize
name: operator-sample
spec:
# TODO(user): Add fields here