Skip to content

Commit 982014c

Browse files
feat(gkehub): update the api
#### gkehub:v1 The following keys were added: - schemas.ConfigManagementConfigSync.properties.resourceRequirements (Total Keys: 2) - schemas.ConfigManagementConfigSyncDeploymentState.properties.admissionWebhook.type (Total Keys: 1) - schemas.ConfigManagementConfigSyncVersion.properties.admissionWebhook.type (Total Keys: 1) - schemas.ConfigManagementContainerResourceRequirements (Total Keys: 5) - schemas.ConfigManagementGitConfig.properties.noSslVerify.type (Total Keys: 1) - schemas.ConfigManagementGitConfig.properties.syncDepth (Total Keys: 2) - schemas.ConfigManagementQuantity (Total Keys: 3) #### gkehub:v1alpha The following keys were added: - schemas.ConfigManagementConfigSync.properties.resourceRequirements (Total Keys: 2) - schemas.ConfigManagementConfigSyncDeploymentState.properties.admissionWebhook.type (Total Keys: 1) - schemas.ConfigManagementConfigSyncVersion.properties.admissionWebhook.type (Total Keys: 1) - schemas.ConfigManagementContainerResourceRequirements (Total Keys: 5) - schemas.ConfigManagementGitConfig.properties.noSslVerify.type (Total Keys: 1) - schemas.ConfigManagementGitConfig.properties.syncDepth (Total Keys: 2) - schemas.ConfigManagementQuantity (Total Keys: 3) #### gkehub:v1beta The following keys were added: - schemas.ConfigManagementConfigSync.properties.resourceRequirements (Total Keys: 2) - schemas.ConfigManagementConfigSyncDeploymentState.properties.admissionWebhook.type (Total Keys: 1) - schemas.ConfigManagementConfigSyncVersion.properties.admissionWebhook.type (Total Keys: 1) - schemas.ConfigManagementContainerResourceRequirements (Total Keys: 5) - schemas.ConfigManagementGitConfig.properties.noSslVerify.type (Total Keys: 1) - schemas.ConfigManagementGitConfig.properties.syncDepth (Total Keys: 2) - schemas.ConfigManagementQuantity (Total Keys: 3)
1 parent 9bb8021 commit 982014c

8 files changed

+539
-5
lines changed

docs/dyn/gkehub_v1.projects.locations.features.html

Lines changed: 112 additions & 0 deletions
Large diffs are not rendered by default.

docs/dyn/gkehub_v1alpha.projects.locations.features.html

Lines changed: 112 additions & 0 deletions
Large diffs are not rendered by default.

docs/dyn/gkehub_v1beta.projects.locations.features.html

Lines changed: 112 additions & 0 deletions
Large diffs are not rendered by default.

googleapiclient/discovery_cache/documents/gkehub.v1.json

Lines changed: 67 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -905,7 +905,7 @@
905905
}
906906
}
907907
},
908-
"revision": "20210910",
908+
"revision": "20210920",
909909
"rootUrl": "https://gkehub.googleapis.com/",
910910
"schemas": {
911911
"AuditConfig": {
@@ -1041,6 +1041,13 @@
10411041
"$ref": "ConfigManagementGitConfig",
10421042
"description": "Git repo configuration for the cluster."
10431043
},
1044+
"resourceRequirements": {
1045+
"additionalProperties": {
1046+
"$ref": "ConfigManagementContainerResourceRequirements"
1047+
},
1048+
"description": "Specifies CPU and memory limits for containers, keyed by container name",
1049+
"type": "object"
1050+
},
10441051
"sourceFormat": {
10451052
"description": "Specifies whether the Config Sync Repo is in \u201chierarchical\u201d or \u201cunstructured\u201d mode.",
10461053
"type": "string"
@@ -1052,6 +1059,22 @@
10521059
"description": "The state of ConfigSync's deployment on a cluster",
10531060
"id": "ConfigManagementConfigSyncDeploymentState",
10541061
"properties": {
1062+
"admissionWebhook": {
1063+
"description": "Deployment state of admission-webhook",
1064+
"enum": [
1065+
"DEPLOYMENT_STATE_UNSPECIFIED",
1066+
"NOT_INSTALLED",
1067+
"INSTALLED",
1068+
"ERROR"
1069+
],
1070+
"enumDescriptions": [
1071+
"Deployment's state cannot be determined",
1072+
"Deployment is not installed",
1073+
"Deployment is installed",
1074+
"Deployment was attempted to be installed, but has errors"
1075+
],
1076+
"type": "string"
1077+
},
10551078
"gitSync": {
10561079
"description": "Deployment state of the git-sync pod",
10571080
"enum": [
@@ -1174,6 +1197,10 @@
11741197
"description": "Specific versioning information pertaining to ConfigSync's Pods",
11751198
"id": "ConfigManagementConfigSyncVersion",
11761199
"properties": {
1200+
"admissionWebhook": {
1201+
"description": "Version of the deployed admission_webhook pod",
1202+
"type": "string"
1203+
},
11771204
"gitSync": {
11781205
"description": "Version of the deployed git-sync pod",
11791206
"type": "string"
@@ -1201,6 +1228,25 @@
12011228
},
12021229
"type": "object"
12031230
},
1231+
"ConfigManagementContainerResourceRequirements": {
1232+
"description": "ResourceRequirements allows to override the CPU and memory resource requirements of a container.",
1233+
"id": "ConfigManagementContainerResourceRequirements",
1234+
"properties": {
1235+
"containerName": {
1236+
"description": "Name of the container",
1237+
"type": "string"
1238+
},
1239+
"cpuLimit": {
1240+
"$ref": "ConfigManagementQuantity",
1241+
"description": "Allows to override the CPU limit of a container"
1242+
},
1243+
"memoryLimit": {
1244+
"$ref": "ConfigManagementQuantity",
1245+
"description": "Allows to override the memory limit of a container"
1246+
}
1247+
},
1248+
"type": "object"
1249+
},
12041250
"ConfigManagementErrorResource": {
12051251
"description": "Model for a config file in the git repo with an associated Sync error",
12061252
"id": "ConfigManagementErrorResource",
@@ -1275,6 +1321,10 @@
12751321
"description": "URL for the HTTPS proxy to be used when communicating with the Git repo.",
12761322
"type": "string"
12771323
},
1324+
"noSslVerify": {
1325+
"description": "Enable or disable the SSL certificate verification Default: false.",
1326+
"type": "boolean"
1327+
},
12781328
"policyDir": {
12791329
"description": "The path within the Git repository that represents the top level of the repo to sync. Default: the root directory of the repository.",
12801330
"type": "string"
@@ -1287,6 +1337,11 @@
12871337
"description": "The branch of the repository to sync from. Default: master.",
12881338
"type": "string"
12891339
},
1340+
"syncDepth": {
1341+
"description": "The depth of git commits synced by the git-sync container.",
1342+
"format": "int64",
1343+
"type": "string"
1344+
},
12901345
"syncRepo": {
12911346
"description": "The URL of the Git repository to use as the source of truth.",
12921347
"type": "string"
@@ -1570,6 +1625,17 @@
15701625
},
15711626
"type": "object"
15721627
},
1628+
"ConfigManagementQuantity": {
1629+
"description": "The view model of a single quantity, e.g. \"800 MiB\". Corresponds to https://github.com/kubernetes/kubernetes/blob/master/staging/src/k8s.io/apimachinery/pkg/api/resource/generated.proto",
1630+
"id": "ConfigManagementQuantity",
1631+
"properties": {
1632+
"string": {
1633+
"description": "Stringified version of the quantity, e.g., \"800 MiB\".",
1634+
"type": "string"
1635+
}
1636+
},
1637+
"type": "object"
1638+
},
15731639
"ConfigManagementSyncError": {
15741640
"description": "An ACM created error representing a problem syncing configurations",
15751641
"id": "ConfigManagementSyncError",

googleapiclient/discovery_cache/documents/gkehub.v1alpha.json

Lines changed: 67 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -670,7 +670,7 @@
670670
}
671671
}
672672
},
673-
"revision": "20210910",
673+
"revision": "20210920",
674674
"rootUrl": "https://gkehub.googleapis.com/",
675675
"schemas": {
676676
"AuditConfig": {
@@ -851,6 +851,13 @@
851851
"$ref": "ConfigManagementGitConfig",
852852
"description": "Git repo configuration for the cluster."
853853
},
854+
"resourceRequirements": {
855+
"additionalProperties": {
856+
"$ref": "ConfigManagementContainerResourceRequirements"
857+
},
858+
"description": "Specifies CPU and memory limits for containers, keyed by container name",
859+
"type": "object"
860+
},
854861
"sourceFormat": {
855862
"description": "Specifies whether the Config Sync Repo is in \u201chierarchical\u201d or \u201cunstructured\u201d mode.",
856863
"type": "string"
@@ -862,6 +869,22 @@
862869
"description": "The state of ConfigSync's deployment on a cluster",
863870
"id": "ConfigManagementConfigSyncDeploymentState",
864871
"properties": {
872+
"admissionWebhook": {
873+
"description": "Deployment state of admission-webhook",
874+
"enum": [
875+
"DEPLOYMENT_STATE_UNSPECIFIED",
876+
"NOT_INSTALLED",
877+
"INSTALLED",
878+
"ERROR"
879+
],
880+
"enumDescriptions": [
881+
"Deployment's state cannot be determined",
882+
"Deployment is not installed",
883+
"Deployment is installed",
884+
"Deployment was attempted to be installed, but has errors"
885+
],
886+
"type": "string"
887+
},
865888
"gitSync": {
866889
"description": "Deployment state of the git-sync pod",
867890
"enum": [
@@ -984,6 +1007,10 @@
9841007
"description": "Specific versioning information pertaining to ConfigSync's Pods",
9851008
"id": "ConfigManagementConfigSyncVersion",
9861009
"properties": {
1010+
"admissionWebhook": {
1011+
"description": "Version of the deployed admission_webhook pod",
1012+
"type": "string"
1013+
},
9871014
"gitSync": {
9881015
"description": "Version of the deployed git-sync pod",
9891016
"type": "string"
@@ -1011,6 +1038,25 @@
10111038
},
10121039
"type": "object"
10131040
},
1041+
"ConfigManagementContainerResourceRequirements": {
1042+
"description": "ResourceRequirements allows to override the CPU and memory resource requirements of a container.",
1043+
"id": "ConfigManagementContainerResourceRequirements",
1044+
"properties": {
1045+
"containerName": {
1046+
"description": "Name of the container",
1047+
"type": "string"
1048+
},
1049+
"cpuLimit": {
1050+
"$ref": "ConfigManagementQuantity",
1051+
"description": "Allows to override the CPU limit of a container"
1052+
},
1053+
"memoryLimit": {
1054+
"$ref": "ConfigManagementQuantity",
1055+
"description": "Allows to override the memory limit of a container"
1056+
}
1057+
},
1058+
"type": "object"
1059+
},
10141060
"ConfigManagementErrorResource": {
10151061
"description": "Model for a config file in the git repo with an associated Sync error",
10161062
"id": "ConfigManagementErrorResource",
@@ -1101,6 +1147,10 @@
11011147
"description": "URL for the HTTPS proxy to be used when communicating with the Git repo.",
11021148
"type": "string"
11031149
},
1150+
"noSslVerify": {
1151+
"description": "Enable or disable the SSL certificate verification Default: false.",
1152+
"type": "boolean"
1153+
},
11041154
"policyDir": {
11051155
"description": "The path within the Git repository that represents the top level of the repo to sync. Default: the root directory of the repository.",
11061156
"type": "string"
@@ -1113,6 +1163,11 @@
11131163
"description": "The branch of the repository to sync from. Default: master.",
11141164
"type": "string"
11151165
},
1166+
"syncDepth": {
1167+
"description": "The depth of git commits synced by the git-sync container.",
1168+
"format": "int64",
1169+
"type": "string"
1170+
},
11161171
"syncRepo": {
11171172
"description": "The URL of the Git repository to use as the source of truth.",
11181173
"type": "string"
@@ -1408,6 +1463,17 @@
14081463
},
14091464
"type": "object"
14101465
},
1466+
"ConfigManagementQuantity": {
1467+
"description": "The view model of a single quantity, e.g. \"800 MiB\". Corresponds to https://github.com/kubernetes/kubernetes/blob/master/staging/src/k8s.io/apimachinery/pkg/api/resource/generated.proto",
1468+
"id": "ConfigManagementQuantity",
1469+
"properties": {
1470+
"string": {
1471+
"description": "Stringified version of the quantity, e.g., \"800 MiB\".",
1472+
"type": "string"
1473+
}
1474+
},
1475+
"type": "object"
1476+
},
14111477
"ConfigManagementSyncError": {
14121478
"description": "An ACM created error representing a problem syncing configurations",
14131479
"id": "ConfigManagementSyncError",

googleapiclient/discovery_cache/documents/gkehub.v1alpha2.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -652,7 +652,7 @@
652652
}
653653
}
654654
},
655-
"revision": "20210910",
655+
"revision": "20210920",
656656
"rootUrl": "https://gkehub.googleapis.com/",
657657
"schemas": {
658658
"AuditConfig": {

googleapiclient/discovery_cache/documents/gkehub.v1beta.json

Lines changed: 67 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -670,7 +670,7 @@
670670
}
671671
}
672672
},
673-
"revision": "20210910",
673+
"revision": "20210920",
674674
"rootUrl": "https://gkehub.googleapis.com/",
675675
"schemas": {
676676
"AuditConfig": {
@@ -829,6 +829,13 @@
829829
"$ref": "ConfigManagementGitConfig",
830830
"description": "Git repo configuration for the cluster."
831831
},
832+
"resourceRequirements": {
833+
"additionalProperties": {
834+
"$ref": "ConfigManagementContainerResourceRequirements"
835+
},
836+
"description": "Specifies CPU and memory limits for containers, keyed by container name",
837+
"type": "object"
838+
},
832839
"sourceFormat": {
833840
"description": "Specifies whether the Config Sync Repo is in \u201chierarchical\u201d or \u201cunstructured\u201d mode.",
834841
"type": "string"
@@ -840,6 +847,22 @@
840847
"description": "The state of ConfigSync's deployment on a cluster",
841848
"id": "ConfigManagementConfigSyncDeploymentState",
842849
"properties": {
850+
"admissionWebhook": {
851+
"description": "Deployment state of admission-webhook",
852+
"enum": [
853+
"DEPLOYMENT_STATE_UNSPECIFIED",
854+
"NOT_INSTALLED",
855+
"INSTALLED",
856+
"ERROR"
857+
],
858+
"enumDescriptions": [
859+
"Deployment's state cannot be determined",
860+
"Deployment is not installed",
861+
"Deployment is installed",
862+
"Deployment was attempted to be installed, but has errors"
863+
],
864+
"type": "string"
865+
},
843866
"gitSync": {
844867
"description": "Deployment state of the git-sync pod",
845868
"enum": [
@@ -962,6 +985,10 @@
962985
"description": "Specific versioning information pertaining to ConfigSync's Pods",
963986
"id": "ConfigManagementConfigSyncVersion",
964987
"properties": {
988+
"admissionWebhook": {
989+
"description": "Version of the deployed admission_webhook pod",
990+
"type": "string"
991+
},
965992
"gitSync": {
966993
"description": "Version of the deployed git-sync pod",
967994
"type": "string"
@@ -989,6 +1016,25 @@
9891016
},
9901017
"type": "object"
9911018
},
1019+
"ConfigManagementContainerResourceRequirements": {
1020+
"description": "ResourceRequirements allows to override the CPU and memory resource requirements of a container.",
1021+
"id": "ConfigManagementContainerResourceRequirements",
1022+
"properties": {
1023+
"containerName": {
1024+
"description": "Name of the container",
1025+
"type": "string"
1026+
},
1027+
"cpuLimit": {
1028+
"$ref": "ConfigManagementQuantity",
1029+
"description": "Allows to override the CPU limit of a container"
1030+
},
1031+
"memoryLimit": {
1032+
"$ref": "ConfigManagementQuantity",
1033+
"description": "Allows to override the memory limit of a container"
1034+
}
1035+
},
1036+
"type": "object"
1037+
},
9921038
"ConfigManagementErrorResource": {
9931039
"description": "Model for a config file in the git repo with an associated Sync error",
9941040
"id": "ConfigManagementErrorResource",
@@ -1063,6 +1109,10 @@
10631109
"description": "URL for the HTTPS proxy to be used when communicating with the Git repo.",
10641110
"type": "string"
10651111
},
1112+
"noSslVerify": {
1113+
"description": "Enable or disable the SSL certificate verification Default: false.",
1114+
"type": "boolean"
1115+
},
10661116
"policyDir": {
10671117
"description": "The path within the Git repository that represents the top level of the repo to sync. Default: the root directory of the repository.",
10681118
"type": "string"
@@ -1075,6 +1125,11 @@
10751125
"description": "The branch of the repository to sync from. Default: master.",
10761126
"type": "string"
10771127
},
1128+
"syncDepth": {
1129+
"description": "The depth of git commits synced by the git-sync container.",
1130+
"format": "int64",
1131+
"type": "string"
1132+
},
10781133
"syncRepo": {
10791134
"description": "The URL of the Git repository to use as the source of truth.",
10801135
"type": "string"
@@ -1366,6 +1421,17 @@
13661421
},
13671422
"type": "object"
13681423
},
1424+
"ConfigManagementQuantity": {
1425+
"description": "The view model of a single quantity, e.g. \"800 MiB\". Corresponds to https://github.com/kubernetes/kubernetes/blob/master/staging/src/k8s.io/apimachinery/pkg/api/resource/generated.proto",
1426+
"id": "ConfigManagementQuantity",
1427+
"properties": {
1428+
"string": {
1429+
"description": "Stringified version of the quantity, e.g., \"800 MiB\".",
1430+
"type": "string"
1431+
}
1432+
},
1433+
"type": "object"
1434+
},
13691435
"ConfigManagementSyncError": {
13701436
"description": "An ACM created error representing a problem syncing configurations",
13711437
"id": "ConfigManagementSyncError",

googleapiclient/discovery_cache/documents/gkehub.v1beta1.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -706,7 +706,7 @@
706706
}
707707
}
708708
},
709-
"revision": "20210910",
709+
"revision": "20210920",
710710
"rootUrl": "https://gkehub.googleapis.com/",
711711
"schemas": {
712712
"AuditConfig": {

0 commit comments

Comments
 (0)