diff --git a/client/cluster/v3/zz_generated_glusterfs_persistent_volume_source.go b/client/cluster/v3/zz_generated_glusterfs_persistent_volume_source.go new file mode 100644 index 00000000..bb754c33 --- /dev/null +++ b/client/cluster/v3/zz_generated_glusterfs_persistent_volume_source.go @@ -0,0 +1,16 @@ +package client + +const ( + GlusterfsPersistentVolumeSourceType = "glusterfsPersistentVolumeSource" + GlusterfsPersistentVolumeSourceFieldEndpointsName = "endpoints" + GlusterfsPersistentVolumeSourceFieldEndpointsNamespace = "endpointsNamespace" + GlusterfsPersistentVolumeSourceFieldPath = "path" + GlusterfsPersistentVolumeSourceFieldReadOnly = "readOnly" +) + +type GlusterfsPersistentVolumeSource struct { + EndpointsName string `json:"endpoints,omitempty" yaml:"endpoints,omitempty"` + EndpointsNamespace string `json:"endpointsNamespace,omitempty" yaml:"endpointsNamespace,omitempty"` + Path string `json:"path,omitempty" yaml:"path,omitempty"` + ReadOnly bool `json:"readOnly,omitempty" yaml:"readOnly,omitempty"` +} diff --git a/client/cluster/v3/zz_generated_glusterfs_volume_source.go b/client/cluster/v3/zz_generated_glusterfs_volume_source.go deleted file mode 100644 index fa5900b3..00000000 --- a/client/cluster/v3/zz_generated_glusterfs_volume_source.go +++ /dev/null @@ -1,14 +0,0 @@ -package client - -const ( - GlusterfsVolumeSourceType = "glusterfsVolumeSource" - GlusterfsVolumeSourceFieldEndpointsName = "endpoints" - GlusterfsVolumeSourceFieldPath = "path" - GlusterfsVolumeSourceFieldReadOnly = "readOnly" -) - -type GlusterfsVolumeSource struct { - EndpointsName string `json:"endpoints,omitempty" yaml:"endpoints,omitempty"` - Path string `json:"path,omitempty" yaml:"path,omitempty"` - ReadOnly bool `json:"readOnly,omitempty" yaml:"readOnly,omitempty"` -} diff --git a/client/cluster/v3/zz_generated_persistent_volume.go b/client/cluster/v3/zz_generated_persistent_volume.go index 613bc3ab..8b545af5 100644 --- a/client/cluster/v3/zz_generated_persistent_volume.go +++ b/client/cluster/v3/zz_generated_persistent_volume.go @@ -70,7 +70,7 @@ type PersistentVolume struct { FlexVolume *FlexPersistentVolumeSource `json:"flexVolume,omitempty" yaml:"flexVolume,omitempty"` Flocker *FlockerVolumeSource `json:"flocker,omitempty" yaml:"flocker,omitempty"` GCEPersistentDisk *GCEPersistentDiskVolumeSource `json:"gcePersistentDisk,omitempty" yaml:"gcePersistentDisk,omitempty"` - Glusterfs *GlusterfsVolumeSource `json:"glusterfs,omitempty" yaml:"glusterfs,omitempty"` + Glusterfs *GlusterfsPersistentVolumeSource `json:"glusterfs,omitempty" yaml:"glusterfs,omitempty"` HostPath *HostPathVolumeSource `json:"hostPath,omitempty" yaml:"hostPath,omitempty"` ISCSI *ISCSIPersistentVolumeSource `json:"iscsi,omitempty" yaml:"iscsi,omitempty"` Labels map[string]string `json:"labels,omitempty" yaml:"labels,omitempty"` diff --git a/client/cluster/v3/zz_generated_persistent_volume_spec.go b/client/cluster/v3/zz_generated_persistent_volume_spec.go index a1e6529a..7421aa67 100644 --- a/client/cluster/v3/zz_generated_persistent_volume_spec.go +++ b/client/cluster/v3/zz_generated_persistent_volume_spec.go @@ -48,7 +48,7 @@ type PersistentVolumeSpec struct { FlexVolume *FlexPersistentVolumeSource `json:"flexVolume,omitempty" yaml:"flexVolume,omitempty"` Flocker *FlockerVolumeSource `json:"flocker,omitempty" yaml:"flocker,omitempty"` GCEPersistentDisk *GCEPersistentDiskVolumeSource `json:"gcePersistentDisk,omitempty" yaml:"gcePersistentDisk,omitempty"` - Glusterfs *GlusterfsVolumeSource `json:"glusterfs,omitempty" yaml:"glusterfs,omitempty"` + Glusterfs *GlusterfsPersistentVolumeSource `json:"glusterfs,omitempty" yaml:"glusterfs,omitempty"` HostPath *HostPathVolumeSource `json:"hostPath,omitempty" yaml:"hostPath,omitempty"` ISCSI *ISCSIPersistentVolumeSource `json:"iscsi,omitempty" yaml:"iscsi,omitempty"` Local *LocalVolumeSource `json:"local,omitempty" yaml:"local,omitempty"` diff --git a/client/cluster/v3/zz_generated_quobyte_volume_source.go b/client/cluster/v3/zz_generated_quobyte_volume_source.go index 44cc8a6c..41e308d3 100644 --- a/client/cluster/v3/zz_generated_quobyte_volume_source.go +++ b/client/cluster/v3/zz_generated_quobyte_volume_source.go @@ -5,6 +5,7 @@ const ( QuobyteVolumeSourceFieldGroup = "group" QuobyteVolumeSourceFieldReadOnly = "readOnly" QuobyteVolumeSourceFieldRegistry = "registry" + QuobyteVolumeSourceFieldTenant = "tenant" QuobyteVolumeSourceFieldUser = "user" QuobyteVolumeSourceFieldVolume = "volume" ) @@ -13,6 +14,7 @@ type QuobyteVolumeSource struct { Group string `json:"group,omitempty" yaml:"group,omitempty"` ReadOnly bool `json:"readOnly,omitempty" yaml:"readOnly,omitempty"` Registry string `json:"registry,omitempty" yaml:"registry,omitempty"` + Tenant string `json:"tenant,omitempty" yaml:"tenant,omitempty"` User string `json:"user,omitempty" yaml:"user,omitempty"` Volume string `json:"volume,omitempty" yaml:"volume,omitempty"` } diff --git a/client/management/v3/zz_generated_allowed_csidriver.go b/client/management/v3/zz_generated_allowed_csidriver.go new file mode 100644 index 00000000..c49cfb3d --- /dev/null +++ b/client/management/v3/zz_generated_allowed_csidriver.go @@ -0,0 +1,10 @@ +package client + +const ( + AllowedCSIDriverType = "allowedCSIDriver" + AllowedCSIDriverFieldName = "name" +) + +type AllowedCSIDriver struct { + Name string `json:"name,omitempty" yaml:"name,omitempty"` +} diff --git a/client/management/v3/zz_generated_pod_security_policy_spec.go b/client/management/v3/zz_generated_pod_security_policy_spec.go index 84e91da9..e3380474 100644 --- a/client/management/v3/zz_generated_pod_security_policy_spec.go +++ b/client/management/v3/zz_generated_pod_security_policy_spec.go @@ -3,6 +3,7 @@ package client const ( PodSecurityPolicySpecType = "podSecurityPolicySpec" PodSecurityPolicySpecFieldAllowPrivilegeEscalation = "allowPrivilegeEscalation" + PodSecurityPolicySpecFieldAllowedCSIDrivers = "allowedCSIDrivers" PodSecurityPolicySpecFieldAllowedCapabilities = "allowedCapabilities" PodSecurityPolicySpecFieldAllowedFlexVolumes = "allowedFlexVolumes" PodSecurityPolicySpecFieldAllowedHostPaths = "allowedHostPaths" @@ -19,6 +20,7 @@ const ( PodSecurityPolicySpecFieldPrivileged = "privileged" PodSecurityPolicySpecFieldReadOnlyRootFilesystem = "readOnlyRootFilesystem" PodSecurityPolicySpecFieldRequiredDropCapabilities = "requiredDropCapabilities" + PodSecurityPolicySpecFieldRunAsGroup = "runAsGroup" PodSecurityPolicySpecFieldRunAsUser = "runAsUser" PodSecurityPolicySpecFieldSELinux = "seLinux" PodSecurityPolicySpecFieldSupplementalGroups = "supplementalGroups" @@ -27,6 +29,7 @@ const ( type PodSecurityPolicySpec struct { AllowPrivilegeEscalation *bool `json:"allowPrivilegeEscalation,omitempty" yaml:"allowPrivilegeEscalation,omitempty"` + AllowedCSIDrivers []AllowedCSIDriver `json:"allowedCSIDrivers,omitempty" yaml:"allowedCSIDrivers,omitempty"` AllowedCapabilities []string `json:"allowedCapabilities,omitempty" yaml:"allowedCapabilities,omitempty"` AllowedFlexVolumes []AllowedFlexVolume `json:"allowedFlexVolumes,omitempty" yaml:"allowedFlexVolumes,omitempty"` AllowedHostPaths []AllowedHostPath `json:"allowedHostPaths,omitempty" yaml:"allowedHostPaths,omitempty"` @@ -43,6 +46,7 @@ type PodSecurityPolicySpec struct { Privileged bool `json:"privileged,omitempty" yaml:"privileged,omitempty"` ReadOnlyRootFilesystem bool `json:"readOnlyRootFilesystem,omitempty" yaml:"readOnlyRootFilesystem,omitempty"` RequiredDropCapabilities []string `json:"requiredDropCapabilities,omitempty" yaml:"requiredDropCapabilities,omitempty"` + RunAsGroup *RunAsGroupStrategyOptions `json:"runAsGroup,omitempty" yaml:"runAsGroup,omitempty"` RunAsUser *RunAsUserStrategyOptions `json:"runAsUser,omitempty" yaml:"runAsUser,omitempty"` SELinux *SELinuxStrategyOptions `json:"seLinux,omitempty" yaml:"seLinux,omitempty"` SupplementalGroups *SupplementalGroupsStrategyOptions `json:"supplementalGroups,omitempty" yaml:"supplementalGroups,omitempty"` diff --git a/client/management/v3/zz_generated_pod_security_policy_template.go b/client/management/v3/zz_generated_pod_security_policy_template.go index 5904f9f3..86e05163 100644 --- a/client/management/v3/zz_generated_pod_security_policy_template.go +++ b/client/management/v3/zz_generated_pod_security_policy_template.go @@ -7,6 +7,7 @@ import ( const ( PodSecurityPolicyTemplateType = "podSecurityPolicyTemplate" PodSecurityPolicyTemplateFieldAllowPrivilegeEscalation = "allowPrivilegeEscalation" + PodSecurityPolicyTemplateFieldAllowedCSIDrivers = "allowedCSIDrivers" PodSecurityPolicyTemplateFieldAllowedCapabilities = "allowedCapabilities" PodSecurityPolicyTemplateFieldAllowedFlexVolumes = "allowedFlexVolumes" PodSecurityPolicyTemplateFieldAllowedHostPaths = "allowedHostPaths" @@ -31,6 +32,7 @@ const ( PodSecurityPolicyTemplateFieldReadOnlyRootFilesystem = "readOnlyRootFilesystem" PodSecurityPolicyTemplateFieldRemoved = "removed" PodSecurityPolicyTemplateFieldRequiredDropCapabilities = "requiredDropCapabilities" + PodSecurityPolicyTemplateFieldRunAsGroup = "runAsGroup" PodSecurityPolicyTemplateFieldRunAsUser = "runAsUser" PodSecurityPolicyTemplateFieldSELinux = "seLinux" PodSecurityPolicyTemplateFieldSupplementalGroups = "supplementalGroups" @@ -41,6 +43,7 @@ const ( type PodSecurityPolicyTemplate struct { types.Resource AllowPrivilegeEscalation *bool `json:"allowPrivilegeEscalation,omitempty" yaml:"allowPrivilegeEscalation,omitempty"` + AllowedCSIDrivers []AllowedCSIDriver `json:"allowedCSIDrivers,omitempty" yaml:"allowedCSIDrivers,omitempty"` AllowedCapabilities []string `json:"allowedCapabilities,omitempty" yaml:"allowedCapabilities,omitempty"` AllowedFlexVolumes []AllowedFlexVolume `json:"allowedFlexVolumes,omitempty" yaml:"allowedFlexVolumes,omitempty"` AllowedHostPaths []AllowedHostPath `json:"allowedHostPaths,omitempty" yaml:"allowedHostPaths,omitempty"` @@ -65,6 +68,7 @@ type PodSecurityPolicyTemplate struct { ReadOnlyRootFilesystem bool `json:"readOnlyRootFilesystem,omitempty" yaml:"readOnlyRootFilesystem,omitempty"` Removed string `json:"removed,omitempty" yaml:"removed,omitempty"` RequiredDropCapabilities []string `json:"requiredDropCapabilities,omitempty" yaml:"requiredDropCapabilities,omitempty"` + RunAsGroup *RunAsGroupStrategyOptions `json:"runAsGroup,omitempty" yaml:"runAsGroup,omitempty"` RunAsUser *RunAsUserStrategyOptions `json:"runAsUser,omitempty" yaml:"runAsUser,omitempty"` SELinux *SELinuxStrategyOptions `json:"seLinux,omitempty" yaml:"seLinux,omitempty"` SupplementalGroups *SupplementalGroupsStrategyOptions `json:"supplementalGroups,omitempty" yaml:"supplementalGroups,omitempty"` diff --git a/client/management/v3/zz_generated_run_as_group_strategy_options.go b/client/management/v3/zz_generated_run_as_group_strategy_options.go new file mode 100644 index 00000000..a2859639 --- /dev/null +++ b/client/management/v3/zz_generated_run_as_group_strategy_options.go @@ -0,0 +1,12 @@ +package client + +const ( + RunAsGroupStrategyOptionsType = "runAsGroupStrategyOptions" + RunAsGroupStrategyOptionsFieldRanges = "ranges" + RunAsGroupStrategyOptionsFieldRule = "rule" +) + +type RunAsGroupStrategyOptions struct { + Ranges []IDRange `json:"ranges,omitempty" yaml:"ranges,omitempty"` + Rule string `json:"rule,omitempty" yaml:"rule,omitempty"` +} diff --git a/client/project/v3/zz_generated_cron_job.go b/client/project/v3/zz_generated_cron_job.go index f90a06d3..3f5a10c4 100644 --- a/client/project/v3/zz_generated_cron_job.go +++ b/client/project/v3/zz_generated_cron_job.go @@ -16,6 +16,7 @@ const ( CronJobFieldCronJobStatus = "cronJobStatus" CronJobFieldDNSConfig = "dnsConfig" CronJobFieldDNSPolicy = "dnsPolicy" + CronJobFieldEnableServiceLinks = "enableServiceLinks" CronJobFieldFsgid = "fsgid" CronJobFieldGids = "gids" CronJobFieldHostAliases = "hostAliases" @@ -68,6 +69,7 @@ type CronJob struct { CronJobStatus *CronJobStatus `json:"cronJobStatus,omitempty" yaml:"cronJobStatus,omitempty"` DNSConfig *PodDNSConfig `json:"dnsConfig,omitempty" yaml:"dnsConfig,omitempty"` DNSPolicy string `json:"dnsPolicy,omitempty" yaml:"dnsPolicy,omitempty"` + EnableServiceLinks *bool `json:"enableServiceLinks,omitempty" yaml:"enableServiceLinks,omitempty"` Fsgid *int64 `json:"fsgid,omitempty" yaml:"fsgid,omitempty"` Gids []int64 `json:"gids,omitempty" yaml:"gids,omitempty"` HostAliases []HostAlias `json:"hostAliases,omitempty" yaml:"hostAliases,omitempty"` diff --git a/client/project/v3/zz_generated_cron_job_spec.go b/client/project/v3/zz_generated_cron_job_spec.go index 7ffcc46e..5960855f 100644 --- a/client/project/v3/zz_generated_cron_job_spec.go +++ b/client/project/v3/zz_generated_cron_job_spec.go @@ -8,6 +8,7 @@ const ( CronJobSpecFieldCronJobConfig = "cronJobConfig" CronJobSpecFieldDNSConfig = "dnsConfig" CronJobSpecFieldDNSPolicy = "dnsPolicy" + CronJobSpecFieldEnableServiceLinks = "enableServiceLinks" CronJobSpecFieldFsgid = "fsgid" CronJobSpecFieldGids = "gids" CronJobSpecFieldHostAliases = "hostAliases" @@ -42,6 +43,7 @@ type CronJobSpec struct { CronJobConfig *CronJobConfig `json:"cronJobConfig,omitempty" yaml:"cronJobConfig,omitempty"` DNSConfig *PodDNSConfig `json:"dnsConfig,omitempty" yaml:"dnsConfig,omitempty"` DNSPolicy string `json:"dnsPolicy,omitempty" yaml:"dnsPolicy,omitempty"` + EnableServiceLinks *bool `json:"enableServiceLinks,omitempty" yaml:"enableServiceLinks,omitempty"` Fsgid *int64 `json:"fsgid,omitempty" yaml:"fsgid,omitempty"` Gids []int64 `json:"gids,omitempty" yaml:"gids,omitempty"` HostAliases []HostAlias `json:"hostAliases,omitempty" yaml:"hostAliases,omitempty"` diff --git a/client/project/v3/zz_generated_csi_volume_source.go b/client/project/v3/zz_generated_csi_volume_source.go new file mode 100644 index 00000000..f341d530 --- /dev/null +++ b/client/project/v3/zz_generated_csi_volume_source.go @@ -0,0 +1,18 @@ +package client + +const ( + CSIVolumeSourceType = "csiVolumeSource" + CSIVolumeSourceFieldDriver = "driver" + CSIVolumeSourceFieldFSType = "fsType" + CSIVolumeSourceFieldNodePublishSecretRef = "nodePublishSecretRef" + CSIVolumeSourceFieldReadOnly = "readOnly" + CSIVolumeSourceFieldVolumeAttributes = "volumeAttributes" +) + +type CSIVolumeSource struct { + Driver string `json:"driver,omitempty" yaml:"driver,omitempty"` + FSType string `json:"fsType,omitempty" yaml:"fsType,omitempty"` + NodePublishSecretRef *LocalObjectReference `json:"nodePublishSecretRef,omitempty" yaml:"nodePublishSecretRef,omitempty"` + ReadOnly *bool `json:"readOnly,omitempty" yaml:"readOnly,omitempty"` + VolumeAttributes map[string]string `json:"volumeAttributes,omitempty" yaml:"volumeAttributes,omitempty"` +} diff --git a/client/project/v3/zz_generated_daemon_set.go b/client/project/v3/zz_generated_daemon_set.go index 6a7ab78e..746d8842 100644 --- a/client/project/v3/zz_generated_daemon_set.go +++ b/client/project/v3/zz_generated_daemon_set.go @@ -16,6 +16,7 @@ const ( DaemonSetFieldDNSPolicy = "dnsPolicy" DaemonSetFieldDaemonSetConfig = "daemonSetConfig" DaemonSetFieldDaemonSetStatus = "daemonSetStatus" + DaemonSetFieldEnableServiceLinks = "enableServiceLinks" DaemonSetFieldFsgid = "fsgid" DaemonSetFieldGids = "gids" DaemonSetFieldHostAliases = "hostAliases" @@ -67,6 +68,7 @@ type DaemonSet struct { DNSPolicy string `json:"dnsPolicy,omitempty" yaml:"dnsPolicy,omitempty"` DaemonSetConfig *DaemonSetConfig `json:"daemonSetConfig,omitempty" yaml:"daemonSetConfig,omitempty"` DaemonSetStatus *DaemonSetStatus `json:"daemonSetStatus,omitempty" yaml:"daemonSetStatus,omitempty"` + EnableServiceLinks *bool `json:"enableServiceLinks,omitempty" yaml:"enableServiceLinks,omitempty"` Fsgid *int64 `json:"fsgid,omitempty" yaml:"fsgid,omitempty"` Gids []int64 `json:"gids,omitempty" yaml:"gids,omitempty"` HostAliases []HostAlias `json:"hostAliases,omitempty" yaml:"hostAliases,omitempty"` diff --git a/client/project/v3/zz_generated_daemon_set_spec.go b/client/project/v3/zz_generated_daemon_set_spec.go index 165a0449..6eb4c075 100644 --- a/client/project/v3/zz_generated_daemon_set_spec.go +++ b/client/project/v3/zz_generated_daemon_set_spec.go @@ -8,6 +8,7 @@ const ( DaemonSetSpecFieldDNSConfig = "dnsConfig" DaemonSetSpecFieldDNSPolicy = "dnsPolicy" DaemonSetSpecFieldDaemonSetConfig = "daemonSetConfig" + DaemonSetSpecFieldEnableServiceLinks = "enableServiceLinks" DaemonSetSpecFieldFsgid = "fsgid" DaemonSetSpecFieldGids = "gids" DaemonSetSpecFieldHostAliases = "hostAliases" @@ -41,6 +42,7 @@ type DaemonSetSpec struct { DNSConfig *PodDNSConfig `json:"dnsConfig,omitempty" yaml:"dnsConfig,omitempty"` DNSPolicy string `json:"dnsPolicy,omitempty" yaml:"dnsPolicy,omitempty"` DaemonSetConfig *DaemonSetConfig `json:"daemonSetConfig,omitempty" yaml:"daemonSetConfig,omitempty"` + EnableServiceLinks *bool `json:"enableServiceLinks,omitempty" yaml:"enableServiceLinks,omitempty"` Fsgid *int64 `json:"fsgid,omitempty" yaml:"fsgid,omitempty"` Gids []int64 `json:"gids,omitempty" yaml:"gids,omitempty"` HostAliases []HostAlias `json:"hostAliases,omitempty" yaml:"hostAliases,omitempty"` diff --git a/client/project/v3/zz_generated_deployment.go b/client/project/v3/zz_generated_deployment.go index 43e6bc35..983ca84e 100644 --- a/client/project/v3/zz_generated_deployment.go +++ b/client/project/v3/zz_generated_deployment.go @@ -16,6 +16,7 @@ const ( DeploymentFieldDNSPolicy = "dnsPolicy" DeploymentFieldDeploymentConfig = "deploymentConfig" DeploymentFieldDeploymentStatus = "deploymentStatus" + DeploymentFieldEnableServiceLinks = "enableServiceLinks" DeploymentFieldFsgid = "fsgid" DeploymentFieldGids = "gids" DeploymentFieldHostAliases = "hostAliases" @@ -69,6 +70,7 @@ type Deployment struct { DNSPolicy string `json:"dnsPolicy,omitempty" yaml:"dnsPolicy,omitempty"` DeploymentConfig *DeploymentConfig `json:"deploymentConfig,omitempty" yaml:"deploymentConfig,omitempty"` DeploymentStatus *DeploymentStatus `json:"deploymentStatus,omitempty" yaml:"deploymentStatus,omitempty"` + EnableServiceLinks *bool `json:"enableServiceLinks,omitempty" yaml:"enableServiceLinks,omitempty"` Fsgid *int64 `json:"fsgid,omitempty" yaml:"fsgid,omitempty"` Gids []int64 `json:"gids,omitempty" yaml:"gids,omitempty"` HostAliases []HostAlias `json:"hostAliases,omitempty" yaml:"hostAliases,omitempty"` diff --git a/client/project/v3/zz_generated_deployment_spec.go b/client/project/v3/zz_generated_deployment_spec.go index c5bcc595..287ab641 100644 --- a/client/project/v3/zz_generated_deployment_spec.go +++ b/client/project/v3/zz_generated_deployment_spec.go @@ -8,6 +8,7 @@ const ( DeploymentSpecFieldDNSConfig = "dnsConfig" DeploymentSpecFieldDNSPolicy = "dnsPolicy" DeploymentSpecFieldDeploymentConfig = "deploymentConfig" + DeploymentSpecFieldEnableServiceLinks = "enableServiceLinks" DeploymentSpecFieldFsgid = "fsgid" DeploymentSpecFieldGids = "gids" DeploymentSpecFieldHostAliases = "hostAliases" @@ -43,6 +44,7 @@ type DeploymentSpec struct { DNSConfig *PodDNSConfig `json:"dnsConfig,omitempty" yaml:"dnsConfig,omitempty"` DNSPolicy string `json:"dnsPolicy,omitempty" yaml:"dnsPolicy,omitempty"` DeploymentConfig *DeploymentConfig `json:"deploymentConfig,omitempty" yaml:"deploymentConfig,omitempty"` + EnableServiceLinks *bool `json:"enableServiceLinks,omitempty" yaml:"enableServiceLinks,omitempty"` Fsgid *int64 `json:"fsgid,omitempty" yaml:"fsgid,omitempty"` Gids []int64 `json:"gids,omitempty" yaml:"gids,omitempty"` HostAliases []HostAlias `json:"hostAliases,omitempty" yaml:"hostAliases,omitempty"` diff --git a/client/project/v3/zz_generated_glusterfs_persistent_volume_source.go b/client/project/v3/zz_generated_glusterfs_persistent_volume_source.go new file mode 100644 index 00000000..bb754c33 --- /dev/null +++ b/client/project/v3/zz_generated_glusterfs_persistent_volume_source.go @@ -0,0 +1,16 @@ +package client + +const ( + GlusterfsPersistentVolumeSourceType = "glusterfsPersistentVolumeSource" + GlusterfsPersistentVolumeSourceFieldEndpointsName = "endpoints" + GlusterfsPersistentVolumeSourceFieldEndpointsNamespace = "endpointsNamespace" + GlusterfsPersistentVolumeSourceFieldPath = "path" + GlusterfsPersistentVolumeSourceFieldReadOnly = "readOnly" +) + +type GlusterfsPersistentVolumeSource struct { + EndpointsName string `json:"endpoints,omitempty" yaml:"endpoints,omitempty"` + EndpointsNamespace string `json:"endpointsNamespace,omitempty" yaml:"endpointsNamespace,omitempty"` + Path string `json:"path,omitempty" yaml:"path,omitempty"` + ReadOnly bool `json:"readOnly,omitempty" yaml:"readOnly,omitempty"` +} diff --git a/client/project/v3/zz_generated_job.go b/client/project/v3/zz_generated_job.go index 4220f8be..019244e7 100644 --- a/client/project/v3/zz_generated_job.go +++ b/client/project/v3/zz_generated_job.go @@ -14,6 +14,7 @@ const ( JobFieldCreatorID = "creatorId" JobFieldDNSConfig = "dnsConfig" JobFieldDNSPolicy = "dnsPolicy" + JobFieldEnableServiceLinks = "enableServiceLinks" JobFieldFsgid = "fsgid" JobFieldGids = "gids" JobFieldHostAliases = "hostAliases" @@ -66,6 +67,7 @@ type Job struct { CreatorID string `json:"creatorId,omitempty" yaml:"creatorId,omitempty"` DNSConfig *PodDNSConfig `json:"dnsConfig,omitempty" yaml:"dnsConfig,omitempty"` DNSPolicy string `json:"dnsPolicy,omitempty" yaml:"dnsPolicy,omitempty"` + EnableServiceLinks *bool `json:"enableServiceLinks,omitempty" yaml:"enableServiceLinks,omitempty"` Fsgid *int64 `json:"fsgid,omitempty" yaml:"fsgid,omitempty"` Gids []int64 `json:"gids,omitempty" yaml:"gids,omitempty"` HostAliases []HostAlias `json:"hostAliases,omitempty" yaml:"hostAliases,omitempty"` diff --git a/client/project/v3/zz_generated_job_spec.go b/client/project/v3/zz_generated_job_spec.go index a6a30546..5f346ae9 100644 --- a/client/project/v3/zz_generated_job_spec.go +++ b/client/project/v3/zz_generated_job_spec.go @@ -7,6 +7,7 @@ const ( JobSpecFieldContainers = "containers" JobSpecFieldDNSConfig = "dnsConfig" JobSpecFieldDNSPolicy = "dnsPolicy" + JobSpecFieldEnableServiceLinks = "enableServiceLinks" JobSpecFieldFsgid = "fsgid" JobSpecFieldGids = "gids" JobSpecFieldHostAliases = "hostAliases" @@ -41,6 +42,7 @@ type JobSpec struct { Containers []Container `json:"containers,omitempty" yaml:"containers,omitempty"` DNSConfig *PodDNSConfig `json:"dnsConfig,omitempty" yaml:"dnsConfig,omitempty"` DNSPolicy string `json:"dnsPolicy,omitempty" yaml:"dnsPolicy,omitempty"` + EnableServiceLinks *bool `json:"enableServiceLinks,omitempty" yaml:"enableServiceLinks,omitempty"` Fsgid *int64 `json:"fsgid,omitempty" yaml:"fsgid,omitempty"` Gids []int64 `json:"gids,omitempty" yaml:"gids,omitempty"` HostAliases []HostAlias `json:"hostAliases,omitempty" yaml:"hostAliases,omitempty"` diff --git a/client/project/v3/zz_generated_job_template_spec.go b/client/project/v3/zz_generated_job_template_spec.go index d4701002..520601e6 100644 --- a/client/project/v3/zz_generated_job_template_spec.go +++ b/client/project/v3/zz_generated_job_template_spec.go @@ -7,6 +7,7 @@ const ( JobTemplateSpecFieldContainers = "containers" JobTemplateSpecFieldDNSConfig = "dnsConfig" JobTemplateSpecFieldDNSPolicy = "dnsPolicy" + JobTemplateSpecFieldEnableServiceLinks = "enableServiceLinks" JobTemplateSpecFieldFsgid = "fsgid" JobTemplateSpecFieldGids = "gids" JobTemplateSpecFieldHostAliases = "hostAliases" @@ -42,6 +43,7 @@ type JobTemplateSpec struct { Containers []Container `json:"containers,omitempty" yaml:"containers,omitempty"` DNSConfig *PodDNSConfig `json:"dnsConfig,omitempty" yaml:"dnsConfig,omitempty"` DNSPolicy string `json:"dnsPolicy,omitempty" yaml:"dnsPolicy,omitempty"` + EnableServiceLinks *bool `json:"enableServiceLinks,omitempty" yaml:"enableServiceLinks,omitempty"` Fsgid *int64 `json:"fsgid,omitempty" yaml:"fsgid,omitempty"` Gids []int64 `json:"gids,omitempty" yaml:"gids,omitempty"` HostAliases []HostAlias `json:"hostAliases,omitempty" yaml:"hostAliases,omitempty"` diff --git a/client/project/v3/zz_generated_persistent_volume_spec.go b/client/project/v3/zz_generated_persistent_volume_spec.go index a1e6529a..7421aa67 100644 --- a/client/project/v3/zz_generated_persistent_volume_spec.go +++ b/client/project/v3/zz_generated_persistent_volume_spec.go @@ -48,7 +48,7 @@ type PersistentVolumeSpec struct { FlexVolume *FlexPersistentVolumeSource `json:"flexVolume,omitempty" yaml:"flexVolume,omitempty"` Flocker *FlockerVolumeSource `json:"flocker,omitempty" yaml:"flocker,omitempty"` GCEPersistentDisk *GCEPersistentDiskVolumeSource `json:"gcePersistentDisk,omitempty" yaml:"gcePersistentDisk,omitempty"` - Glusterfs *GlusterfsVolumeSource `json:"glusterfs,omitempty" yaml:"glusterfs,omitempty"` + Glusterfs *GlusterfsPersistentVolumeSource `json:"glusterfs,omitempty" yaml:"glusterfs,omitempty"` HostPath *HostPathVolumeSource `json:"hostPath,omitempty" yaml:"hostPath,omitempty"` ISCSI *ISCSIPersistentVolumeSource `json:"iscsi,omitempty" yaml:"iscsi,omitempty"` Local *LocalVolumeSource `json:"local,omitempty" yaml:"local,omitempty"` diff --git a/client/project/v3/zz_generated_pod.go b/client/project/v3/zz_generated_pod.go index e2c9892b..f541507a 100644 --- a/client/project/v3/zz_generated_pod.go +++ b/client/project/v3/zz_generated_pod.go @@ -15,6 +15,7 @@ const ( PodFieldDNSConfig = "dnsConfig" PodFieldDNSPolicy = "dnsPolicy" PodFieldDescription = "description" + PodFieldEnableServiceLinks = "enableServiceLinks" PodFieldFsgid = "fsgid" PodFieldGids = "gids" PodFieldHostAliases = "hostAliases" @@ -64,6 +65,7 @@ type Pod struct { DNSConfig *PodDNSConfig `json:"dnsConfig,omitempty" yaml:"dnsConfig,omitempty"` DNSPolicy string `json:"dnsPolicy,omitempty" yaml:"dnsPolicy,omitempty"` Description string `json:"description,omitempty" yaml:"description,omitempty"` + EnableServiceLinks *bool `json:"enableServiceLinks,omitempty" yaml:"enableServiceLinks,omitempty"` Fsgid *int64 `json:"fsgid,omitempty" yaml:"fsgid,omitempty"` Gids []int64 `json:"gids,omitempty" yaml:"gids,omitempty"` HostAliases []HostAlias `json:"hostAliases,omitempty" yaml:"hostAliases,omitempty"` diff --git a/client/project/v3/zz_generated_pod_spec.go b/client/project/v3/zz_generated_pod_spec.go index 405df192..8affde44 100644 --- a/client/project/v3/zz_generated_pod_spec.go +++ b/client/project/v3/zz_generated_pod_spec.go @@ -7,6 +7,7 @@ const ( PodSpecFieldContainers = "containers" PodSpecFieldDNSConfig = "dnsConfig" PodSpecFieldDNSPolicy = "dnsPolicy" + PodSpecFieldEnableServiceLinks = "enableServiceLinks" PodSpecFieldFsgid = "fsgid" PodSpecFieldGids = "gids" PodSpecFieldHostAliases = "hostAliases" @@ -37,6 +38,7 @@ type PodSpec struct { Containers []Container `json:"containers,omitempty" yaml:"containers,omitempty"` DNSConfig *PodDNSConfig `json:"dnsConfig,omitempty" yaml:"dnsConfig,omitempty"` DNSPolicy string `json:"dnsPolicy,omitempty" yaml:"dnsPolicy,omitempty"` + EnableServiceLinks *bool `json:"enableServiceLinks,omitempty" yaml:"enableServiceLinks,omitempty"` Fsgid *int64 `json:"fsgid,omitempty" yaml:"fsgid,omitempty"` Gids []int64 `json:"gids,omitempty" yaml:"gids,omitempty"` HostAliases []HostAlias `json:"hostAliases,omitempty" yaml:"hostAliases,omitempty"` diff --git a/client/project/v3/zz_generated_pod_template_spec.go b/client/project/v3/zz_generated_pod_template_spec.go index 18534191..485820e8 100644 --- a/client/project/v3/zz_generated_pod_template_spec.go +++ b/client/project/v3/zz_generated_pod_template_spec.go @@ -7,6 +7,7 @@ const ( PodTemplateSpecFieldContainers = "containers" PodTemplateSpecFieldDNSConfig = "dnsConfig" PodTemplateSpecFieldDNSPolicy = "dnsPolicy" + PodTemplateSpecFieldEnableServiceLinks = "enableServiceLinks" PodTemplateSpecFieldFsgid = "fsgid" PodTemplateSpecFieldGids = "gids" PodTemplateSpecFieldHostAliases = "hostAliases" @@ -38,6 +39,7 @@ type PodTemplateSpec struct { Containers []Container `json:"containers,omitempty" yaml:"containers,omitempty"` DNSConfig *PodDNSConfig `json:"dnsConfig,omitempty" yaml:"dnsConfig,omitempty"` DNSPolicy string `json:"dnsPolicy,omitempty" yaml:"dnsPolicy,omitempty"` + EnableServiceLinks *bool `json:"enableServiceLinks,omitempty" yaml:"enableServiceLinks,omitempty"` Fsgid *int64 `json:"fsgid,omitempty" yaml:"fsgid,omitempty"` Gids []int64 `json:"gids,omitempty" yaml:"gids,omitempty"` HostAliases []HostAlias `json:"hostAliases,omitempty" yaml:"hostAliases,omitempty"` diff --git a/client/project/v3/zz_generated_quobyte_volume_source.go b/client/project/v3/zz_generated_quobyte_volume_source.go index 44cc8a6c..41e308d3 100644 --- a/client/project/v3/zz_generated_quobyte_volume_source.go +++ b/client/project/v3/zz_generated_quobyte_volume_source.go @@ -5,6 +5,7 @@ const ( QuobyteVolumeSourceFieldGroup = "group" QuobyteVolumeSourceFieldReadOnly = "readOnly" QuobyteVolumeSourceFieldRegistry = "registry" + QuobyteVolumeSourceFieldTenant = "tenant" QuobyteVolumeSourceFieldUser = "user" QuobyteVolumeSourceFieldVolume = "volume" ) @@ -13,6 +14,7 @@ type QuobyteVolumeSource struct { Group string `json:"group,omitempty" yaml:"group,omitempty"` ReadOnly bool `json:"readOnly,omitempty" yaml:"readOnly,omitempty"` Registry string `json:"registry,omitempty" yaml:"registry,omitempty"` + Tenant string `json:"tenant,omitempty" yaml:"tenant,omitempty"` User string `json:"user,omitempty" yaml:"user,omitempty"` Volume string `json:"volume,omitempty" yaml:"volume,omitempty"` } diff --git a/client/project/v3/zz_generated_replica_set.go b/client/project/v3/zz_generated_replica_set.go index c9c086b2..2c4dd074 100644 --- a/client/project/v3/zz_generated_replica_set.go +++ b/client/project/v3/zz_generated_replica_set.go @@ -14,6 +14,7 @@ const ( ReplicaSetFieldCreatorID = "creatorId" ReplicaSetFieldDNSConfig = "dnsConfig" ReplicaSetFieldDNSPolicy = "dnsPolicy" + ReplicaSetFieldEnableServiceLinks = "enableServiceLinks" ReplicaSetFieldFsgid = "fsgid" ReplicaSetFieldGids = "gids" ReplicaSetFieldHostAliases = "hostAliases" @@ -66,6 +67,7 @@ type ReplicaSet struct { CreatorID string `json:"creatorId,omitempty" yaml:"creatorId,omitempty"` DNSConfig *PodDNSConfig `json:"dnsConfig,omitempty" yaml:"dnsConfig,omitempty"` DNSPolicy string `json:"dnsPolicy,omitempty" yaml:"dnsPolicy,omitempty"` + EnableServiceLinks *bool `json:"enableServiceLinks,omitempty" yaml:"enableServiceLinks,omitempty"` Fsgid *int64 `json:"fsgid,omitempty" yaml:"fsgid,omitempty"` Gids []int64 `json:"gids,omitempty" yaml:"gids,omitempty"` HostAliases []HostAlias `json:"hostAliases,omitempty" yaml:"hostAliases,omitempty"` diff --git a/client/project/v3/zz_generated_replication_controller.go b/client/project/v3/zz_generated_replication_controller.go index f5838e8b..a663b1cf 100644 --- a/client/project/v3/zz_generated_replication_controller.go +++ b/client/project/v3/zz_generated_replication_controller.go @@ -14,6 +14,7 @@ const ( ReplicationControllerFieldCreatorID = "creatorId" ReplicationControllerFieldDNSConfig = "dnsConfig" ReplicationControllerFieldDNSPolicy = "dnsPolicy" + ReplicationControllerFieldEnableServiceLinks = "enableServiceLinks" ReplicationControllerFieldFsgid = "fsgid" ReplicationControllerFieldGids = "gids" ReplicationControllerFieldHostAliases = "hostAliases" @@ -66,6 +67,7 @@ type ReplicationController struct { CreatorID string `json:"creatorId,omitempty" yaml:"creatorId,omitempty"` DNSConfig *PodDNSConfig `json:"dnsConfig,omitempty" yaml:"dnsConfig,omitempty"` DNSPolicy string `json:"dnsPolicy,omitempty" yaml:"dnsPolicy,omitempty"` + EnableServiceLinks *bool `json:"enableServiceLinks,omitempty" yaml:"enableServiceLinks,omitempty"` Fsgid *int64 `json:"fsgid,omitempty" yaml:"fsgid,omitempty"` Gids []int64 `json:"gids,omitempty" yaml:"gids,omitempty"` HostAliases []HostAlias `json:"hostAliases,omitempty" yaml:"hostAliases,omitempty"` diff --git a/client/project/v3/zz_generated_replication_controller_spec.go b/client/project/v3/zz_generated_replication_controller_spec.go index 6fa068dd..bb6b9ffa 100644 --- a/client/project/v3/zz_generated_replication_controller_spec.go +++ b/client/project/v3/zz_generated_replication_controller_spec.go @@ -7,6 +7,7 @@ const ( ReplicationControllerSpecFieldContainers = "containers" ReplicationControllerSpecFieldDNSConfig = "dnsConfig" ReplicationControllerSpecFieldDNSPolicy = "dnsPolicy" + ReplicationControllerSpecFieldEnableServiceLinks = "enableServiceLinks" ReplicationControllerSpecFieldFsgid = "fsgid" ReplicationControllerSpecFieldGids = "gids" ReplicationControllerSpecFieldHostAliases = "hostAliases" @@ -41,6 +42,7 @@ type ReplicationControllerSpec struct { Containers []Container `json:"containers,omitempty" yaml:"containers,omitempty"` DNSConfig *PodDNSConfig `json:"dnsConfig,omitempty" yaml:"dnsConfig,omitempty"` DNSPolicy string `json:"dnsPolicy,omitempty" yaml:"dnsPolicy,omitempty"` + EnableServiceLinks *bool `json:"enableServiceLinks,omitempty" yaml:"enableServiceLinks,omitempty"` Fsgid *int64 `json:"fsgid,omitempty" yaml:"fsgid,omitempty"` Gids []int64 `json:"gids,omitempty" yaml:"gids,omitempty"` HostAliases []HostAlias `json:"hostAliases,omitempty" yaml:"hostAliases,omitempty"` diff --git a/client/project/v3/zz_generated_stateful_set.go b/client/project/v3/zz_generated_stateful_set.go index 9b0b9f62..66669cfa 100644 --- a/client/project/v3/zz_generated_stateful_set.go +++ b/client/project/v3/zz_generated_stateful_set.go @@ -14,6 +14,7 @@ const ( StatefulSetFieldCreatorID = "creatorId" StatefulSetFieldDNSConfig = "dnsConfig" StatefulSetFieldDNSPolicy = "dnsPolicy" + StatefulSetFieldEnableServiceLinks = "enableServiceLinks" StatefulSetFieldFsgid = "fsgid" StatefulSetFieldGids = "gids" StatefulSetFieldHostAliases = "hostAliases" @@ -66,6 +67,7 @@ type StatefulSet struct { CreatorID string `json:"creatorId,omitempty" yaml:"creatorId,omitempty"` DNSConfig *PodDNSConfig `json:"dnsConfig,omitempty" yaml:"dnsConfig,omitempty"` DNSPolicy string `json:"dnsPolicy,omitempty" yaml:"dnsPolicy,omitempty"` + EnableServiceLinks *bool `json:"enableServiceLinks,omitempty" yaml:"enableServiceLinks,omitempty"` Fsgid *int64 `json:"fsgid,omitempty" yaml:"fsgid,omitempty"` Gids []int64 `json:"gids,omitempty" yaml:"gids,omitempty"` HostAliases []HostAlias `json:"hostAliases,omitempty" yaml:"hostAliases,omitempty"` diff --git a/client/project/v3/zz_generated_stateful_set_spec.go b/client/project/v3/zz_generated_stateful_set_spec.go index 91e36bd0..d416908c 100644 --- a/client/project/v3/zz_generated_stateful_set_spec.go +++ b/client/project/v3/zz_generated_stateful_set_spec.go @@ -7,6 +7,7 @@ const ( StatefulSetSpecFieldContainers = "containers" StatefulSetSpecFieldDNSConfig = "dnsConfig" StatefulSetSpecFieldDNSPolicy = "dnsPolicy" + StatefulSetSpecFieldEnableServiceLinks = "enableServiceLinks" StatefulSetSpecFieldFsgid = "fsgid" StatefulSetSpecFieldGids = "gids" StatefulSetSpecFieldHostAliases = "hostAliases" @@ -41,6 +42,7 @@ type StatefulSetSpec struct { Containers []Container `json:"containers,omitempty" yaml:"containers,omitempty"` DNSConfig *PodDNSConfig `json:"dnsConfig,omitempty" yaml:"dnsConfig,omitempty"` DNSPolicy string `json:"dnsPolicy,omitempty" yaml:"dnsPolicy,omitempty"` + EnableServiceLinks *bool `json:"enableServiceLinks,omitempty" yaml:"enableServiceLinks,omitempty"` Fsgid *int64 `json:"fsgid,omitempty" yaml:"fsgid,omitempty"` Gids []int64 `json:"gids,omitempty" yaml:"gids,omitempty"` HostAliases []HostAlias `json:"hostAliases,omitempty" yaml:"hostAliases,omitempty"` diff --git a/client/project/v3/zz_generated_volume.go b/client/project/v3/zz_generated_volume.go index 2b2e6587..f3b2e281 100644 --- a/client/project/v3/zz_generated_volume.go +++ b/client/project/v3/zz_generated_volume.go @@ -5,6 +5,7 @@ const ( VolumeFieldAWSElasticBlockStore = "awsElasticBlockStore" VolumeFieldAzureDisk = "azureDisk" VolumeFieldAzureFile = "azureFile" + VolumeFieldCSI = "csi" VolumeFieldCephFS = "cephfs" VolumeFieldCinder = "cinder" VolumeFieldConfigMap = "configMap" @@ -36,6 +37,7 @@ type Volume struct { AWSElasticBlockStore *AWSElasticBlockStoreVolumeSource `json:"awsElasticBlockStore,omitempty" yaml:"awsElasticBlockStore,omitempty"` AzureDisk *AzureDiskVolumeSource `json:"azureDisk,omitempty" yaml:"azureDisk,omitempty"` AzureFile *AzureFileVolumeSource `json:"azureFile,omitempty" yaml:"azureFile,omitempty"` + CSI *CSIVolumeSource `json:"csi,omitempty" yaml:"csi,omitempty"` CephFS *CephFSVolumeSource `json:"cephfs,omitempty" yaml:"cephfs,omitempty"` Cinder *CinderVolumeSource `json:"cinder,omitempty" yaml:"cinder,omitempty"` ConfigMap *ConfigMapVolumeSource `json:"configMap,omitempty" yaml:"configMap,omitempty"` diff --git a/client/project/v3/zz_generated_volume_mount.go b/client/project/v3/zz_generated_volume_mount.go index 60458f8b..6a2ae8ba 100644 --- a/client/project/v3/zz_generated_volume_mount.go +++ b/client/project/v3/zz_generated_volume_mount.go @@ -7,6 +7,7 @@ const ( VolumeMountFieldName = "name" VolumeMountFieldReadOnly = "readOnly" VolumeMountFieldSubPath = "subPath" + VolumeMountFieldSubPathExpr = "subPathExpr" ) type VolumeMount struct { @@ -15,4 +16,5 @@ type VolumeMount struct { Name string `json:"name,omitempty" yaml:"name,omitempty"` ReadOnly bool `json:"readOnly,omitempty" yaml:"readOnly,omitempty"` SubPath string `json:"subPath,omitempty" yaml:"subPath,omitempty"` + SubPathExpr string `json:"subPathExpr,omitempty" yaml:"subPathExpr,omitempty"` } diff --git a/client/project/v3/zz_generated_workload.go b/client/project/v3/zz_generated_workload.go index 89ffca2f..eed84ca8 100644 --- a/client/project/v3/zz_generated_workload.go +++ b/client/project/v3/zz_generated_workload.go @@ -20,6 +20,7 @@ const ( WorkloadFieldDaemonSetStatus = "daemonSetStatus" WorkloadFieldDeploymentConfig = "deploymentConfig" WorkloadFieldDeploymentStatus = "deploymentStatus" + WorkloadFieldEnableServiceLinks = "enableServiceLinks" WorkloadFieldFsgid = "fsgid" WorkloadFieldGids = "gids" WorkloadFieldHostAliases = "hostAliases" @@ -86,6 +87,7 @@ type Workload struct { DaemonSetStatus *DaemonSetStatus `json:"daemonSetStatus,omitempty" yaml:"daemonSetStatus,omitempty"` DeploymentConfig *DeploymentConfig `json:"deploymentConfig,omitempty" yaml:"deploymentConfig,omitempty"` DeploymentStatus *DeploymentStatus `json:"deploymentStatus,omitempty" yaml:"deploymentStatus,omitempty"` + EnableServiceLinks *bool `json:"enableServiceLinks,omitempty" yaml:"enableServiceLinks,omitempty"` Fsgid *int64 `json:"fsgid,omitempty" yaml:"fsgid,omitempty"` Gids []int64 `json:"gids,omitempty" yaml:"gids,omitempty"` HostAliases []HostAlias `json:"hostAliases,omitempty" yaml:"hostAliases,omitempty"`