diff --git a/test/addons/velero/credentials.conf b/test/addons/velero/credentials.conf new file mode 100644 index 0000000000..735edc7c17 --- /dev/null +++ b/test/addons/velero/credentials.conf @@ -0,0 +1,3 @@ +[default] +aws_access_key_id = minio +aws_secret_access_key = minio123 diff --git a/test/addons/velero/nginx.yaml b/test/addons/velero/nginx.yaml new file mode 100644 index 0000000000..3ef39cd146 --- /dev/null +++ b/test/addons/velero/nginx.yaml @@ -0,0 +1,48 @@ +# SPDX-FileCopyrightText: 2017 the Velero contributors +# SPDX-License-Identifier: Apache-2.0 + +--- +apiVersion: v1 +kind: Namespace +metadata: + name: nginx-example + labels: + app: nginx + +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: nginx-deployment + namespace: nginx-example +spec: + replicas: 2 + selector: + matchLabels: + app: nginx + template: + metadata: + labels: + app: nginx + spec: + containers: + - image: nginx:1.17.6 + name: nginx + ports: + - containerPort: 80 + +--- +apiVersion: v1 +kind: Service +metadata: + labels: + app: nginx + name: my-nginx + namespace: nginx-example +spec: + ports: + - port: 80 + targetPort: 80 + selector: + app: nginx + type: LoadBalancer