Skip to content

Commit

Permalink
Merge branch 'xlab-uiuc:main' into main
Browse files Browse the repository at this point in the history
  • Loading branch information
ziyue-pan authored Mar 10, 2024
2 parents 48fe61b + f2b149d commit 862033f
Show file tree
Hide file tree
Showing 8 changed files with 13,759 additions and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Acto: Push-Button End-to-End Testing of Kubernetes Operators/Controllers
# Acto: Push-Button End-to-End Testing of Kubernetes Operators and Controllers
[![License](https://img.shields.io/badge/License-Apache_2.0-blue.svg)](https://opensource.org/licenses/Apache-2.0)
[![Regression Test](https://github.com/xlab-uiuc/acto/actions/workflows/unittest.yaml/badge.svg)](https://github.com/xlab-uiuc/acto/actions/workflows/unittest.yaml)
[![End-to-End Test](https://github.com/xlab-uiuc/acto/actions/workflows/e2e-test.yml/badge.svg)](https://github.com/xlab-uiuc/acto/actions/workflows/e2e-test.yml)
Expand Down
29 changes: 29 additions & 0 deletions data/minio-operator/config.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
{
"deploy": {
"steps": [
{
"apply": {
"file": "data/minio-operator/operator.yaml",
"operator": true
}
},
{
"wait": {
"duration": 10
}
},
{
"apply": {
"file": "data/minio-operator/tenant-config.yaml"
}
},
{
"apply": {
"file": "data/minio-operator/storage-user.yaml"
}
}
]
},
"crd_name": "tenants.minio.min.io",
"seed_custom_resource": "data/minio-operator/cr.yaml"
}
7,810 changes: 7,810 additions & 0 deletions data/minio-operator/context.json

Large diffs are not rendered by default.

81 changes: 81 additions & 0 deletions data/minio-operator/cr.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,81 @@
apiVersion: minio.min.io/v2
kind: Tenant
metadata:
name: test-cluster
namespace: minio-operator
scheduler:
name: ""
spec:
certConfig:
commonName: '*.minio-tenant-1-hl.minio-tenant-1.svc.cluster.local'
dnsNames:
- minio-tenant-1-ss-0-{0...2}.minio-tenant-1-hl.minio-tenant-1.svc.cluster.local
organizationName:
- system:nodes
configuration:
name: storage-configuration
exposeServices: {}
features:
enableSFTP: false
image: minio/minio:RELEASE.2024-01-31T20-20-33Z
imagePullPolicy: IfNotPresent
imagePullSecret: {}
mountPath: /export
podManagementPolicy: Parallel
pools:
- affinity:
podAntiAffinity:
requiredDuringSchedulingIgnoredDuringExecution:
- labelSelector:
matchExpressions:
- key: v1.min.io/tenant
operator: In
values:
- minio-tenant-1
topologyKey: kubernetes.io/hostname
name: ss-0
resources: {}
servers: 1
volumeClaimTemplate:
apiVersion: v1
kind: persistentvolumeclaims
spec:
accessModes:
- ReadWriteOnce
resources:
requests:
storage: 2Gi
storageClassName: standard
status: {}
volumesPerServer: 1
requestAutoCert: true
serviceAccountName: minio-tenant-1-sa
users:
- name: storage-user
status:
availableReplicas: 0
certificates: {}
currentState: ""
pools: null
revision: 0
syncVersion: ""
usage: {}

# ---
# apiVersion: v1
# data:
# config.env: ZXhwb3J0IE1JTklPX1JPT1RfVVNFUj0iQ0U4NzdHWVlLUUNENDJOREVCODQiCmV4cG9ydCBNSU5JT19ST09UX1BBU1NXT1JEPSJLcmQ5QmNTQ0JoZXVIaFBKenB1M2QwOFVVdXRvUFBBWTZHU3JjQ1FVIgo=
# kind: Secret
# metadata:
# name: minio-tenant-1-env-configuration
# namespace: minio-operator

# ---
# apiVersion: v1
# data:
# CONSOLE_ACCESS_KEY: MExZSVY3V1lJWk5VWVlOQzVIUU8=
# CONSOLE_SECRET_KEY: dEoxVWVvRkwyZ04zME1BSWlqdHJUVTcxZXZHN1pIZkRNMkdIYkgwZg==
# kind: Secret
# metadata:
# name: minio-tenant-1-user-1
# namespace: minio-operator
Loading

0 comments on commit 862033f

Please sign in to comment.