build: Removed unnecessary whitespaces/new lines in scripts/docs
cluster: Removed unnecessary whitespaces/new lines in scripts/docs Signed-off-by: Alexander Trost <galexrt@googlemail.com>
This commit is contained in:
4 files changed
+8
-8
No files matched your search
@@ -20,10 +20,10 @@
|
||||
scriptdir="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
|
||||
|
||||
cd "${scriptdir}/../../vendor/k8s.io/code-generator" && ./generate-groups.sh \
|
||||
all \
|
||||
github.com/rook/rook/pkg/client \
|
||||
github.com/rook/rook/pkg/apis \
|
||||
"rook.io:v1alpha1,v1alpha2 ceph.rook.io:v1alpha1 cockroachdb.rook.io:v1alpha1 minio.rook.io:v1alpha1"
|
||||
all \
|
||||
github.com/rook/rook/pkg/client \
|
||||
github.com/rook/rook/pkg/apis \
|
||||
"rook.io:v1alpha1,v1alpha2 ceph.rook.io:v1alpha1 cockroachdb.rook.io:v1alpha1 minio.rook.io:v1alpha1"
|
||||
# this seems busted in the release-1.8 branch
|
||||
# --go-header-file ${SCRIPT_ROOT}/build/codegen/header.txt
|
||||
|
||||
@@ -40,5 +40,5 @@ find "${scriptdir}/../../pkg/client" -name "clientset_generated.go" -exec \
|
||||
# Disables backslash+linefeed is literal check.
|
||||
find "${scriptdir}/../../pkg/client" -name "clientset_generated.go" -exec \
|
||||
$SED 's/return \&Clientset{fakePtr, \&fakediscovery.FakeDiscovery{Fake: \&fakePtr}}/cs.discovery = \&fakediscovery.FakeDiscovery{Fake: \&cs.Fake}\
|
||||
return cs/g' {} +
|
||||
return cs/g' {} +
|
||||
find "${scriptdir}/../../pkg/client" -name "clientset_generated.go.bak" -delete
|
||||
@@ -98,4 +98,4 @@ rules:
|
||||
verbs:
|
||||
- use
|
||||
{{- end }}
|
||||
{{- end }}
|
||||
{{- end }}
|
||||
@@ -37,4 +37,4 @@ subjects:
|
||||
name: rook-ceph-agent
|
||||
namespace: {{ .Release.Namespace }}
|
||||
{{- end }}
|
||||
{{- end }}
|
||||
{{- end }}
|
||||
@@ -1 +1 @@
|
||||
For documentation on running Rook in your Kubernetes cluster see the [Kubernetes Quickstart Guide](/Documentation/quickstart.md)
|
||||
For documentation on running Rook in your Kubernetes cluster see the [Kubernetes Quickstart Guide](/Documentation/quickstart.md)
|
||||
Reference in new issue
Block a user