mirror of
https://github.com/jenkinsci/kubernetes-operator.git
synced 2026-10-17 21:35:38 +02:00
Add option to skip install of plugins (#1065)
Co-authored-by: Luigi Operoso <40476330+brokenpip3@users.noreply.github.com>
This commit is contained in:
co-authored by
Luigi Operoso
parent
132fcb22dc
commit
69bdd916d5
@@ -377,6 +377,12 @@ type JenkinsMaster struct {
|
||||
// +optional
|
||||
LatestPlugins *bool `json:"latestPlugins,omitempty"`
|
||||
|
||||
// Allow to skip installation of both BasePlugins and Plugins.
|
||||
// Requires using a custom image which includes the BasePlugins.
|
||||
// Defaults to false.
|
||||
// +optional
|
||||
SkipPlugins *bool `json:"skipPlugins,omitempty"`
|
||||
|
||||
// DisableCSRFProtection allows you to toggle CSRF Protection on Jenkins
|
||||
DisableCSRFProtection bool `json:"disableCSRFProtection"`
|
||||
|
||||
|
||||
@@ -361,6 +361,11 @@ func (in *JenkinsMaster) DeepCopyInto(out *JenkinsMaster) {
|
||||
*out = new(bool)
|
||||
**out = **in
|
||||
}
|
||||
if in.SkipPlugins != nil {
|
||||
in, out := &in.SkipPlugins, &out.SkipPlugins
|
||||
*out = new(bool)
|
||||
**out = **in
|
||||
}
|
||||
if in.HostAliases != nil {
|
||||
in, out := &in.HostAliases, &out.HostAliases
|
||||
*out = make([]corev1.HostAlias, len(*in))
|
||||
|
||||
Reference in New Issue
Block a user