Skip to content

Commit

Permalink
Add apimachinery code for kubeauditformat flag
Browse files Browse the repository at this point in the history
  • Loading branch information
Purandare, Aditya committed Dec 21, 2017
1 parent 841cd83 commit aaf682d
Show file tree
Hide file tree
Showing 5 changed files with 31 additions and 0 deletions.
2 changes: 2 additions & 0 deletions pkg/apis/kops/v1alpha1/zz_generated.conversion.go
Original file line number Diff line number Diff line change
Expand Up @@ -1835,6 +1835,7 @@ func autoConvert_v1alpha1_KubeAPIServerConfig_To_kops_KubeAPIServerConfig(in *Ku
out.OIDCCAFile = in.OIDCCAFile
out.ProxyClientCertFile = in.ProxyClientCertFile
out.ProxyClientKeyFile = in.ProxyClientKeyFile
out.AuditLogFormat = in.AuditLogFormat
out.AuditLogPath = in.AuditLogPath
out.AuditLogMaxAge = in.AuditLogMaxAge
out.AuditLogMaxBackups = in.AuditLogMaxBackups
Expand Down Expand Up @@ -1894,6 +1895,7 @@ func autoConvert_kops_KubeAPIServerConfig_To_v1alpha1_KubeAPIServerConfig(in *ko
out.OIDCCAFile = in.OIDCCAFile
out.ProxyClientCertFile = in.ProxyClientCertFile
out.ProxyClientKeyFile = in.ProxyClientKeyFile
out.AuditLogFormat = in.AuditLogFormat
out.AuditLogPath = in.AuditLogPath
out.AuditLogMaxAge = in.AuditLogMaxAge
out.AuditLogMaxBackups = in.AuditLogMaxBackups
Expand Down
9 changes: 9 additions & 0 deletions pkg/apis/kops/v1alpha1/zz_generated.deepcopy.go
Original file line number Diff line number Diff line change
Expand Up @@ -1968,6 +1968,15 @@ func (in *KubeAPIServerConfig) DeepCopyInto(out *KubeAPIServerConfig) {
**out = **in
}
}
if in.AuditLogFormat != nil {
in, out := &in.AuditLogFormat, &out.AuditLogFormat
if *in == nil {
*out = nil
} else {
*out = new(string)
**out = **in
}
}
if in.AuditLogPath != nil {
in, out := &in.AuditLogPath, &out.AuditLogPath
if *in == nil {
Expand Down
2 changes: 2 additions & 0 deletions pkg/apis/kops/v1alpha2/zz_generated.conversion.go
Original file line number Diff line number Diff line change
Expand Up @@ -2097,6 +2097,7 @@ func autoConvert_v1alpha2_KubeAPIServerConfig_To_kops_KubeAPIServerConfig(in *Ku
out.OIDCCAFile = in.OIDCCAFile
out.ProxyClientCertFile = in.ProxyClientCertFile
out.ProxyClientKeyFile = in.ProxyClientKeyFile
out.AuditLogFormat = in.AuditLogFormat
out.AuditLogPath = in.AuditLogPath
out.AuditLogMaxAge = in.AuditLogMaxAge
out.AuditLogMaxBackups = in.AuditLogMaxBackups
Expand Down Expand Up @@ -2156,6 +2157,7 @@ func autoConvert_kops_KubeAPIServerConfig_To_v1alpha2_KubeAPIServerConfig(in *ko
out.OIDCCAFile = in.OIDCCAFile
out.ProxyClientCertFile = in.ProxyClientCertFile
out.ProxyClientKeyFile = in.ProxyClientKeyFile
out.AuditLogFormat = in.AuditLogFormat
out.AuditLogPath = in.AuditLogPath
out.AuditLogMaxAge = in.AuditLogMaxAge
out.AuditLogMaxBackups = in.AuditLogMaxBackups
Expand Down
9 changes: 9 additions & 0 deletions pkg/apis/kops/v1alpha2/zz_generated.deepcopy.go
Original file line number Diff line number Diff line change
Expand Up @@ -2094,6 +2094,15 @@ func (in *KubeAPIServerConfig) DeepCopyInto(out *KubeAPIServerConfig) {
**out = **in
}
}
if in.AuditLogFormat != nil {
in, out := &in.AuditLogFormat, &out.AuditLogFormat
if *in == nil {
*out = nil
} else {
*out = new(string)
**out = **in
}
}
if in.AuditLogPath != nil {
in, out := &in.AuditLogPath, &out.AuditLogPath
if *in == nil {
Expand Down
9 changes: 9 additions & 0 deletions pkg/apis/kops/zz_generated.deepcopy.go
Original file line number Diff line number Diff line change
Expand Up @@ -2313,6 +2313,15 @@ func (in *KubeAPIServerConfig) DeepCopyInto(out *KubeAPIServerConfig) {
**out = **in
}
}
if in.AuditLogFormat != nil {
in, out := &in.AuditLogFormat, &out.AuditLogFormat
if *in == nil {
*out = nil
} else {
*out = new(string)
**out = **in
}
}
if in.AuditLogPath != nil {
in, out := &in.AuditLogPath, &out.AuditLogPath
if *in == nil {
Expand Down

0 comments on commit aaf682d

Please sign in to comment.