mirror of
https://github.com/jenkinsci/kubernetes-operator.git
synced 2026-10-21 12:39:33 +02:00
Update and use install-plugins.sh (#756)
* Download install-plugins.sh manually from remote * Reformat * Goimports * Use install-plugins.sh bundled with the operator * Fix compile error * Update install-plugins.sh * Remove redundant param to new install-plugins.sh Co-authored-by: Piotr Ryba <pryba@virtuslab.com>
This commit is contained in:
co-authored by
Piotr Ryba
parent
4c2671c1a3
commit
bef796af8a
@@ -23,7 +23,7 @@ package v1alpha2
|
||||
|
||||
import (
|
||||
corev1 "k8s.io/api/core/v1"
|
||||
"k8s.io/api/rbac/v1"
|
||||
rbacv1 "k8s.io/api/rbac/v1"
|
||||
"k8s.io/apimachinery/pkg/runtime"
|
||||
)
|
||||
|
||||
@@ -400,7 +400,7 @@ func (in *JenkinsSpec) DeepCopyInto(out *JenkinsSpec) {
|
||||
in.ConfigurationAsCode.DeepCopyInto(&out.ConfigurationAsCode)
|
||||
if in.Roles != nil {
|
||||
in, out := &in.Roles, &out.Roles
|
||||
*out = make([]v1.RoleRef, len(*in))
|
||||
*out = make([]rbacv1.RoleRef, len(*in))
|
||||
copy(*out, *in)
|
||||
}
|
||||
in.ServiceAccount.DeepCopyInto(&out.ServiceAccount)
|
||||
|
||||
Reference in New Issue
Block a user