We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a438d33 commit 5dce377Copy full SHA for 5dce377
pkg/apis/deployment/v1alpha/sync_spec.go
@@ -89,6 +89,9 @@ func (s *SyncSpec) SetDefaultsFrom(source SyncSpec) {
89
// Field names are relative to given field prefix.
90
func (s SyncSpec) ResetImmutableFields(fieldPrefix string, target *SyncSpec) []string {
91
var resetFields []string
92
+ if list := s.ExternalAccess.ResetImmutableFields(fieldPrefix+".externalAccess", &target.ExternalAccess); len(list) > 0 {
93
+ resetFields = append(resetFields, list...)
94
+ }
95
if list := s.Authentication.ResetImmutableFields(fieldPrefix+".auth", &target.Authentication); len(list) > 0 {
96
resetFields = append(resetFields, list...)
97
}
0 commit comments