From bdc145e2bb9240920451251e151e7ad1f5cfc027 Mon Sep 17 00:00:00 2001 From: Jaka Hudoklin Date: Sun, 6 Oct 2019 21:23:05 +0200 Subject: [PATCH] feat(k8s): expose attrName in list of kubernetes types --- generators/k8s/default.nix | 1 + modules/generated/v1.10.nix | 82 ++++++++++++++++++++++++++++++++++ modules/generated/v1.11.nix | 83 +++++++++++++++++++++++++++++++++++ modules/generated/v1.12.nix | 85 ++++++++++++++++++++++++++++++++++++ modules/generated/v1.13.nix | 87 +++++++++++++++++++++++++++++++++++++ modules/generated/v1.7.nix | 58 +++++++++++++++++++++++++ modules/generated/v1.8.nix | 71 ++++++++++++++++++++++++++++++ modules/generated/v1.9.nix | 79 +++++++++++++++++++++++++++++++++ modules/k8s.nix | 5 +++ 9 files changed, 551 insertions(+) diff --git a/generators/k8s/default.nix b/generators/k8s/default.nix index 7e6f3ed..aba7ce7 100644 --- a/generators/k8s/default.nix +++ b/generators/k8s/default.nix @@ -399,6 +399,7 @@ let group = "${rt.group}"; version = "${rt.version}"; kind = "${rt.kind}"; + attrName = "${rt.attrName}"; }'') resourceTypes)}]; resources = { diff --git a/modules/generated/v1.10.nix b/modules/generated/v1.10.nix index 0ac9e89..e492181 100755 --- a/modules/generated/v1.10.nix +++ b/modules/generated/v1.10.nix @@ -28319,492 +28319,574 @@ in { group = "admissionregistration.k8s.io"; version = "v1alpha1"; kind = "InitializerConfiguration"; + attrName = "initializerConfigurations"; } { name = "mutatingwebhookconfigurations"; group = "admissionregistration.k8s.io"; version = "v1beta1"; kind = "MutatingWebhookConfiguration"; + attrName = "mutatingWebhookConfigurations"; } { name = "validatingwebhookconfigurations"; group = "admissionregistration.k8s.io"; version = "v1beta1"; kind = "ValidatingWebhookConfiguration"; + attrName = "validatingWebhookConfigurations"; } { name = "controllerrevisions"; group = "apps"; version = "v1"; kind = "ControllerRevision"; + attrName = "controllerRevisions"; } { name = "daemonsets"; group = "apps"; version = "v1"; kind = "DaemonSet"; + attrName = "daemonSets"; } { name = "deployments"; group = "apps"; version = "v1"; kind = "Deployment"; + attrName = "deployments"; } { name = "replicasets"; group = "apps"; version = "v1"; kind = "ReplicaSet"; + attrName = "replicaSets"; } { name = "statefulsets"; group = "apps"; version = "v1"; kind = "StatefulSet"; + attrName = "statefulSets"; } { name = "controllerrevisions"; group = "apps"; version = "v1beta1"; kind = "ControllerRevision"; + attrName = "controllerRevisions"; } { name = "deployments"; group = "apps"; version = "v1beta1"; kind = "Deployment"; + attrName = "deployments"; } { name = "rollback"; group = "apps"; version = "v1beta1"; kind = "DeploymentRollback"; + attrName = "rollback"; } { name = "statefulsets"; group = "apps"; version = "v1beta1"; kind = "StatefulSet"; + attrName = "statefulSets"; } { name = "controllerrevisions"; group = "apps"; version = "v1beta2"; kind = "ControllerRevision"; + attrName = "controllerRevisions"; } { name = "daemonsets"; group = "apps"; version = "v1beta2"; kind = "DaemonSet"; + attrName = "daemonSets"; } { name = "deployments"; group = "apps"; version = "v1beta2"; kind = "Deployment"; + attrName = "deployments"; } { name = "replicasets"; group = "apps"; version = "v1beta2"; kind = "ReplicaSet"; + attrName = "replicaSets"; } { name = "statefulsets"; group = "apps"; version = "v1beta2"; kind = "StatefulSet"; + attrName = "statefulSets"; } { name = "tokenreviews"; group = "authentication.k8s.io"; version = "v1"; kind = "TokenReview"; + attrName = "tokenReviews"; } { name = "tokenreviews"; group = "authentication.k8s.io"; version = "v1beta1"; kind = "TokenReview"; + attrName = "tokenReviews"; } { name = "localsubjectaccessreviews"; group = "authorization.k8s.io"; version = "v1"; kind = "LocalSubjectAccessReview"; + attrName = "localSubjectAccessReviews"; } { name = "selfsubjectaccessreviews"; group = "authorization.k8s.io"; version = "v1"; kind = "SelfSubjectAccessReview"; + attrName = "selfSubjectAccessReviews"; } { name = "selfsubjectrulesreviews"; group = "authorization.k8s.io"; version = "v1"; kind = "SelfSubjectRulesReview"; + attrName = "selfSubjectRulesReviews"; } { name = "subjectaccessreviews"; group = "authorization.k8s.io"; version = "v1"; kind = "SubjectAccessReview"; + attrName = "subjectAccessReviews"; } { name = "localsubjectaccessreviews"; group = "authorization.k8s.io"; version = "v1beta1"; kind = "LocalSubjectAccessReview"; + attrName = "localSubjectAccessReviews"; } { name = "selfsubjectaccessreviews"; group = "authorization.k8s.io"; version = "v1beta1"; kind = "SelfSubjectAccessReview"; + attrName = "selfSubjectAccessReviews"; } { name = "selfsubjectrulesreviews"; group = "authorization.k8s.io"; version = "v1beta1"; kind = "SelfSubjectRulesReview"; + attrName = "selfSubjectRulesReviews"; } { name = "subjectaccessreviews"; group = "authorization.k8s.io"; version = "v1beta1"; kind = "SubjectAccessReview"; + attrName = "subjectAccessReviews"; } { name = "horizontalpodautoscalers"; group = "autoscaling"; version = "v1"; kind = "HorizontalPodAutoscaler"; + attrName = "horizontalPodAutoscalers"; } { name = "horizontalpodautoscalers"; group = "autoscaling"; version = "v2beta1"; kind = "HorizontalPodAutoscaler"; + attrName = "horizontalPodAutoscalers"; } { name = "jobs"; group = "batch"; version = "v1"; kind = "Job"; + attrName = "jobs"; } { name = "cronjobs"; group = "batch"; version = "v1beta1"; kind = "CronJob"; + attrName = "cronJobs"; } { name = "cronjobs"; group = "batch"; version = "v2alpha1"; kind = "CronJob"; + attrName = "cronJobs"; } { name = "certificatesigningrequests"; group = "certificates.k8s.io"; version = "v1beta1"; kind = "CertificateSigningRequest"; + attrName = "certificateSigningRequests"; } { name = "bindings"; group = "core"; version = "v1"; kind = "Binding"; + attrName = "bindings"; } { name = "configmaps"; group = "core"; version = "v1"; kind = "ConfigMap"; + attrName = "configMaps"; } { name = "endpoints"; group = "core"; version = "v1"; kind = "Endpoints"; + attrName = "endpoints"; } { name = "events"; group = "core"; version = "v1"; kind = "Event"; + attrName = "events"; } { name = "limitranges"; group = "core"; version = "v1"; kind = "LimitRange"; + attrName = "limitRanges"; } { name = "namespaces"; group = "core"; version = "v1"; kind = "Namespace"; + attrName = "namespaces"; } { name = "nodes"; group = "core"; version = "v1"; kind = "Node"; + attrName = "nodes"; } { name = "persistentvolumes"; group = "core"; version = "v1"; kind = "PersistentVolume"; + attrName = "persistentVolumes"; } { name = "persistentvolumeclaims"; group = "core"; version = "v1"; kind = "PersistentVolumeClaim"; + attrName = "persistentVolumeClaims"; } { name = "pods"; group = "core"; version = "v1"; kind = "Pod"; + attrName = "pods"; } { name = "podtemplates"; group = "core"; version = "v1"; kind = "PodTemplate"; + attrName = "podTemplates"; } { name = "replicationcontrollers"; group = "core"; version = "v1"; kind = "ReplicationController"; + attrName = "replicationControllers"; } { name = "resourcequotas"; group = "core"; version = "v1"; kind = "ResourceQuota"; + attrName = "resourceQuotas"; } { name = "secrets"; group = "core"; version = "v1"; kind = "Secret"; + attrName = "secrets"; } { name = "services"; group = "core"; version = "v1"; kind = "Service"; + attrName = "services"; } { name = "serviceaccounts"; group = "core"; version = "v1"; kind = "ServiceAccount"; + attrName = "serviceAccounts"; } { name = "events"; group = "events.k8s.io"; version = "v1beta1"; kind = "Event"; + attrName = "events"; } { name = "daemonsets"; group = "extensions"; version = "v1beta1"; kind = "DaemonSet"; + attrName = "daemonSets"; } { name = "deployments"; group = "extensions"; version = "v1beta1"; kind = "Deployment"; + attrName = "deployments"; } { name = "rollback"; group = "extensions"; version = "v1beta1"; kind = "DeploymentRollback"; + attrName = "rollback"; } { name = "ingresses"; group = "extensions"; version = "v1beta1"; kind = "Ingress"; + attrName = "ingresses"; } { name = "networkpolicies"; group = "extensions"; version = "v1beta1"; kind = "NetworkPolicy"; + attrName = "networkPolicies"; } { name = "podsecuritypolicies"; group = "extensions"; version = "v1beta1"; kind = "PodSecurityPolicy"; + attrName = "podSecurityPolicies"; } { name = "replicasets"; group = "extensions"; version = "v1beta1"; kind = "ReplicaSet"; + attrName = "replicaSets"; } { name = "networkpolicies"; group = "networking.k8s.io"; version = "v1"; kind = "NetworkPolicy"; + attrName = "networkPolicies"; } { name = "eviction"; group = "policy"; version = "v1beta1"; kind = "Eviction"; + attrName = "eviction"; } { name = "poddisruptionbudgets"; group = "policy"; version = "v1beta1"; kind = "PodDisruptionBudget"; + attrName = "podDisruptionBudgets"; } { name = "podsecuritypolicies"; group = "policy"; version = "v1beta1"; kind = "PodSecurityPolicy"; + attrName = "podSecurityPolicies"; } { name = "clusterroles"; group = "rbac.authorization.k8s.io"; version = "v1"; kind = "ClusterRole"; + attrName = "clusterRoles"; } { name = "clusterrolebindings"; group = "rbac.authorization.k8s.io"; version = "v1"; kind = "ClusterRoleBinding"; + attrName = "clusterRoleBindings"; } { name = "roles"; group = "rbac.authorization.k8s.io"; version = "v1"; kind = "Role"; + attrName = "roles"; } { name = "rolebindings"; group = "rbac.authorization.k8s.io"; version = "v1"; kind = "RoleBinding"; + attrName = "roleBindings"; } { name = "clusterroles"; group = "rbac.authorization.k8s.io"; version = "v1alpha1"; kind = "ClusterRole"; + attrName = "clusterRoles"; } { name = "clusterrolebindings"; group = "rbac.authorization.k8s.io"; version = "v1alpha1"; kind = "ClusterRoleBinding"; + attrName = "clusterRoleBindings"; } { name = "roles"; group = "rbac.authorization.k8s.io"; version = "v1alpha1"; kind = "Role"; + attrName = "roles"; } { name = "rolebindings"; group = "rbac.authorization.k8s.io"; version = "v1alpha1"; kind = "RoleBinding"; + attrName = "roleBindings"; } { name = "clusterroles"; group = "rbac.authorization.k8s.io"; version = "v1beta1"; kind = "ClusterRole"; + attrName = "clusterRoles"; } { name = "clusterrolebindings"; group = "rbac.authorization.k8s.io"; version = "v1beta1"; kind = "ClusterRoleBinding"; + attrName = "clusterRoleBindings"; } { name = "roles"; group = "rbac.authorization.k8s.io"; version = "v1beta1"; kind = "Role"; + attrName = "roles"; } { name = "rolebindings"; group = "rbac.authorization.k8s.io"; version = "v1beta1"; kind = "RoleBinding"; + attrName = "roleBindings"; } { name = "priorityclasses"; group = "scheduling.k8s.io"; version = "v1alpha1"; kind = "PriorityClass"; + attrName = "priorityClasses"; } { name = "podpresets"; group = "settings.k8s.io"; version = "v1alpha1"; kind = "PodPreset"; + attrName = "podPresets"; } { name = "storageclasses"; group = "storage.k8s.io"; version = "v1"; kind = "StorageClass"; + attrName = "storageClasses"; } { name = "volumeattachments"; group = "storage.k8s.io"; version = "v1alpha1"; kind = "VolumeAttachment"; + attrName = "volumeAttachments"; } { name = "storageclasses"; group = "storage.k8s.io"; version = "v1beta1"; kind = "StorageClass"; + attrName = "storageClasses"; } { name = "volumeattachments"; group = "storage.k8s.io"; version = "v1beta1"; kind = "VolumeAttachment"; + attrName = "volumeAttachments"; } { name = "customresourcedefinitions"; group = "apiextensions.k8s.io"; version = "v1beta1"; kind = "CustomResourceDefinition"; + attrName = "customResourceDefinitions"; } { name = "apiservices"; group = "apiregistration.k8s.io"; version = "v1"; kind = "APIService"; + attrName = "APIServices"; } { name = "apiservices"; group = "apiregistration.k8s.io"; version = "v1beta1"; kind = "APIService"; + attrName = "APIServices"; } ]; diff --git a/modules/generated/v1.11.nix b/modules/generated/v1.11.nix index 0a75f0f..f90152a 100755 --- a/modules/generated/v1.11.nix +++ b/modules/generated/v1.11.nix @@ -28864,498 +28864,581 @@ in { group = "admissionregistration.k8s.io"; version = "v1alpha1"; kind = "InitializerConfiguration"; + attrName = "initializerConfigurations"; } { name = "mutatingwebhookconfigurations"; group = "admissionregistration.k8s.io"; version = "v1beta1"; kind = "MutatingWebhookConfiguration"; + attrName = "mutatingWebhookConfigurations"; } { name = "validatingwebhookconfigurations"; group = "admissionregistration.k8s.io"; version = "v1beta1"; kind = "ValidatingWebhookConfiguration"; + attrName = "validatingWebhookConfigurations"; } { name = "controllerrevisions"; group = "apps"; version = "v1"; kind = "ControllerRevision"; + attrName = "controllerRevisions"; } { name = "daemonsets"; group = "apps"; version = "v1"; kind = "DaemonSet"; + attrName = "daemonSets"; } { name = "deployments"; group = "apps"; version = "v1"; kind = "Deployment"; + attrName = "deployments"; } { name = "replicasets"; group = "apps"; version = "v1"; kind = "ReplicaSet"; + attrName = "replicaSets"; } { name = "statefulsets"; group = "apps"; version = "v1"; kind = "StatefulSet"; + attrName = "statefulSets"; } { name = "controllerrevisions"; group = "apps"; version = "v1beta1"; kind = "ControllerRevision"; + attrName = "controllerRevisions"; } { name = "deployments"; group = "apps"; version = "v1beta1"; kind = "Deployment"; + attrName = "deployments"; } { name = "rollback"; group = "apps"; version = "v1beta1"; kind = "DeploymentRollback"; + attrName = "rollback"; } { name = "statefulsets"; group = "apps"; version = "v1beta1"; kind = "StatefulSet"; + attrName = "statefulSets"; } { name = "controllerrevisions"; group = "apps"; version = "v1beta2"; kind = "ControllerRevision"; + attrName = "controllerRevisions"; } { name = "daemonsets"; group = "apps"; version = "v1beta2"; kind = "DaemonSet"; + attrName = "daemonSets"; } { name = "deployments"; group = "apps"; version = "v1beta2"; kind = "Deployment"; + attrName = "deployments"; } { name = "replicasets"; group = "apps"; version = "v1beta2"; kind = "ReplicaSet"; + attrName = "replicaSets"; } { name = "statefulsets"; group = "apps"; version = "v1beta2"; kind = "StatefulSet"; + attrName = "statefulSets"; } { name = "tokenreviews"; group = "authentication.k8s.io"; version = "v1"; kind = "TokenReview"; + attrName = "tokenReviews"; } { name = "tokenreviews"; group = "authentication.k8s.io"; version = "v1beta1"; kind = "TokenReview"; + attrName = "tokenReviews"; } { name = "localsubjectaccessreviews"; group = "authorization.k8s.io"; version = "v1"; kind = "LocalSubjectAccessReview"; + attrName = "localSubjectAccessReviews"; } { name = "selfsubjectaccessreviews"; group = "authorization.k8s.io"; version = "v1"; kind = "SelfSubjectAccessReview"; + attrName = "selfSubjectAccessReviews"; } { name = "selfsubjectrulesreviews"; group = "authorization.k8s.io"; version = "v1"; kind = "SelfSubjectRulesReview"; + attrName = "selfSubjectRulesReviews"; } { name = "subjectaccessreviews"; group = "authorization.k8s.io"; version = "v1"; kind = "SubjectAccessReview"; + attrName = "subjectAccessReviews"; } { name = "localsubjectaccessreviews"; group = "authorization.k8s.io"; version = "v1beta1"; kind = "LocalSubjectAccessReview"; + attrName = "localSubjectAccessReviews"; } { name = "selfsubjectaccessreviews"; group = "authorization.k8s.io"; version = "v1beta1"; kind = "SelfSubjectAccessReview"; + attrName = "selfSubjectAccessReviews"; } { name = "selfsubjectrulesreviews"; group = "authorization.k8s.io"; version = "v1beta1"; kind = "SelfSubjectRulesReview"; + attrName = "selfSubjectRulesReviews"; } { name = "subjectaccessreviews"; group = "authorization.k8s.io"; version = "v1beta1"; kind = "SubjectAccessReview"; + attrName = "subjectAccessReviews"; } { name = "horizontalpodautoscalers"; group = "autoscaling"; version = "v1"; kind = "HorizontalPodAutoscaler"; + attrName = "horizontalPodAutoscalers"; } { name = "horizontalpodautoscalers"; group = "autoscaling"; version = "v2beta1"; kind = "HorizontalPodAutoscaler"; + attrName = "horizontalPodAutoscalers"; } { name = "jobs"; group = "batch"; version = "v1"; kind = "Job"; + attrName = "jobs"; } { name = "cronjobs"; group = "batch"; version = "v1beta1"; kind = "CronJob"; + attrName = "cronJobs"; } { name = "cronjobs"; group = "batch"; version = "v2alpha1"; kind = "CronJob"; + attrName = "cronJobs"; } { name = "certificatesigningrequests"; group = "certificates.k8s.io"; version = "v1beta1"; kind = "CertificateSigningRequest"; + attrName = "certificateSigningRequests"; } { name = "bindings"; group = "core"; version = "v1"; kind = "Binding"; + attrName = "bindings"; } { name = "configmaps"; group = "core"; version = "v1"; kind = "ConfigMap"; + attrName = "configMaps"; } { name = "endpoints"; group = "core"; version = "v1"; kind = "Endpoints"; + attrName = "endpoints"; } { name = "events"; group = "core"; version = "v1"; kind = "Event"; + attrName = "events"; } { name = "limitranges"; group = "core"; version = "v1"; kind = "LimitRange"; + attrName = "limitRanges"; } { name = "namespaces"; group = "core"; version = "v1"; kind = "Namespace"; + attrName = "namespaces"; } { name = "nodes"; group = "core"; version = "v1"; kind = "Node"; + attrName = "nodes"; } { name = "persistentvolumes"; group = "core"; version = "v1"; kind = "PersistentVolume"; + attrName = "persistentVolumes"; } { name = "persistentvolumeclaims"; group = "core"; version = "v1"; kind = "PersistentVolumeClaim"; + attrName = "persistentVolumeClaims"; } { name = "pods"; group = "core"; version = "v1"; kind = "Pod"; + attrName = "pods"; } { name = "podtemplates"; group = "core"; version = "v1"; kind = "PodTemplate"; + attrName = "podTemplates"; } { name = "replicationcontrollers"; group = "core"; version = "v1"; kind = "ReplicationController"; + attrName = "replicationControllers"; } { name = "resourcequotas"; group = "core"; version = "v1"; kind = "ResourceQuota"; + attrName = "resourceQuotas"; } { name = "secrets"; group = "core"; version = "v1"; kind = "Secret"; + attrName = "secrets"; } { name = "services"; group = "core"; version = "v1"; kind = "Service"; + attrName = "services"; } { name = "serviceaccounts"; group = "core"; version = "v1"; kind = "ServiceAccount"; + attrName = "serviceAccounts"; } { name = "events"; group = "events.k8s.io"; version = "v1beta1"; kind = "Event"; + attrName = "events"; } { name = "daemonsets"; group = "extensions"; version = "v1beta1"; kind = "DaemonSet"; + attrName = "daemonSets"; } { name = "deployments"; group = "extensions"; version = "v1beta1"; kind = "Deployment"; + attrName = "deployments"; } { name = "rollback"; group = "extensions"; version = "v1beta1"; kind = "DeploymentRollback"; + attrName = "rollback"; } { name = "ingresses"; group = "extensions"; version = "v1beta1"; kind = "Ingress"; + attrName = "ingresses"; } { name = "networkpolicies"; group = "extensions"; version = "v1beta1"; kind = "NetworkPolicy"; + attrName = "networkPolicies"; } { name = "podsecuritypolicies"; group = "extensions"; version = "v1beta1"; kind = "PodSecurityPolicy"; + attrName = "podSecurityPolicies"; } { name = "replicasets"; group = "extensions"; version = "v1beta1"; kind = "ReplicaSet"; + attrName = "replicaSets"; } { name = "networkpolicies"; group = "networking.k8s.io"; version = "v1"; kind = "NetworkPolicy"; + attrName = "networkPolicies"; } { name = "eviction"; group = "policy"; version = "v1beta1"; kind = "Eviction"; + attrName = "eviction"; } { name = "poddisruptionbudgets"; group = "policy"; version = "v1beta1"; kind = "PodDisruptionBudget"; + attrName = "podDisruptionBudgets"; } { name = "podsecuritypolicies"; group = "policy"; version = "v1beta1"; kind = "PodSecurityPolicy"; + attrName = "podSecurityPolicies"; } { name = "clusterroles"; group = "rbac.authorization.k8s.io"; version = "v1"; kind = "ClusterRole"; + attrName = "clusterRoles"; } { name = "clusterrolebindings"; group = "rbac.authorization.k8s.io"; version = "v1"; kind = "ClusterRoleBinding"; + attrName = "clusterRoleBindings"; } { name = "roles"; group = "rbac.authorization.k8s.io"; version = "v1"; kind = "Role"; + attrName = "roles"; } { name = "rolebindings"; group = "rbac.authorization.k8s.io"; version = "v1"; kind = "RoleBinding"; + attrName = "roleBindings"; } { name = "clusterroles"; group = "rbac.authorization.k8s.io"; version = "v1alpha1"; kind = "ClusterRole"; + attrName = "clusterRoles"; } { name = "clusterrolebindings"; group = "rbac.authorization.k8s.io"; version = "v1alpha1"; kind = "ClusterRoleBinding"; + attrName = "clusterRoleBindings"; } { name = "roles"; group = "rbac.authorization.k8s.io"; version = "v1alpha1"; kind = "Role"; + attrName = "roles"; } { name = "rolebindings"; group = "rbac.authorization.k8s.io"; version = "v1alpha1"; kind = "RoleBinding"; + attrName = "roleBindings"; } { name = "clusterroles"; group = "rbac.authorization.k8s.io"; version = "v1beta1"; kind = "ClusterRole"; + attrName = "clusterRoles"; } { name = "clusterrolebindings"; group = "rbac.authorization.k8s.io"; version = "v1beta1"; kind = "ClusterRoleBinding"; + attrName = "clusterRoleBindings"; } { name = "roles"; group = "rbac.authorization.k8s.io"; version = "v1beta1"; kind = "Role"; + attrName = "roles"; } { name = "rolebindings"; group = "rbac.authorization.k8s.io"; version = "v1beta1"; kind = "RoleBinding"; + attrName = "roleBindings"; } { name = "priorityclasses"; group = "scheduling.k8s.io"; version = "v1alpha1"; kind = "PriorityClass"; + attrName = "priorityClasses"; } { name = "priorityclasses"; group = "scheduling.k8s.io"; version = "v1beta1"; kind = "PriorityClass"; + attrName = "priorityClasses"; } { name = "podpresets"; group = "settings.k8s.io"; version = "v1alpha1"; kind = "PodPreset"; + attrName = "podPresets"; } { name = "storageclasses"; group = "storage.k8s.io"; version = "v1"; kind = "StorageClass"; + attrName = "storageClasses"; } { name = "volumeattachments"; group = "storage.k8s.io"; version = "v1alpha1"; kind = "VolumeAttachment"; + attrName = "volumeAttachments"; } { name = "storageclasses"; group = "storage.k8s.io"; version = "v1beta1"; kind = "StorageClass"; + attrName = "storageClasses"; } { name = "volumeattachments"; group = "storage.k8s.io"; version = "v1beta1"; kind = "VolumeAttachment"; + attrName = "volumeAttachments"; } { name = "customresourcedefinitions"; group = "apiextensions.k8s.io"; version = "v1beta1"; kind = "CustomResourceDefinition"; + attrName = "customResourceDefinitions"; } { name = "apiservices"; group = "apiregistration.k8s.io"; version = "v1"; kind = "APIService"; + attrName = "APIServices"; } { name = "apiservices"; group = "apiregistration.k8s.io"; version = "v1beta1"; kind = "APIService"; + attrName = "APIServices"; } ]; diff --git a/modules/generated/v1.12.nix b/modules/generated/v1.12.nix index 7391dce..f4bca0c 100755 --- a/modules/generated/v1.12.nix +++ b/modules/generated/v1.12.nix @@ -29627,510 +29627,595 @@ in { group = "admissionregistration.k8s.io"; version = "v1alpha1"; kind = "InitializerConfiguration"; + attrName = "initializerConfigurations"; } { name = "mutatingwebhookconfigurations"; group = "admissionregistration.k8s.io"; version = "v1beta1"; kind = "MutatingWebhookConfiguration"; + attrName = "mutatingWebhookConfigurations"; } { name = "validatingwebhookconfigurations"; group = "admissionregistration.k8s.io"; version = "v1beta1"; kind = "ValidatingWebhookConfiguration"; + attrName = "validatingWebhookConfigurations"; } { name = "controllerrevisions"; group = "apps"; version = "v1"; kind = "ControllerRevision"; + attrName = "controllerRevisions"; } { name = "daemonsets"; group = "apps"; version = "v1"; kind = "DaemonSet"; + attrName = "daemonSets"; } { name = "deployments"; group = "apps"; version = "v1"; kind = "Deployment"; + attrName = "deployments"; } { name = "replicasets"; group = "apps"; version = "v1"; kind = "ReplicaSet"; + attrName = "replicaSets"; } { name = "statefulsets"; group = "apps"; version = "v1"; kind = "StatefulSet"; + attrName = "statefulSets"; } { name = "controllerrevisions"; group = "apps"; version = "v1beta1"; kind = "ControllerRevision"; + attrName = "controllerRevisions"; } { name = "deployments"; group = "apps"; version = "v1beta1"; kind = "Deployment"; + attrName = "deployments"; } { name = "rollback"; group = "apps"; version = "v1beta1"; kind = "DeploymentRollback"; + attrName = "rollback"; } { name = "statefulsets"; group = "apps"; version = "v1beta1"; kind = "StatefulSet"; + attrName = "statefulSets"; } { name = "controllerrevisions"; group = "apps"; version = "v1beta2"; kind = "ControllerRevision"; + attrName = "controllerRevisions"; } { name = "daemonsets"; group = "apps"; version = "v1beta2"; kind = "DaemonSet"; + attrName = "daemonSets"; } { name = "deployments"; group = "apps"; version = "v1beta2"; kind = "Deployment"; + attrName = "deployments"; } { name = "replicasets"; group = "apps"; version = "v1beta2"; kind = "ReplicaSet"; + attrName = "replicaSets"; } { name = "statefulsets"; group = "apps"; version = "v1beta2"; kind = "StatefulSet"; + attrName = "statefulSets"; } { name = "tokenreviews"; group = "authentication.k8s.io"; version = "v1"; kind = "TokenReview"; + attrName = "tokenReviews"; } { name = "tokenreviews"; group = "authentication.k8s.io"; version = "v1beta1"; kind = "TokenReview"; + attrName = "tokenReviews"; } { name = "localsubjectaccessreviews"; group = "authorization.k8s.io"; version = "v1"; kind = "LocalSubjectAccessReview"; + attrName = "localSubjectAccessReviews"; } { name = "selfsubjectaccessreviews"; group = "authorization.k8s.io"; version = "v1"; kind = "SelfSubjectAccessReview"; + attrName = "selfSubjectAccessReviews"; } { name = "selfsubjectrulesreviews"; group = "authorization.k8s.io"; version = "v1"; kind = "SelfSubjectRulesReview"; + attrName = "selfSubjectRulesReviews"; } { name = "subjectaccessreviews"; group = "authorization.k8s.io"; version = "v1"; kind = "SubjectAccessReview"; + attrName = "subjectAccessReviews"; } { name = "localsubjectaccessreviews"; group = "authorization.k8s.io"; version = "v1beta1"; kind = "LocalSubjectAccessReview"; + attrName = "localSubjectAccessReviews"; } { name = "selfsubjectaccessreviews"; group = "authorization.k8s.io"; version = "v1beta1"; kind = "SelfSubjectAccessReview"; + attrName = "selfSubjectAccessReviews"; } { name = "selfsubjectrulesreviews"; group = "authorization.k8s.io"; version = "v1beta1"; kind = "SelfSubjectRulesReview"; + attrName = "selfSubjectRulesReviews"; } { name = "subjectaccessreviews"; group = "authorization.k8s.io"; version = "v1beta1"; kind = "SubjectAccessReview"; + attrName = "subjectAccessReviews"; } { name = "horizontalpodautoscalers"; group = "autoscaling"; version = "v1"; kind = "HorizontalPodAutoscaler"; + attrName = "horizontalPodAutoscalers"; } { name = "horizontalpodautoscalers"; group = "autoscaling"; version = "v2beta1"; kind = "HorizontalPodAutoscaler"; + attrName = "horizontalPodAutoscalers"; } { name = "horizontalpodautoscalers"; group = "autoscaling"; version = "v2beta2"; kind = "HorizontalPodAutoscaler"; + attrName = "horizontalPodAutoscalers"; } { name = "jobs"; group = "batch"; version = "v1"; kind = "Job"; + attrName = "jobs"; } { name = "cronjobs"; group = "batch"; version = "v1beta1"; kind = "CronJob"; + attrName = "cronJobs"; } { name = "cronjobs"; group = "batch"; version = "v2alpha1"; kind = "CronJob"; + attrName = "cronJobs"; } { name = "certificatesigningrequests"; group = "certificates.k8s.io"; version = "v1beta1"; kind = "CertificateSigningRequest"; + attrName = "certificateSigningRequests"; } { name = "leases"; group = "coordination.k8s.io"; version = "v1beta1"; kind = "Lease"; + attrName = "leases"; } { name = "bindings"; group = "core"; version = "v1"; kind = "Binding"; + attrName = "bindings"; } { name = "configmaps"; group = "core"; version = "v1"; kind = "ConfigMap"; + attrName = "configMaps"; } { name = "endpoints"; group = "core"; version = "v1"; kind = "Endpoints"; + attrName = "endpoints"; } { name = "events"; group = "core"; version = "v1"; kind = "Event"; + attrName = "events"; } { name = "limitranges"; group = "core"; version = "v1"; kind = "LimitRange"; + attrName = "limitRanges"; } { name = "namespaces"; group = "core"; version = "v1"; kind = "Namespace"; + attrName = "namespaces"; } { name = "nodes"; group = "core"; version = "v1"; kind = "Node"; + attrName = "nodes"; } { name = "persistentvolumes"; group = "core"; version = "v1"; kind = "PersistentVolume"; + attrName = "persistentVolumes"; } { name = "persistentvolumeclaims"; group = "core"; version = "v1"; kind = "PersistentVolumeClaim"; + attrName = "persistentVolumeClaims"; } { name = "pods"; group = "core"; version = "v1"; kind = "Pod"; + attrName = "pods"; } { name = "podtemplates"; group = "core"; version = "v1"; kind = "PodTemplate"; + attrName = "podTemplates"; } { name = "replicationcontrollers"; group = "core"; version = "v1"; kind = "ReplicationController"; + attrName = "replicationControllers"; } { name = "resourcequotas"; group = "core"; version = "v1"; kind = "ResourceQuota"; + attrName = "resourceQuotas"; } { name = "secrets"; group = "core"; version = "v1"; kind = "Secret"; + attrName = "secrets"; } { name = "services"; group = "core"; version = "v1"; kind = "Service"; + attrName = "services"; } { name = "serviceaccounts"; group = "core"; version = "v1"; kind = "ServiceAccount"; + attrName = "serviceAccounts"; } { name = "events"; group = "events.k8s.io"; version = "v1beta1"; kind = "Event"; + attrName = "events"; } { name = "daemonsets"; group = "extensions"; version = "v1beta1"; kind = "DaemonSet"; + attrName = "daemonSets"; } { name = "deployments"; group = "extensions"; version = "v1beta1"; kind = "Deployment"; + attrName = "deployments"; } { name = "rollback"; group = "extensions"; version = "v1beta1"; kind = "DeploymentRollback"; + attrName = "rollback"; } { name = "ingresses"; group = "extensions"; version = "v1beta1"; kind = "Ingress"; + attrName = "ingresses"; } { name = "networkpolicies"; group = "extensions"; version = "v1beta1"; kind = "NetworkPolicy"; + attrName = "networkPolicies"; } { name = "podsecuritypolicies"; group = "extensions"; version = "v1beta1"; kind = "PodSecurityPolicy"; + attrName = "podSecurityPolicies"; } { name = "replicasets"; group = "extensions"; version = "v1beta1"; kind = "ReplicaSet"; + attrName = "replicaSets"; } { name = "networkpolicies"; group = "networking.k8s.io"; version = "v1"; kind = "NetworkPolicy"; + attrName = "networkPolicies"; } { name = "eviction"; group = "policy"; version = "v1beta1"; kind = "Eviction"; + attrName = "eviction"; } { name = "poddisruptionbudgets"; group = "policy"; version = "v1beta1"; kind = "PodDisruptionBudget"; + attrName = "podDisruptionBudgets"; } { name = "podsecuritypolicies"; group = "policy"; version = "v1beta1"; kind = "PodSecurityPolicy"; + attrName = "podSecurityPolicies"; } { name = "clusterroles"; group = "rbac.authorization.k8s.io"; version = "v1"; kind = "ClusterRole"; + attrName = "clusterRoles"; } { name = "clusterrolebindings"; group = "rbac.authorization.k8s.io"; version = "v1"; kind = "ClusterRoleBinding"; + attrName = "clusterRoleBindings"; } { name = "roles"; group = "rbac.authorization.k8s.io"; version = "v1"; kind = "Role"; + attrName = "roles"; } { name = "rolebindings"; group = "rbac.authorization.k8s.io"; version = "v1"; kind = "RoleBinding"; + attrName = "roleBindings"; } { name = "clusterroles"; group = "rbac.authorization.k8s.io"; version = "v1alpha1"; kind = "ClusterRole"; + attrName = "clusterRoles"; } { name = "clusterrolebindings"; group = "rbac.authorization.k8s.io"; version = "v1alpha1"; kind = "ClusterRoleBinding"; + attrName = "clusterRoleBindings"; } { name = "roles"; group = "rbac.authorization.k8s.io"; version = "v1alpha1"; kind = "Role"; + attrName = "roles"; } { name = "rolebindings"; group = "rbac.authorization.k8s.io"; version = "v1alpha1"; kind = "RoleBinding"; + attrName = "roleBindings"; } { name = "clusterroles"; group = "rbac.authorization.k8s.io"; version = "v1beta1"; kind = "ClusterRole"; + attrName = "clusterRoles"; } { name = "clusterrolebindings"; group = "rbac.authorization.k8s.io"; version = "v1beta1"; kind = "ClusterRoleBinding"; + attrName = "clusterRoleBindings"; } { name = "roles"; group = "rbac.authorization.k8s.io"; version = "v1beta1"; kind = "Role"; + attrName = "roles"; } { name = "rolebindings"; group = "rbac.authorization.k8s.io"; version = "v1beta1"; kind = "RoleBinding"; + attrName = "roleBindings"; } { name = "priorityclasses"; group = "scheduling.k8s.io"; version = "v1alpha1"; kind = "PriorityClass"; + attrName = "priorityClasses"; } { name = "priorityclasses"; group = "scheduling.k8s.io"; version = "v1beta1"; kind = "PriorityClass"; + attrName = "priorityClasses"; } { name = "podpresets"; group = "settings.k8s.io"; version = "v1alpha1"; kind = "PodPreset"; + attrName = "podPresets"; } { name = "storageclasses"; group = "storage.k8s.io"; version = "v1"; kind = "StorageClass"; + attrName = "storageClasses"; } { name = "volumeattachments"; group = "storage.k8s.io"; version = "v1alpha1"; kind = "VolumeAttachment"; + attrName = "volumeAttachments"; } { name = "storageclasses"; group = "storage.k8s.io"; version = "v1beta1"; kind = "StorageClass"; + attrName = "storageClasses"; } { name = "volumeattachments"; group = "storage.k8s.io"; version = "v1beta1"; kind = "VolumeAttachment"; + attrName = "volumeAttachments"; } { name = "customresourcedefinitions"; group = "apiextensions.k8s.io"; version = "v1beta1"; kind = "CustomResourceDefinition"; + attrName = "customResourceDefinitions"; } { name = "apiservices"; group = "apiregistration.k8s.io"; version = "v1"; kind = "APIService"; + attrName = "APIServices"; } { name = "apiservices"; group = "apiregistration.k8s.io"; version = "v1beta1"; kind = "APIService"; + attrName = "APIServices"; } ]; diff --git a/modules/generated/v1.13.nix b/modules/generated/v1.13.nix index f86d2ba..e6a97c7 100755 --- a/modules/generated/v1.13.nix +++ b/modules/generated/v1.13.nix @@ -30269,522 +30269,609 @@ in { group = "admissionregistration.k8s.io"; version = "v1alpha1"; kind = "InitializerConfiguration"; + attrName = "initializerConfigurations"; } { name = "mutatingwebhookconfigurations"; group = "admissionregistration.k8s.io"; version = "v1beta1"; kind = "MutatingWebhookConfiguration"; + attrName = "mutatingWebhookConfigurations"; } { name = "validatingwebhookconfigurations"; group = "admissionregistration.k8s.io"; version = "v1beta1"; kind = "ValidatingWebhookConfiguration"; + attrName = "validatingWebhookConfigurations"; } { name = "controllerrevisions"; group = "apps"; version = "v1"; kind = "ControllerRevision"; + attrName = "controllerRevisions"; } { name = "daemonsets"; group = "apps"; version = "v1"; kind = "DaemonSet"; + attrName = "daemonSets"; } { name = "deployments"; group = "apps"; version = "v1"; kind = "Deployment"; + attrName = "deployments"; } { name = "replicasets"; group = "apps"; version = "v1"; kind = "ReplicaSet"; + attrName = "replicaSets"; } { name = "statefulsets"; group = "apps"; version = "v1"; kind = "StatefulSet"; + attrName = "statefulSets"; } { name = "controllerrevisions"; group = "apps"; version = "v1beta1"; kind = "ControllerRevision"; + attrName = "controllerRevisions"; } { name = "deployments"; group = "apps"; version = "v1beta1"; kind = "Deployment"; + attrName = "deployments"; } { name = "rollback"; group = "apps"; version = "v1beta1"; kind = "DeploymentRollback"; + attrName = "rollback"; } { name = "statefulsets"; group = "apps"; version = "v1beta1"; kind = "StatefulSet"; + attrName = "statefulSets"; } { name = "controllerrevisions"; group = "apps"; version = "v1beta2"; kind = "ControllerRevision"; + attrName = "controllerRevisions"; } { name = "daemonsets"; group = "apps"; version = "v1beta2"; kind = "DaemonSet"; + attrName = "daemonSets"; } { name = "deployments"; group = "apps"; version = "v1beta2"; kind = "Deployment"; + attrName = "deployments"; } { name = "replicasets"; group = "apps"; version = "v1beta2"; kind = "ReplicaSet"; + attrName = "replicaSets"; } { name = "statefulsets"; group = "apps"; version = "v1beta2"; kind = "StatefulSet"; + attrName = "statefulSets"; } { name = "auditsinks"; group = "auditregistration.k8s.io"; version = "v1alpha1"; kind = "AuditSink"; + attrName = "auditSinks"; } { name = "tokenreviews"; group = "authentication.k8s.io"; version = "v1"; kind = "TokenReview"; + attrName = "tokenReviews"; } { name = "tokenreviews"; group = "authentication.k8s.io"; version = "v1beta1"; kind = "TokenReview"; + attrName = "tokenReviews"; } { name = "localsubjectaccessreviews"; group = "authorization.k8s.io"; version = "v1"; kind = "LocalSubjectAccessReview"; + attrName = "localSubjectAccessReviews"; } { name = "selfsubjectaccessreviews"; group = "authorization.k8s.io"; version = "v1"; kind = "SelfSubjectAccessReview"; + attrName = "selfSubjectAccessReviews"; } { name = "selfsubjectrulesreviews"; group = "authorization.k8s.io"; version = "v1"; kind = "SelfSubjectRulesReview"; + attrName = "selfSubjectRulesReviews"; } { name = "subjectaccessreviews"; group = "authorization.k8s.io"; version = "v1"; kind = "SubjectAccessReview"; + attrName = "subjectAccessReviews"; } { name = "localsubjectaccessreviews"; group = "authorization.k8s.io"; version = "v1beta1"; kind = "LocalSubjectAccessReview"; + attrName = "localSubjectAccessReviews"; } { name = "selfsubjectaccessreviews"; group = "authorization.k8s.io"; version = "v1beta1"; kind = "SelfSubjectAccessReview"; + attrName = "selfSubjectAccessReviews"; } { name = "selfsubjectrulesreviews"; group = "authorization.k8s.io"; version = "v1beta1"; kind = "SelfSubjectRulesReview"; + attrName = "selfSubjectRulesReviews"; } { name = "subjectaccessreviews"; group = "authorization.k8s.io"; version = "v1beta1"; kind = "SubjectAccessReview"; + attrName = "subjectAccessReviews"; } { name = "horizontalpodautoscalers"; group = "autoscaling"; version = "v1"; kind = "HorizontalPodAutoscaler"; + attrName = "horizontalPodAutoscalers"; } { name = "horizontalpodautoscalers"; group = "autoscaling"; version = "v2beta1"; kind = "HorizontalPodAutoscaler"; + attrName = "horizontalPodAutoscalers"; } { name = "horizontalpodautoscalers"; group = "autoscaling"; version = "v2beta2"; kind = "HorizontalPodAutoscaler"; + attrName = "horizontalPodAutoscalers"; } { name = "jobs"; group = "batch"; version = "v1"; kind = "Job"; + attrName = "jobs"; } { name = "cronjobs"; group = "batch"; version = "v1beta1"; kind = "CronJob"; + attrName = "cronJobs"; } { name = "cronjobs"; group = "batch"; version = "v2alpha1"; kind = "CronJob"; + attrName = "cronJobs"; } { name = "certificatesigningrequests"; group = "certificates.k8s.io"; version = "v1beta1"; kind = "CertificateSigningRequest"; + attrName = "certificateSigningRequests"; } { name = "leases"; group = "coordination.k8s.io"; version = "v1beta1"; kind = "Lease"; + attrName = "leases"; } { name = "bindings"; group = "core"; version = "v1"; kind = "Binding"; + attrName = "bindings"; } { name = "configmaps"; group = "core"; version = "v1"; kind = "ConfigMap"; + attrName = "configMaps"; } { name = "endpoints"; group = "core"; version = "v1"; kind = "Endpoints"; + attrName = "endpoints"; } { name = "events"; group = "core"; version = "v1"; kind = "Event"; + attrName = "events"; } { name = "limitranges"; group = "core"; version = "v1"; kind = "LimitRange"; + attrName = "limitRanges"; } { name = "namespaces"; group = "core"; version = "v1"; kind = "Namespace"; + attrName = "namespaces"; } { name = "nodes"; group = "core"; version = "v1"; kind = "Node"; + attrName = "nodes"; } { name = "persistentvolumes"; group = "core"; version = "v1"; kind = "PersistentVolume"; + attrName = "persistentVolumes"; } { name = "persistentvolumeclaims"; group = "core"; version = "v1"; kind = "PersistentVolumeClaim"; + attrName = "persistentVolumeClaims"; } { name = "pods"; group = "core"; version = "v1"; kind = "Pod"; + attrName = "pods"; } { name = "podtemplates"; group = "core"; version = "v1"; kind = "PodTemplate"; + attrName = "podTemplates"; } { name = "replicationcontrollers"; group = "core"; version = "v1"; kind = "ReplicationController"; + attrName = "replicationControllers"; } { name = "resourcequotas"; group = "core"; version = "v1"; kind = "ResourceQuota"; + attrName = "resourceQuotas"; } { name = "secrets"; group = "core"; version = "v1"; kind = "Secret"; + attrName = "secrets"; } { name = "services"; group = "core"; version = "v1"; kind = "Service"; + attrName = "services"; } { name = "serviceaccounts"; group = "core"; version = "v1"; kind = "ServiceAccount"; + attrName = "serviceAccounts"; } { name = "events"; group = "events.k8s.io"; version = "v1beta1"; kind = "Event"; + attrName = "events"; } { name = "daemonsets"; group = "extensions"; version = "v1beta1"; kind = "DaemonSet"; + attrName = "daemonSets"; } { name = "deployments"; group = "extensions"; version = "v1beta1"; kind = "Deployment"; + attrName = "deployments"; } { name = "rollback"; group = "extensions"; version = "v1beta1"; kind = "DeploymentRollback"; + attrName = "rollback"; } { name = "ingresses"; group = "extensions"; version = "v1beta1"; kind = "Ingress"; + attrName = "ingresses"; } { name = "networkpolicies"; group = "extensions"; version = "v1beta1"; kind = "NetworkPolicy"; + attrName = "networkPolicies"; } { name = "podsecuritypolicies"; group = "extensions"; version = "v1beta1"; kind = "PodSecurityPolicy"; + attrName = "podSecurityPolicies"; } { name = "replicasets"; group = "extensions"; version = "v1beta1"; kind = "ReplicaSet"; + attrName = "replicaSets"; } { name = "networkpolicies"; group = "networking.k8s.io"; version = "v1"; kind = "NetworkPolicy"; + attrName = "networkPolicies"; } { name = "eviction"; group = "policy"; version = "v1beta1"; kind = "Eviction"; + attrName = "eviction"; } { name = "poddisruptionbudgets"; group = "policy"; version = "v1beta1"; kind = "PodDisruptionBudget"; + attrName = "podDisruptionBudgets"; } { name = "podsecuritypolicies"; group = "policy"; version = "v1beta1"; kind = "PodSecurityPolicy"; + attrName = "podSecurityPolicies"; } { name = "clusterroles"; group = "rbac.authorization.k8s.io"; version = "v1"; kind = "ClusterRole"; + attrName = "clusterRoles"; } { name = "clusterrolebindings"; group = "rbac.authorization.k8s.io"; version = "v1"; kind = "ClusterRoleBinding"; + attrName = "clusterRoleBindings"; } { name = "roles"; group = "rbac.authorization.k8s.io"; version = "v1"; kind = "Role"; + attrName = "roles"; } { name = "rolebindings"; group = "rbac.authorization.k8s.io"; version = "v1"; kind = "RoleBinding"; + attrName = "roleBindings"; } { name = "clusterroles"; group = "rbac.authorization.k8s.io"; version = "v1alpha1"; kind = "ClusterRole"; + attrName = "clusterRoles"; } { name = "clusterrolebindings"; group = "rbac.authorization.k8s.io"; version = "v1alpha1"; kind = "ClusterRoleBinding"; + attrName = "clusterRoleBindings"; } { name = "roles"; group = "rbac.authorization.k8s.io"; version = "v1alpha1"; kind = "Role"; + attrName = "roles"; } { name = "rolebindings"; group = "rbac.authorization.k8s.io"; version = "v1alpha1"; kind = "RoleBinding"; + attrName = "roleBindings"; } { name = "clusterroles"; group = "rbac.authorization.k8s.io"; version = "v1beta1"; kind = "ClusterRole"; + attrName = "clusterRoles"; } { name = "clusterrolebindings"; group = "rbac.authorization.k8s.io"; version = "v1beta1"; kind = "ClusterRoleBinding"; + attrName = "clusterRoleBindings"; } { name = "roles"; group = "rbac.authorization.k8s.io"; version = "v1beta1"; kind = "Role"; + attrName = "roles"; } { name = "rolebindings"; group = "rbac.authorization.k8s.io"; version = "v1beta1"; kind = "RoleBinding"; + attrName = "roleBindings"; } { name = "priorityclasses"; group = "scheduling.k8s.io"; version = "v1alpha1"; kind = "PriorityClass"; + attrName = "priorityClasses"; } { name = "priorityclasses"; group = "scheduling.k8s.io"; version = "v1beta1"; kind = "PriorityClass"; + attrName = "priorityClasses"; } { name = "podpresets"; group = "settings.k8s.io"; version = "v1alpha1"; kind = "PodPreset"; + attrName = "podPresets"; } { name = "storageclasses"; group = "storage.k8s.io"; version = "v1"; kind = "StorageClass"; + attrName = "storageClasses"; } { name = "volumeattachments"; group = "storage.k8s.io"; version = "v1"; kind = "VolumeAttachment"; + attrName = "volumeAttachments"; } { name = "volumeattachments"; group = "storage.k8s.io"; version = "v1alpha1"; kind = "VolumeAttachment"; + attrName = "volumeAttachments"; } { name = "storageclasses"; group = "storage.k8s.io"; version = "v1beta1"; kind = "StorageClass"; + attrName = "storageClasses"; } { name = "volumeattachments"; group = "storage.k8s.io"; version = "v1beta1"; kind = "VolumeAttachment"; + attrName = "volumeAttachments"; } { name = "customresourcedefinitions"; group = "apiextensions.k8s.io"; version = "v1beta1"; kind = "CustomResourceDefinition"; + attrName = "customResourceDefinitions"; } { name = "apiservices"; group = "apiregistration.k8s.io"; version = "v1"; kind = "APIService"; + attrName = "APIServices"; } { name = "apiservices"; group = "apiregistration.k8s.io"; version = "v1beta1"; kind = "APIService"; + attrName = "APIServices"; } ]; diff --git a/modules/generated/v1.7.nix b/modules/generated/v1.7.nix index 15de2f3..153d8ee 100755 --- a/modules/generated/v1.7.nix +++ b/modules/generated/v1.7.nix @@ -12425,348 +12425,406 @@ in { group = "apiregistration.k8s.io"; version = "v1beta1"; kind = "APIService"; + attrName = "APIServices"; } { name = "bindings"; group = "core"; version = "v1"; kind = "Binding"; + attrName = "bindings"; } { name = "configmaps"; group = "core"; version = "v1"; kind = "ConfigMap"; + attrName = "configMaps"; } { name = "endpoints"; group = "core"; version = "v1"; kind = "Endpoints"; + attrName = "endpoints"; } { name = "events"; group = "core"; version = "v1"; kind = "Event"; + attrName = "events"; } { name = "limitranges"; group = "core"; version = "v1"; kind = "LimitRange"; + attrName = "limitRanges"; } { name = "namespaces"; group = "core"; version = "v1"; kind = "Namespace"; + attrName = "namespaces"; } { name = "nodes"; group = "core"; version = "v1"; kind = "Node"; + attrName = "nodes"; } { name = "persistentvolumes"; group = "core"; version = "v1"; kind = "PersistentVolume"; + attrName = "persistentVolumes"; } { name = "persistentvolumeclaims"; group = "core"; version = "v1"; kind = "PersistentVolumeClaim"; + attrName = "persistentVolumeClaims"; } { name = "pods"; group = "core"; version = "v1"; kind = "Pod"; + attrName = "pods"; } { name = "podtemplates"; group = "core"; version = "v1"; kind = "PodTemplate"; + attrName = "podTemplates"; } { name = "replicationcontrollers"; group = "core"; version = "v1"; kind = "ReplicationController"; + attrName = "replicationControllers"; } { name = "resourcequotas"; group = "core"; version = "v1"; kind = "ResourceQuota"; + attrName = "resourceQuotas"; } { name = "secrets"; group = "core"; version = "v1"; kind = "Secret"; + attrName = "secrets"; } { name = "services"; group = "core"; version = "v1"; kind = "Service"; + attrName = "services"; } { name = "serviceaccounts"; group = "core"; version = "v1"; kind = "ServiceAccount"; + attrName = "serviceAccounts"; } { name = "externaladmissionhookconfigurations"; group = "admissionregistration.k8s.io"; version = "v1alpha1"; kind = "ExternalAdmissionHookConfiguration"; + attrName = "externalAdmissionHookConfigurations"; } { name = "initializerconfigurations"; group = "admissionregistration.k8s.io"; version = "v1alpha1"; kind = "InitializerConfiguration"; + attrName = "initializerConfigurations"; } { name = "controllerrevisions"; group = "apps"; version = "v1beta1"; kind = "ControllerRevision"; + attrName = "controllerRevisions"; } { name = "deployments"; group = "apps"; version = "v1beta1"; kind = "Deployment"; + attrName = "deployments"; } { name = "rollback"; group = "apps"; version = "v1beta1"; kind = "DeploymentRollback"; + attrName = "rollback"; } { name = "statefulsets"; group = "apps"; version = "v1beta1"; kind = "StatefulSet"; + attrName = "statefulSets"; } { name = "tokenreviews"; group = "authentication.k8s.io"; version = "v1"; kind = "TokenReview"; + attrName = "tokenReviews"; } { name = "tokenreviews"; group = "authentication.k8s.io"; version = "v1beta1"; kind = "TokenReview"; + attrName = "tokenReviews"; } { name = "localsubjectaccessreviews"; group = "authorization.k8s.io"; version = "v1"; kind = "LocalSubjectAccessReview"; + attrName = "localSubjectAccessReviews"; } { name = "selfsubjectaccessreviews"; group = "authorization.k8s.io"; version = "v1"; kind = "SelfSubjectAccessReview"; + attrName = "selfSubjectAccessReviews"; } { name = "subjectaccessreviews"; group = "authorization.k8s.io"; version = "v1"; kind = "SubjectAccessReview"; + attrName = "subjectAccessReviews"; } { name = "localsubjectaccessreviews"; group = "authorization.k8s.io"; version = "v1beta1"; kind = "LocalSubjectAccessReview"; + attrName = "localSubjectAccessReviews"; } { name = "selfsubjectaccessreviews"; group = "authorization.k8s.io"; version = "v1beta1"; kind = "SelfSubjectAccessReview"; + attrName = "selfSubjectAccessReviews"; } { name = "subjectaccessreviews"; group = "authorization.k8s.io"; version = "v1beta1"; kind = "SubjectAccessReview"; + attrName = "subjectAccessReviews"; } { name = "horizontalpodautoscalers"; group = "autoscaling"; version = "v1"; kind = "HorizontalPodAutoscaler"; + attrName = "horizontalPodAutoscalers"; } { name = "horizontalpodautoscalers"; group = "autoscaling"; version = "v2alpha1"; kind = "HorizontalPodAutoscaler"; + attrName = "horizontalPodAutoscalers"; } { name = "jobs"; group = "batch"; version = "v1"; kind = "Job"; + attrName = "jobs"; } { name = "cronjobs"; group = "batch"; version = "v2alpha1"; kind = "CronJob"; + attrName = "cronJobs"; } { name = "certificatesigningrequests"; group = "certificates.k8s.io"; version = "v1beta1"; kind = "CertificateSigningRequest"; + attrName = "certificateSigningRequests"; } { name = "daemonsets"; group = "extensions"; version = "v1beta1"; kind = "DaemonSet"; + attrName = "daemonSets"; } { name = "deployments"; group = "extensions"; version = "v1beta1"; kind = "Deployment"; + attrName = "deployments"; } { name = "rollback"; group = "extensions"; version = "v1beta1"; kind = "DeploymentRollback"; + attrName = "rollback"; } { name = "ingresses"; group = "extensions"; version = "v1beta1"; kind = "Ingress"; + attrName = "ingresses"; } { name = "networkpolicies"; group = "extensions"; version = "v1beta1"; kind = "NetworkPolicy"; + attrName = "networkPolicies"; } { name = "podsecuritypolicies"; group = "extensions"; version = "v1beta1"; kind = "PodSecurityPolicy"; + attrName = "podSecurityPolicies"; } { name = "replicasets"; group = "extensions"; version = "v1beta1"; kind = "ReplicaSet"; + attrName = "replicaSets"; } { name = "thirdpartyresources"; group = "extensions"; version = "v1beta1"; kind = "ThirdPartyResource"; + attrName = "thirdPartyResources"; } { name = "networkpolicies"; group = "networking.k8s.io"; version = "v1"; kind = "NetworkPolicy"; + attrName = "networkPolicies"; } { name = "eviction"; group = "policy"; version = "v1beta1"; kind = "Eviction"; + attrName = "eviction"; } { name = "poddisruptionbudgets"; group = "policy"; version = "v1beta1"; kind = "PodDisruptionBudget"; + attrName = "podDisruptionBudgets"; } { name = "clusterroles"; group = "rbac.authorization.k8s.io"; version = "v1alpha1"; kind = "ClusterRole"; + attrName = "clusterRoles"; } { name = "clusterrolebindings"; group = "rbac.authorization.k8s.io"; version = "v1alpha1"; kind = "ClusterRoleBinding"; + attrName = "clusterRoleBindings"; } { name = "roles"; group = "rbac.authorization.k8s.io"; version = "v1alpha1"; kind = "Role"; + attrName = "roles"; } { name = "rolebindings"; group = "rbac.authorization.k8s.io"; version = "v1alpha1"; kind = "RoleBinding"; + attrName = "roleBindings"; } { name = "clusterroles"; group = "rbac.authorization.k8s.io"; version = "v1beta1"; kind = "ClusterRole"; + attrName = "clusterRoles"; } { name = "clusterrolebindings"; group = "rbac.authorization.k8s.io"; version = "v1beta1"; kind = "ClusterRoleBinding"; + attrName = "clusterRoleBindings"; } { name = "roles"; group = "rbac.authorization.k8s.io"; version = "v1beta1"; kind = "Role"; + attrName = "roles"; } { name = "rolebindings"; group = "rbac.authorization.k8s.io"; version = "v1beta1"; kind = "RoleBinding"; + attrName = "roleBindings"; } { name = "podpresets"; group = "settings.k8s.io"; version = "v1alpha1"; kind = "PodPreset"; + attrName = "podPresets"; } { name = "storageclasses"; group = "storage.k8s.io"; version = "v1"; kind = "StorageClass"; + attrName = "storageClasses"; } { name = "storageclasses"; group = "storage.k8s.io"; version = "v1beta1"; kind = "StorageClass"; + attrName = "storageClasses"; } ]; diff --git a/modules/generated/v1.8.nix b/modules/generated/v1.8.nix index 4199fa6..f534628 100755 --- a/modules/generated/v1.8.nix +++ b/modules/generated/v1.8.nix @@ -25323,426 +25323,497 @@ in { group = "admissionregistration.k8s.io"; version = "v1alpha1"; kind = "ExternalAdmissionHookConfiguration"; + attrName = "externalAdmissionHookConfigurations"; } { name = "initializerconfigurations"; group = "admissionregistration.k8s.io"; version = "v1alpha1"; kind = "InitializerConfiguration"; + attrName = "initializerConfigurations"; } { name = "controllerrevisions"; group = "apps"; version = "v1beta1"; kind = "ControllerRevision"; + attrName = "controllerRevisions"; } { name = "deployments"; group = "apps"; version = "v1beta1"; kind = "Deployment"; + attrName = "deployments"; } { name = "rollback"; group = "apps"; version = "v1beta1"; kind = "DeploymentRollback"; + attrName = "rollback"; } { name = "statefulsets"; group = "apps"; version = "v1beta1"; kind = "StatefulSet"; + attrName = "statefulSets"; } { name = "controllerrevisions"; group = "apps"; version = "v1beta2"; kind = "ControllerRevision"; + attrName = "controllerRevisions"; } { name = "daemonsets"; group = "apps"; version = "v1beta2"; kind = "DaemonSet"; + attrName = "daemonSets"; } { name = "deployments"; group = "apps"; version = "v1beta2"; kind = "Deployment"; + attrName = "deployments"; } { name = "replicasets"; group = "apps"; version = "v1beta2"; kind = "ReplicaSet"; + attrName = "replicaSets"; } { name = "statefulsets"; group = "apps"; version = "v1beta2"; kind = "StatefulSet"; + attrName = "statefulSets"; } { name = "tokenreviews"; group = "authentication.k8s.io"; version = "v1"; kind = "TokenReview"; + attrName = "tokenReviews"; } { name = "tokenreviews"; group = "authentication.k8s.io"; version = "v1beta1"; kind = "TokenReview"; + attrName = "tokenReviews"; } { name = "localsubjectaccessreviews"; group = "authorization.k8s.io"; version = "v1"; kind = "LocalSubjectAccessReview"; + attrName = "localSubjectAccessReviews"; } { name = "selfsubjectaccessreviews"; group = "authorization.k8s.io"; version = "v1"; kind = "SelfSubjectAccessReview"; + attrName = "selfSubjectAccessReviews"; } { name = "selfsubjectrulesreviews"; group = "authorization.k8s.io"; version = "v1"; kind = "SelfSubjectRulesReview"; + attrName = "selfSubjectRulesReviews"; } { name = "subjectaccessreviews"; group = "authorization.k8s.io"; version = "v1"; kind = "SubjectAccessReview"; + attrName = "subjectAccessReviews"; } { name = "localsubjectaccessreviews"; group = "authorization.k8s.io"; version = "v1beta1"; kind = "LocalSubjectAccessReview"; + attrName = "localSubjectAccessReviews"; } { name = "selfsubjectaccessreviews"; group = "authorization.k8s.io"; version = "v1beta1"; kind = "SelfSubjectAccessReview"; + attrName = "selfSubjectAccessReviews"; } { name = "selfsubjectrulesreviews"; group = "authorization.k8s.io"; version = "v1beta1"; kind = "SelfSubjectRulesReview"; + attrName = "selfSubjectRulesReviews"; } { name = "subjectaccessreviews"; group = "authorization.k8s.io"; version = "v1beta1"; kind = "SubjectAccessReview"; + attrName = "subjectAccessReviews"; } { name = "horizontalpodautoscalers"; group = "autoscaling"; version = "v1"; kind = "HorizontalPodAutoscaler"; + attrName = "horizontalPodAutoscalers"; } { name = "horizontalpodautoscalers"; group = "autoscaling"; version = "v2beta1"; kind = "HorizontalPodAutoscaler"; + attrName = "horizontalPodAutoscalers"; } { name = "jobs"; group = "batch"; version = "v1"; kind = "Job"; + attrName = "jobs"; } { name = "cronjobs"; group = "batch"; version = "v1beta1"; kind = "CronJob"; + attrName = "cronJobs"; } { name = "cronjobs"; group = "batch"; version = "v2alpha1"; kind = "CronJob"; + attrName = "cronJobs"; } { name = "certificatesigningrequests"; group = "certificates.k8s.io"; version = "v1beta1"; kind = "CertificateSigningRequest"; + attrName = "certificateSigningRequests"; } { name = "bindings"; group = "core"; version = "v1"; kind = "Binding"; + attrName = "bindings"; } { name = "configmaps"; group = "core"; version = "v1"; kind = "ConfigMap"; + attrName = "configMaps"; } { name = "endpoints"; group = "core"; version = "v1"; kind = "Endpoints"; + attrName = "endpoints"; } { name = "events"; group = "core"; version = "v1"; kind = "Event"; + attrName = "events"; } { name = "limitranges"; group = "core"; version = "v1"; kind = "LimitRange"; + attrName = "limitRanges"; } { name = "namespaces"; group = "core"; version = "v1"; kind = "Namespace"; + attrName = "namespaces"; } { name = "nodes"; group = "core"; version = "v1"; kind = "Node"; + attrName = "nodes"; } { name = "persistentvolumes"; group = "core"; version = "v1"; kind = "PersistentVolume"; + attrName = "persistentVolumes"; } { name = "persistentvolumeclaims"; group = "core"; version = "v1"; kind = "PersistentVolumeClaim"; + attrName = "persistentVolumeClaims"; } { name = "pods"; group = "core"; version = "v1"; kind = "Pod"; + attrName = "pods"; } { name = "podtemplates"; group = "core"; version = "v1"; kind = "PodTemplate"; + attrName = "podTemplates"; } { name = "replicationcontrollers"; group = "core"; version = "v1"; kind = "ReplicationController"; + attrName = "replicationControllers"; } { name = "resourcequotas"; group = "core"; version = "v1"; kind = "ResourceQuota"; + attrName = "resourceQuotas"; } { name = "secrets"; group = "core"; version = "v1"; kind = "Secret"; + attrName = "secrets"; } { name = "services"; group = "core"; version = "v1"; kind = "Service"; + attrName = "services"; } { name = "serviceaccounts"; group = "core"; version = "v1"; kind = "ServiceAccount"; + attrName = "serviceAccounts"; } { name = "daemonsets"; group = "extensions"; version = "v1beta1"; kind = "DaemonSet"; + attrName = "daemonSets"; } { name = "deployments"; group = "extensions"; version = "v1beta1"; kind = "Deployment"; + attrName = "deployments"; } { name = "rollback"; group = "extensions"; version = "v1beta1"; kind = "DeploymentRollback"; + attrName = "rollback"; } { name = "ingresses"; group = "extensions"; version = "v1beta1"; kind = "Ingress"; + attrName = "ingresses"; } { name = "networkpolicies"; group = "extensions"; version = "v1beta1"; kind = "NetworkPolicy"; + attrName = "networkPolicies"; } { name = "podsecuritypolicies"; group = "extensions"; version = "v1beta1"; kind = "PodSecurityPolicy"; + attrName = "podSecurityPolicies"; } { name = "replicasets"; group = "extensions"; version = "v1beta1"; kind = "ReplicaSet"; + attrName = "replicaSets"; } { name = "networkpolicies"; group = "networking.k8s.io"; version = "v1"; kind = "NetworkPolicy"; + attrName = "networkPolicies"; } { name = "eviction"; group = "policy"; version = "v1beta1"; kind = "Eviction"; + attrName = "eviction"; } { name = "poddisruptionbudgets"; group = "policy"; version = "v1beta1"; kind = "PodDisruptionBudget"; + attrName = "podDisruptionBudgets"; } { name = "clusterroles"; group = "rbac.authorization.k8s.io"; version = "v1"; kind = "ClusterRole"; + attrName = "clusterRoles"; } { name = "clusterrolebindings"; group = "rbac.authorization.k8s.io"; version = "v1"; kind = "ClusterRoleBinding"; + attrName = "clusterRoleBindings"; } { name = "roles"; group = "rbac.authorization.k8s.io"; version = "v1"; kind = "Role"; + attrName = "roles"; } { name = "rolebindings"; group = "rbac.authorization.k8s.io"; version = "v1"; kind = "RoleBinding"; + attrName = "roleBindings"; } { name = "clusterroles"; group = "rbac.authorization.k8s.io"; version = "v1alpha1"; kind = "ClusterRole"; + attrName = "clusterRoles"; } { name = "clusterrolebindings"; group = "rbac.authorization.k8s.io"; version = "v1alpha1"; kind = "ClusterRoleBinding"; + attrName = "clusterRoleBindings"; } { name = "roles"; group = "rbac.authorization.k8s.io"; version = "v1alpha1"; kind = "Role"; + attrName = "roles"; } { name = "rolebindings"; group = "rbac.authorization.k8s.io"; version = "v1alpha1"; kind = "RoleBinding"; + attrName = "roleBindings"; } { name = "clusterroles"; group = "rbac.authorization.k8s.io"; version = "v1beta1"; kind = "ClusterRole"; + attrName = "clusterRoles"; } { name = "clusterrolebindings"; group = "rbac.authorization.k8s.io"; version = "v1beta1"; kind = "ClusterRoleBinding"; + attrName = "clusterRoleBindings"; } { name = "roles"; group = "rbac.authorization.k8s.io"; version = "v1beta1"; kind = "Role"; + attrName = "roles"; } { name = "rolebindings"; group = "rbac.authorization.k8s.io"; version = "v1beta1"; kind = "RoleBinding"; + attrName = "roleBindings"; } { name = "priorityclasses"; group = "scheduling.k8s.io"; version = "v1alpha1"; kind = "PriorityClass"; + attrName = "priorityClasses"; } { name = "podpresets"; group = "settings.k8s.io"; version = "v1alpha1"; kind = "PodPreset"; + attrName = "podPresets"; } { name = "storageclasses"; group = "storage.k8s.io"; version = "v1"; kind = "StorageClass"; + attrName = "storageClasses"; } { name = "storageclasses"; group = "storage.k8s.io"; version = "v1beta1"; kind = "StorageClass"; + attrName = "storageClasses"; } { name = "customresourcedefinitions"; group = "apiextensions.k8s.io"; version = "v1beta1"; kind = "CustomResourceDefinition"; + attrName = "customResourceDefinitions"; } { name = "apiservices"; group = "apiregistration.k8s.io"; version = "v1beta1"; kind = "APIService"; + attrName = "APIServices"; } ]; diff --git a/modules/generated/v1.9.nix b/modules/generated/v1.9.nix index 270855a..f014a2f 100755 --- a/modules/generated/v1.9.nix +++ b/modules/generated/v1.9.nix @@ -27356,474 +27356,553 @@ in { group = "admissionregistration.k8s.io"; version = "v1alpha1"; kind = "InitializerConfiguration"; + attrName = "initializerConfigurations"; } { name = "mutatingwebhookconfigurations"; group = "admissionregistration.k8s.io"; version = "v1beta1"; kind = "MutatingWebhookConfiguration"; + attrName = "mutatingWebhookConfigurations"; } { name = "validatingwebhookconfigurations"; group = "admissionregistration.k8s.io"; version = "v1beta1"; kind = "ValidatingWebhookConfiguration"; + attrName = "validatingWebhookConfigurations"; } { name = "controllerrevisions"; group = "apps"; version = "v1"; kind = "ControllerRevision"; + attrName = "controllerRevisions"; } { name = "daemonsets"; group = "apps"; version = "v1"; kind = "DaemonSet"; + attrName = "daemonSets"; } { name = "deployments"; group = "apps"; version = "v1"; kind = "Deployment"; + attrName = "deployments"; } { name = "replicasets"; group = "apps"; version = "v1"; kind = "ReplicaSet"; + attrName = "replicaSets"; } { name = "statefulsets"; group = "apps"; version = "v1"; kind = "StatefulSet"; + attrName = "statefulSets"; } { name = "controllerrevisions"; group = "apps"; version = "v1beta1"; kind = "ControllerRevision"; + attrName = "controllerRevisions"; } { name = "deployments"; group = "apps"; version = "v1beta1"; kind = "Deployment"; + attrName = "deployments"; } { name = "rollback"; group = "apps"; version = "v1beta1"; kind = "DeploymentRollback"; + attrName = "rollback"; } { name = "statefulsets"; group = "apps"; version = "v1beta1"; kind = "StatefulSet"; + attrName = "statefulSets"; } { name = "controllerrevisions"; group = "apps"; version = "v1beta2"; kind = "ControllerRevision"; + attrName = "controllerRevisions"; } { name = "daemonsets"; group = "apps"; version = "v1beta2"; kind = "DaemonSet"; + attrName = "daemonSets"; } { name = "deployments"; group = "apps"; version = "v1beta2"; kind = "Deployment"; + attrName = "deployments"; } { name = "replicasets"; group = "apps"; version = "v1beta2"; kind = "ReplicaSet"; + attrName = "replicaSets"; } { name = "statefulsets"; group = "apps"; version = "v1beta2"; kind = "StatefulSet"; + attrName = "statefulSets"; } { name = "tokenreviews"; group = "authentication.k8s.io"; version = "v1"; kind = "TokenReview"; + attrName = "tokenReviews"; } { name = "tokenreviews"; group = "authentication.k8s.io"; version = "v1beta1"; kind = "TokenReview"; + attrName = "tokenReviews"; } { name = "localsubjectaccessreviews"; group = "authorization.k8s.io"; version = "v1"; kind = "LocalSubjectAccessReview"; + attrName = "localSubjectAccessReviews"; } { name = "selfsubjectaccessreviews"; group = "authorization.k8s.io"; version = "v1"; kind = "SelfSubjectAccessReview"; + attrName = "selfSubjectAccessReviews"; } { name = "selfsubjectrulesreviews"; group = "authorization.k8s.io"; version = "v1"; kind = "SelfSubjectRulesReview"; + attrName = "selfSubjectRulesReviews"; } { name = "subjectaccessreviews"; group = "authorization.k8s.io"; version = "v1"; kind = "SubjectAccessReview"; + attrName = "subjectAccessReviews"; } { name = "localsubjectaccessreviews"; group = "authorization.k8s.io"; version = "v1beta1"; kind = "LocalSubjectAccessReview"; + attrName = "localSubjectAccessReviews"; } { name = "selfsubjectaccessreviews"; group = "authorization.k8s.io"; version = "v1beta1"; kind = "SelfSubjectAccessReview"; + attrName = "selfSubjectAccessReviews"; } { name = "selfsubjectrulesreviews"; group = "authorization.k8s.io"; version = "v1beta1"; kind = "SelfSubjectRulesReview"; + attrName = "selfSubjectRulesReviews"; } { name = "subjectaccessreviews"; group = "authorization.k8s.io"; version = "v1beta1"; kind = "SubjectAccessReview"; + attrName = "subjectAccessReviews"; } { name = "horizontalpodautoscalers"; group = "autoscaling"; version = "v1"; kind = "HorizontalPodAutoscaler"; + attrName = "horizontalPodAutoscalers"; } { name = "horizontalpodautoscalers"; group = "autoscaling"; version = "v2beta1"; kind = "HorizontalPodAutoscaler"; + attrName = "horizontalPodAutoscalers"; } { name = "jobs"; group = "batch"; version = "v1"; kind = "Job"; + attrName = "jobs"; } { name = "cronjobs"; group = "batch"; version = "v1beta1"; kind = "CronJob"; + attrName = "cronJobs"; } { name = "cronjobs"; group = "batch"; version = "v2alpha1"; kind = "CronJob"; + attrName = "cronJobs"; } { name = "certificatesigningrequests"; group = "certificates.k8s.io"; version = "v1beta1"; kind = "CertificateSigningRequest"; + attrName = "certificateSigningRequests"; } { name = "bindings"; group = "core"; version = "v1"; kind = "Binding"; + attrName = "bindings"; } { name = "configmaps"; group = "core"; version = "v1"; kind = "ConfigMap"; + attrName = "configMaps"; } { name = "endpoints"; group = "core"; version = "v1"; kind = "Endpoints"; + attrName = "endpoints"; } { name = "events"; group = "core"; version = "v1"; kind = "Event"; + attrName = "events"; } { name = "limitranges"; group = "core"; version = "v1"; kind = "LimitRange"; + attrName = "limitRanges"; } { name = "namespaces"; group = "core"; version = "v1"; kind = "Namespace"; + attrName = "namespaces"; } { name = "nodes"; group = "core"; version = "v1"; kind = "Node"; + attrName = "nodes"; } { name = "persistentvolumes"; group = "core"; version = "v1"; kind = "PersistentVolume"; + attrName = "persistentVolumes"; } { name = "persistentvolumeclaims"; group = "core"; version = "v1"; kind = "PersistentVolumeClaim"; + attrName = "persistentVolumeClaims"; } { name = "pods"; group = "core"; version = "v1"; kind = "Pod"; + attrName = "pods"; } { name = "podtemplates"; group = "core"; version = "v1"; kind = "PodTemplate"; + attrName = "podTemplates"; } { name = "replicationcontrollers"; group = "core"; version = "v1"; kind = "ReplicationController"; + attrName = "replicationControllers"; } { name = "resourcequotas"; group = "core"; version = "v1"; kind = "ResourceQuota"; + attrName = "resourceQuotas"; } { name = "secrets"; group = "core"; version = "v1"; kind = "Secret"; + attrName = "secrets"; } { name = "services"; group = "core"; version = "v1"; kind = "Service"; + attrName = "services"; } { name = "serviceaccounts"; group = "core"; version = "v1"; kind = "ServiceAccount"; + attrName = "serviceAccounts"; } { name = "events"; group = "events.k8s.io"; version = "v1beta1"; kind = "Event"; + attrName = "events"; } { name = "daemonsets"; group = "extensions"; version = "v1beta1"; kind = "DaemonSet"; + attrName = "daemonSets"; } { name = "deployments"; group = "extensions"; version = "v1beta1"; kind = "Deployment"; + attrName = "deployments"; } { name = "rollback"; group = "extensions"; version = "v1beta1"; kind = "DeploymentRollback"; + attrName = "rollback"; } { name = "ingresses"; group = "extensions"; version = "v1beta1"; kind = "Ingress"; + attrName = "ingresses"; } { name = "networkpolicies"; group = "extensions"; version = "v1beta1"; kind = "NetworkPolicy"; + attrName = "networkPolicies"; } { name = "podsecuritypolicies"; group = "extensions"; version = "v1beta1"; kind = "PodSecurityPolicy"; + attrName = "podSecurityPolicies"; } { name = "replicasets"; group = "extensions"; version = "v1beta1"; kind = "ReplicaSet"; + attrName = "replicaSets"; } { name = "networkpolicies"; group = "networking.k8s.io"; version = "v1"; kind = "NetworkPolicy"; + attrName = "networkPolicies"; } { name = "eviction"; group = "policy"; version = "v1beta1"; kind = "Eviction"; + attrName = "eviction"; } { name = "poddisruptionbudgets"; group = "policy"; version = "v1beta1"; kind = "PodDisruptionBudget"; + attrName = "podDisruptionBudgets"; } { name = "clusterroles"; group = "rbac.authorization.k8s.io"; version = "v1"; kind = "ClusterRole"; + attrName = "clusterRoles"; } { name = "clusterrolebindings"; group = "rbac.authorization.k8s.io"; version = "v1"; kind = "ClusterRoleBinding"; + attrName = "clusterRoleBindings"; } { name = "roles"; group = "rbac.authorization.k8s.io"; version = "v1"; kind = "Role"; + attrName = "roles"; } { name = "rolebindings"; group = "rbac.authorization.k8s.io"; version = "v1"; kind = "RoleBinding"; + attrName = "roleBindings"; } { name = "clusterroles"; group = "rbac.authorization.k8s.io"; version = "v1alpha1"; kind = "ClusterRole"; + attrName = "clusterRoles"; } { name = "clusterrolebindings"; group = "rbac.authorization.k8s.io"; version = "v1alpha1"; kind = "ClusterRoleBinding"; + attrName = "clusterRoleBindings"; } { name = "roles"; group = "rbac.authorization.k8s.io"; version = "v1alpha1"; kind = "Role"; + attrName = "roles"; } { name = "rolebindings"; group = "rbac.authorization.k8s.io"; version = "v1alpha1"; kind = "RoleBinding"; + attrName = "roleBindings"; } { name = "clusterroles"; group = "rbac.authorization.k8s.io"; version = "v1beta1"; kind = "ClusterRole"; + attrName = "clusterRoles"; } { name = "clusterrolebindings"; group = "rbac.authorization.k8s.io"; version = "v1beta1"; kind = "ClusterRoleBinding"; + attrName = "clusterRoleBindings"; } { name = "roles"; group = "rbac.authorization.k8s.io"; version = "v1beta1"; kind = "Role"; + attrName = "roles"; } { name = "rolebindings"; group = "rbac.authorization.k8s.io"; version = "v1beta1"; kind = "RoleBinding"; + attrName = "roleBindings"; } { name = "priorityclasses"; group = "scheduling.k8s.io"; version = "v1alpha1"; kind = "PriorityClass"; + attrName = "priorityClasses"; } { name = "podpresets"; group = "settings.k8s.io"; version = "v1alpha1"; kind = "PodPreset"; + attrName = "podPresets"; } { name = "storageclasses"; group = "storage.k8s.io"; version = "v1"; kind = "StorageClass"; + attrName = "storageClasses"; } { name = "volumeattachments"; group = "storage.k8s.io"; version = "v1alpha1"; kind = "VolumeAttachment"; + attrName = "volumeAttachments"; } { name = "storageclasses"; group = "storage.k8s.io"; version = "v1beta1"; kind = "StorageClass"; + attrName = "storageClasses"; } { name = "customresourcedefinitions"; group = "apiextensions.k8s.io"; version = "v1beta1"; kind = "CustomResourceDefinition"; + attrName = "customResourceDefinitions"; } { name = "apiservices"; group = "apiregistration.k8s.io"; version = "v1beta1"; kind = "APIService"; + attrName = "APIServices"; } ]; diff --git a/modules/k8s.nix b/modules/k8s.nix index a27e27f..07b02e5 100644 --- a/modules/k8s.nix +++ b/modules/k8s.nix @@ -97,6 +97,11 @@ let description = "Resource type kind"; type = types.str; }; + + attrName = mkOption { + description = "Name of the nixified attribute"; + type = types.str; + }; }; }); default = [];