mirror of
https://github.com/niusmallnan/steve.git
synced 2025-06-28 07:26:57 +00:00
Delete extra files from development
This commit is contained in:
parent
cfcf1a5196
commit
1971d57a31
64
go.mod.dev
64
go.mod.dev
@ -1,64 +0,0 @@
|
|||||||
module github.com/rancher/steve
|
|
||||||
|
|
||||||
go 1.13
|
|
||||||
|
|
||||||
replace (
|
|
||||||
git.apache.org/thrift.git => github.com/apache/thrift v0.12.0
|
|
||||||
github.com/Azure/go-autorest => github.com/Azure/go-autorest v12.2.0+incompatible
|
|
||||||
github.com/crewjam/saml => github.com/rancher/saml v0.0.0-20180713225824-ce1532152fde
|
|
||||||
github.com/knative/pkg => github.com/rancher/pkg v0.0.0-20190514055449-b30ab9de040e
|
|
||||||
github.com/matryer/moq => github.com/rancher/moq v0.0.0-20190404221404-ee5226d43009
|
|
||||||
github.com/prometheus/client_golang => github.com/prometheus/client_golang v0.9.3
|
|
||||||
|
|
||||||
k8s.io/api => k8s.io/api v0.18.0
|
|
||||||
k8s.io/apiextensions-apiserver => k8s.io/apiextensions-apiserver v0.18.0
|
|
||||||
k8s.io/apimachinery => k8s.io/apimachinery v0.18.0
|
|
||||||
k8s.io/apiserver => k8s.io/apiserver v0.18.0
|
|
||||||
k8s.io/cli-runtime => k8s.io/cli-runtime v0.18.0
|
|
||||||
k8s.io/client-go => github.com/rancher/client-go v1.18.0-rancher.1
|
|
||||||
k8s.io/cloud-provider => k8s.io/cloud-provider v0.18.0
|
|
||||||
k8s.io/cluster-bootstrap => k8s.io/cluster-bootstrap v0.18.0
|
|
||||||
k8s.io/code-generator => k8s.io/code-generator v0.18.0
|
|
||||||
k8s.io/component-base => k8s.io/component-base v0.18.0
|
|
||||||
k8s.io/cri-api => k8s.io/cri-api v0.18.0
|
|
||||||
k8s.io/csi-translation-lib => k8s.io/csi-translation-lib v0.18.0
|
|
||||||
k8s.io/kube-aggregator => k8s.io/kube-aggregator v0.18.0
|
|
||||||
k8s.io/kube-controller-manager => k8s.io/kube-controller-manager v0.18.0
|
|
||||||
k8s.io/kube-proxy => k8s.io/kube-proxy v0.18.0
|
|
||||||
k8s.io/kube-scheduler => k8s.io/kube-scheduler v0.18.0
|
|
||||||
k8s.io/kubectl => k8s.io/kubectl v0.18.0
|
|
||||||
k8s.io/kubelet => k8s.io/kubelet v0.18.0
|
|
||||||
k8s.io/kubernetes => k8s.io/kubernetes v1.18.0
|
|
||||||
k8s.io/legacy-cloud-providers => k8s.io/legacy-cloud-providers v0.18.0
|
|
||||||
k8s.io/metrics => k8s.io/metrics v0.18.0
|
|
||||||
k8s.io/sample-apiserver => k8s.io/sample-apiserver v0.18.0
|
|
||||||
|
|
||||||
github.com/rancher/rancher/pkg/auth => ../rancher/pkg/auth
|
|
||||||
)
|
|
||||||
|
|
||||||
require (
|
|
||||||
github.com/golang/protobuf v1.3.2
|
|
||||||
github.com/gorilla/mux v1.7.3
|
|
||||||
github.com/pkg/errors v0.9.1
|
|
||||||
github.com/rancher/apiserver v0.0.0-20200612212259-10457317eb0b
|
|
||||||
github.com/rancher/dynamiclistener v0.2.1-0.20200213165308-111c5b43e932
|
|
||||||
github.com/rancher/norman v0.0.0-20200517050325-f53cae161640
|
|
||||||
github.com/rancher/rancher/pkg/auth v0.0.0-20200612062006-9ccb702b9571
|
|
||||||
github.com/rancher/wrangler v0.6.2-0.20200515155908-1923f3f8ec3f
|
|
||||||
github.com/rancher/wrangler v0.6.1-0.20200515193802-dcf70881b087
|
|
||||||
github.com/sirupsen/logrus v1.4.2
|
|
||||||
github.com/urfave/cli v1.22.2
|
|
||||||
github.com/urfave/cli/v2 v2.1.1
|
|
||||||
golang.org/x/sync v0.0.0-20190911185100-cd5d95a43a6e
|
|
||||||
helm.sh/helm/v3 v3.2.0
|
|
||||||
k8s.io/api v0.18.0
|
|
||||||
k8s.io/apiextensions-apiserver v0.18.0
|
|
||||||
k8s.io/apimachinery v0.18.0
|
|
||||||
k8s.io/apiserver v0.18.0
|
|
||||||
k8s.io/client-go v12.0.0+incompatible
|
|
||||||
k8s.io/helm v2.16.7+incompatible
|
|
||||||
k8s.io/klog v1.0.0
|
|
||||||
k8s.io/kube-aggregator v0.18.0
|
|
||||||
k8s.io/kube-openapi v0.0.0-20200121204235-bf4fb3bd569c
|
|
||||||
sigs.k8s.io/yaml v1.2.0
|
|
||||||
)
|
|
39
loop.sh
39
loop.sh
@ -1,39 +0,0 @@
|
|||||||
#kubectl create -f - << EOF
|
|
||||||
#kind: ConfigMap
|
|
||||||
#apiVersion: v1
|
|
||||||
#metadata:
|
|
||||||
# name: test
|
|
||||||
# ownerReferences:
|
|
||||||
# - kind: bad
|
|
||||||
# apiVersion: bad
|
|
||||||
# name: bad
|
|
||||||
# uid: "${RANDOM}${RANDOM}"
|
|
||||||
#EOF
|
|
||||||
#
|
|
||||||
#while true; do
|
|
||||||
# kubectl apply -f - << EOF
|
|
||||||
#kind: ConfigMap
|
|
||||||
#apiVersion: v1
|
|
||||||
#metadata:
|
|
||||||
# name: test
|
|
||||||
# ownerReferences:
|
|
||||||
# - kind: bad
|
|
||||||
# apiVersion: bad
|
|
||||||
# name: bad
|
|
||||||
# uid: "${RANDOM}${RANDOM}"
|
|
||||||
#EOF
|
|
||||||
#
|
|
||||||
#done
|
|
||||||
while true; do
|
|
||||||
(kubectl create -f - -o json | kubectl delete -f - ) << EOF
|
|
||||||
kind: ConfigMap
|
|
||||||
apiVersion: v1
|
|
||||||
metadata:
|
|
||||||
generateName: test-
|
|
||||||
ownerReferences:
|
|
||||||
- kind: bad
|
|
||||||
apiVersion: bad
|
|
||||||
name: bad
|
|
||||||
uid: "${RANDOM}${RANDOM}"
|
|
||||||
EOF
|
|
||||||
done
|
|
@ -1,9 +0,0 @@
|
|||||||
kind: ConfigMap
|
|
||||||
apiVersion: v1
|
|
||||||
metadata:
|
|
||||||
generateName: test-
|
|
||||||
ownerReferences:
|
|
||||||
- kind: bad
|
|
||||||
apiVersion: bad
|
|
||||||
name: bad
|
|
||||||
uid: bad2
|
|
@ -1,9 +0,0 @@
|
|||||||
kind: ConfigMap
|
|
||||||
apiVersion: v1
|
|
||||||
metadata:
|
|
||||||
generateName: child-
|
|
||||||
ownerReferences:
|
|
||||||
- kind: ConfigMap
|
|
||||||
apiVersion: v1
|
|
||||||
name: bad
|
|
||||||
uid: bad
|
|
20
user.yaml
20
user.yaml
@ -1,20 +0,0 @@
|
|||||||
apiVersion: management.cattle.io/v3
|
|
||||||
displayName: Default Admin
|
|
||||||
kind: User
|
|
||||||
metadata:
|
|
||||||
name: admin
|
|
||||||
password: $2a$10$LWysOkIa80mPXJ9W9dyuteKEP2LIswCURen2fNNuKhnjQ1RLYV00K
|
|
||||||
username: admin
|
|
||||||
|
|
||||||
---
|
|
||||||
apiVersion: rbac.authorization.k8s.io/v1
|
|
||||||
kind: ClusterRoleBinding
|
|
||||||
metadata:
|
|
||||||
name: imclusteradmin
|
|
||||||
roleRef:
|
|
||||||
apiGroup: rbac.authorization.k8s.io
|
|
||||||
kind: ClusterRole
|
|
||||||
name: cluster-admin
|
|
||||||
subjects:
|
|
||||||
- kind: User
|
|
||||||
name: admin
|
|
Loading…
Reference in New Issue
Block a user