diff --git a/docs/crds/notification-manager.md b/docs/crds/notification-manager.md index 9c378c23..83bc9204 100644 --- a/docs/crds/notification-manager.md +++ b/docs/crds/notification-manager.md @@ -68,6 +68,7 @@ A NotificationManager resource allows the user to define: Properties of Notification Manager webhook deployment. - `resources` +- `env` - `image` - `imagePullPolicy` - `replicas` diff --git a/pkg/apis/v2beta2/zz_generated.deepcopy.go b/pkg/apis/v2beta2/zz_generated.deepcopy.go index a4824c71..1d9b350a 100644 --- a/pkg/apis/v2beta2/zz_generated.deepcopy.go +++ b/pkg/apis/v2beta2/zz_generated.deepcopy.go @@ -948,6 +948,13 @@ func (in *NotificationManagerSpec) DeepCopyInto(out *NotificationManagerSpec) { *out = new(ReceiversSpec) (*in).DeepCopyInto(*out) } + if in.Env != nil { + in, out := &in.Env, &out.Env + *out = make([]v1.EnvVar, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } if in.Volumes != nil { in, out := &in.Volumes, &out.Volumes *out = make([]v1.Volume, len(*in))