Skip to content

Commit 93a8b9b

Browse files
author
runzexia
committed
rm not resource validate
1 parent 289562d commit 93a8b9b

File tree

3 files changed

+0
-12
lines changed

3 files changed

+0
-12
lines changed

pkg/scaffold/resource/authproxyrole.go

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -41,10 +41,6 @@ func (r *AuthProxyRole) GetInput() (input.Input, error) {
4141
return r.Input, nil
4242
}
4343

44-
// Validate validates the values
45-
func (r *AuthProxyRole) Validate() error {
46-
return r.Resource.Validate()
47-
}
4844

4945
var proxyRoleTemplate = `apiVersion: rbac.authorization.k8s.io/v1
5046
kind: ClusterRole

pkg/scaffold/resource/authproxyrolebinding.go

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -41,10 +41,6 @@ func (r *AuthProxyRoleBinding) GetInput() (input.Input, error) {
4141
return r.Input, nil
4242
}
4343

44-
// Validate validates the values
45-
func (r *AuthProxyRoleBinding) Validate() error {
46-
return r.Resource.Validate()
47-
}
4844

4945
var proxyRoleBindinggTemplate = `apiVersion: rbac.authorization.k8s.io/v1
5046
kind: ClusterRoleBinding

pkg/scaffold/resource/authproxyservice.go

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -41,10 +41,6 @@ func (r *AuthProxyService) GetInput() (input.Input, error) {
4141
return r.Input, nil
4242
}
4343

44-
// Validate validates the values
45-
func (r *AuthProxyService) Validate() error {
46-
return r.Resource.Validate()
47-
}
4844

4945
var AuthProxyServiceTemplate = `apiVersion: v1
5046
kind: Service

0 commit comments

Comments
 (0)