Skip to content

Commit

Permalink
feat(gkehub): update the API
Browse files Browse the repository at this point in the history
#### gkehub:v1alpha

The following keys were added:
- schemas.ConfigManagementConfigSync.properties.resourceRequirements.additionalProperties.$ref
- schemas.ConfigManagementConfigSync.properties.resourceRequirements.description
- schemas.ConfigManagementConfigSync.properties.resourceRequirements.type
- schemas.ConfigManagementConfigSyncDeploymentState.properties.admissionWebhook.description
- schemas.ConfigManagementConfigSyncDeploymentState.properties.admissionWebhook.enum
- schemas.ConfigManagementConfigSyncDeploymentState.properties.admissionWebhook.enumDescriptions
- schemas.ConfigManagementConfigSyncDeploymentState.properties.admissionWebhook.type
- schemas.ConfigManagementConfigSyncVersion.properties.admissionWebhook.description
- schemas.ConfigManagementConfigSyncVersion.properties.admissionWebhook.type
- schemas.ConfigManagementContainerResourceRequirements.description
- schemas.ConfigManagementContainerResourceRequirements.id
- schemas.ConfigManagementContainerResourceRequirements.properties.containerName.description
- schemas.ConfigManagementContainerResourceRequirements.properties.containerName.type
- schemas.ConfigManagementContainerResourceRequirements.properties.cpuLimit.$ref
- schemas.ConfigManagementContainerResourceRequirements.properties.cpuLimit.description
- schemas.ConfigManagementContainerResourceRequirements.properties.memoryLimit.$ref
- schemas.ConfigManagementContainerResourceRequirements.properties.memoryLimit.description
- schemas.ConfigManagementContainerResourceRequirements.type
- schemas.ConfigManagementGitConfig.properties.noSslVerify.description
- schemas.ConfigManagementGitConfig.properties.noSslVerify.type
- schemas.ConfigManagementGitConfig.properties.syncDepth.description
- schemas.ConfigManagementGitConfig.properties.syncDepth.format
- schemas.ConfigManagementGitConfig.properties.syncDepth.type
- schemas.ConfigManagementQuantity.description
- schemas.ConfigManagementQuantity.id
- schemas.ConfigManagementQuantity.properties.string.description
- schemas.ConfigManagementQuantity.properties.string.type
- schemas.ConfigManagementQuantity.type

#### gkehub:v1beta

The following keys were added:
- schemas.ConfigManagementConfigSync.properties.resourceRequirements.additionalProperties.$ref
- schemas.ConfigManagementConfigSync.properties.resourceRequirements.description
- schemas.ConfigManagementConfigSync.properties.resourceRequirements.type
- schemas.ConfigManagementConfigSyncDeploymentState.properties.admissionWebhook.description
- schemas.ConfigManagementConfigSyncDeploymentState.properties.admissionWebhook.enum
- schemas.ConfigManagementConfigSyncDeploymentState.properties.admissionWebhook.enumDescriptions
- schemas.ConfigManagementConfigSyncDeploymentState.properties.admissionWebhook.type
- schemas.ConfigManagementConfigSyncVersion.properties.admissionWebhook.description
- schemas.ConfigManagementConfigSyncVersion.properties.admissionWebhook.type
- schemas.ConfigManagementContainerResourceRequirements.description
- schemas.ConfigManagementContainerResourceRequirements.id
- schemas.ConfigManagementContainerResourceRequirements.properties.containerName.description
- schemas.ConfigManagementContainerResourceRequirements.properties.containerName.type
- schemas.ConfigManagementContainerResourceRequirements.properties.cpuLimit.$ref
- schemas.ConfigManagementContainerResourceRequirements.properties.cpuLimit.description
- schemas.ConfigManagementContainerResourceRequirements.properties.memoryLimit.$ref
- schemas.ConfigManagementContainerResourceRequirements.properties.memoryLimit.description
- schemas.ConfigManagementContainerResourceRequirements.type
- schemas.ConfigManagementGitConfig.properties.noSslVerify.description
- schemas.ConfigManagementGitConfig.properties.noSslVerify.type
- schemas.ConfigManagementGitConfig.properties.syncDepth.description
- schemas.ConfigManagementGitConfig.properties.syncDepth.format
- schemas.ConfigManagementGitConfig.properties.syncDepth.type
- schemas.ConfigManagementQuantity.description
- schemas.ConfigManagementQuantity.id
- schemas.ConfigManagementQuantity.properties.string.description
- schemas.ConfigManagementQuantity.properties.string.type
- schemas.ConfigManagementQuantity.type

#### gkehub:v1

The following keys were added:
- schemas.ConfigManagementConfigSync.properties.resourceRequirements.additionalProperties.$ref
- schemas.ConfigManagementConfigSync.properties.resourceRequirements.description
- schemas.ConfigManagementConfigSync.properties.resourceRequirements.type
- schemas.ConfigManagementConfigSyncDeploymentState.properties.admissionWebhook.description
- schemas.ConfigManagementConfigSyncDeploymentState.properties.admissionWebhook.enum
- schemas.ConfigManagementConfigSyncDeploymentState.properties.admissionWebhook.enumDescriptions
- schemas.ConfigManagementConfigSyncDeploymentState.properties.admissionWebhook.type
- schemas.ConfigManagementConfigSyncVersion.properties.admissionWebhook.description
- schemas.ConfigManagementConfigSyncVersion.properties.admissionWebhook.type
- schemas.ConfigManagementContainerResourceRequirements.description
- schemas.ConfigManagementContainerResourceRequirements.id
- schemas.ConfigManagementContainerResourceRequirements.properties.containerName.description
- schemas.ConfigManagementContainerResourceRequirements.properties.containerName.type
- schemas.ConfigManagementContainerResourceRequirements.properties.cpuLimit.$ref
- schemas.ConfigManagementContainerResourceRequirements.properties.cpuLimit.description
- schemas.ConfigManagementContainerResourceRequirements.properties.memoryLimit.$ref
- schemas.ConfigManagementContainerResourceRequirements.properties.memoryLimit.description
- schemas.ConfigManagementContainerResourceRequirements.type
- schemas.ConfigManagementGitConfig.properties.noSslVerify.description
- schemas.ConfigManagementGitConfig.properties.noSslVerify.type
- schemas.ConfigManagementGitConfig.properties.syncDepth.description
- schemas.ConfigManagementGitConfig.properties.syncDepth.format
- schemas.ConfigManagementGitConfig.properties.syncDepth.type
- schemas.ConfigManagementQuantity.description
- schemas.ConfigManagementQuantity.id
- schemas.ConfigManagementQuantity.properties.string.description
- schemas.ConfigManagementQuantity.properties.string.type
- schemas.ConfigManagementQuantity.type
  • Loading branch information
yoshi-automation authored and JustinBeckwith committed Sep 28, 2021
1 parent a7d3484 commit c3d7862
Show file tree
Hide file tree
Showing 6 changed files with 345 additions and 3 deletions.
68 changes: 67 additions & 1 deletion discovery/gkehub-v1.json
Expand Up @@ -905,7 +905,7 @@
}
}
},
"revision": "20210820",
"revision": "20210920",
"rootUrl": "https://gkehub.googleapis.com/",
"schemas": {
"AuditConfig": {
Expand Down Expand Up @@ -1041,6 +1041,13 @@
"$ref": "ConfigManagementGitConfig",
"description": "Git repo configuration for the cluster."
},
"resourceRequirements": {
"additionalProperties": {
"$ref": "ConfigManagementContainerResourceRequirements"
},
"description": "Specifies CPU and memory limits for containers, keyed by container name",
"type": "object"
},
"sourceFormat": {
"description": "Specifies whether the Config Sync Repo is in “hierarchical” or “unstructured” mode.",
"type": "string"
Expand All @@ -1052,6 +1059,22 @@
"description": "The state of ConfigSync's deployment on a cluster",
"id": "ConfigManagementConfigSyncDeploymentState",
"properties": {
"admissionWebhook": {
"description": "Deployment state of admission-webhook",
"enum": [
"DEPLOYMENT_STATE_UNSPECIFIED",
"NOT_INSTALLED",
"INSTALLED",
"ERROR"
],
"enumDescriptions": [
"Deployment's state cannot be determined",
"Deployment is not installed",
"Deployment is installed",
"Deployment was attempted to be installed, but has errors"
],
"type": "string"
},
"gitSync": {
"description": "Deployment state of the git-sync pod",
"enum": [
Expand Down Expand Up @@ -1174,6 +1197,10 @@
"description": "Specific versioning information pertaining to ConfigSync's Pods",
"id": "ConfigManagementConfigSyncVersion",
"properties": {
"admissionWebhook": {
"description": "Version of the deployed admission_webhook pod",
"type": "string"
},
"gitSync": {
"description": "Version of the deployed git-sync pod",
"type": "string"
Expand Down Expand Up @@ -1201,6 +1228,25 @@
},
"type": "object"
},
"ConfigManagementContainerResourceRequirements": {
"description": "ResourceRequirements allows to override the CPU and memory resource requirements of a container.",
"id": "ConfigManagementContainerResourceRequirements",
"properties": {
"containerName": {
"description": "Name of the container",
"type": "string"
},
"cpuLimit": {
"$ref": "ConfigManagementQuantity",
"description": "Allows to override the CPU limit of a container"
},
"memoryLimit": {
"$ref": "ConfigManagementQuantity",
"description": "Allows to override the memory limit of a container"
}
},
"type": "object"
},
"ConfigManagementErrorResource": {
"description": "Model for a config file in the git repo with an associated Sync error",
"id": "ConfigManagementErrorResource",
Expand Down Expand Up @@ -1275,6 +1321,10 @@
"description": "URL for the HTTPS proxy to be used when communicating with the Git repo.",
"type": "string"
},
"noSslVerify": {
"description": "Enable or disable the SSL certificate verification Default: false.",
"type": "boolean"
},
"policyDir": {
"description": "The path within the Git repository that represents the top level of the repo to sync. Default: the root directory of the repository.",
"type": "string"
Expand All @@ -1287,6 +1337,11 @@
"description": "The branch of the repository to sync from. Default: master.",
"type": "string"
},
"syncDepth": {
"description": "The depth of git commits synced by the git-sync container.",
"format": "int64",
"type": "string"
},
"syncRepo": {
"description": "The URL of the Git repository to use as the source of truth.",
"type": "string"
Expand Down Expand Up @@ -1570,6 +1625,17 @@
},
"type": "object"
},
"ConfigManagementQuantity": {
"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",
"id": "ConfigManagementQuantity",
"properties": {
"string": {
"description": "Stringified version of the quantity, e.g., \"800 MiB\".",
"type": "string"
}
},
"type": "object"
},
"ConfigManagementSyncError": {
"description": "An ACM created error representing a problem syncing configurations",
"id": "ConfigManagementSyncError",
Expand Down
68 changes: 67 additions & 1 deletion discovery/gkehub-v1alpha.json
Expand Up @@ -670,7 +670,7 @@
}
}
},
"revision": "20210820",
"revision": "20210920",
"rootUrl": "https://gkehub.googleapis.com/",
"schemas": {
"AuditConfig": {
Expand Down Expand Up @@ -851,6 +851,13 @@
"$ref": "ConfigManagementGitConfig",
"description": "Git repo configuration for the cluster."
},
"resourceRequirements": {
"additionalProperties": {
"$ref": "ConfigManagementContainerResourceRequirements"
},
"description": "Specifies CPU and memory limits for containers, keyed by container name",
"type": "object"
},
"sourceFormat": {
"description": "Specifies whether the Config Sync Repo is in “hierarchical” or “unstructured” mode.",
"type": "string"
Expand All @@ -862,6 +869,22 @@
"description": "The state of ConfigSync's deployment on a cluster",
"id": "ConfigManagementConfigSyncDeploymentState",
"properties": {
"admissionWebhook": {
"description": "Deployment state of admission-webhook",
"enum": [
"DEPLOYMENT_STATE_UNSPECIFIED",
"NOT_INSTALLED",
"INSTALLED",
"ERROR"
],
"enumDescriptions": [
"Deployment's state cannot be determined",
"Deployment is not installed",
"Deployment is installed",
"Deployment was attempted to be installed, but has errors"
],
"type": "string"
},
"gitSync": {
"description": "Deployment state of the git-sync pod",
"enum": [
Expand Down Expand Up @@ -984,6 +1007,10 @@
"description": "Specific versioning information pertaining to ConfigSync's Pods",
"id": "ConfigManagementConfigSyncVersion",
"properties": {
"admissionWebhook": {
"description": "Version of the deployed admission_webhook pod",
"type": "string"
},
"gitSync": {
"description": "Version of the deployed git-sync pod",
"type": "string"
Expand Down Expand Up @@ -1011,6 +1038,25 @@
},
"type": "object"
},
"ConfigManagementContainerResourceRequirements": {
"description": "ResourceRequirements allows to override the CPU and memory resource requirements of a container.",
"id": "ConfigManagementContainerResourceRequirements",
"properties": {
"containerName": {
"description": "Name of the container",
"type": "string"
},
"cpuLimit": {
"$ref": "ConfigManagementQuantity",
"description": "Allows to override the CPU limit of a container"
},
"memoryLimit": {
"$ref": "ConfigManagementQuantity",
"description": "Allows to override the memory limit of a container"
}
},
"type": "object"
},
"ConfigManagementErrorResource": {
"description": "Model for a config file in the git repo with an associated Sync error",
"id": "ConfigManagementErrorResource",
Expand Down Expand Up @@ -1101,6 +1147,10 @@
"description": "URL for the HTTPS proxy to be used when communicating with the Git repo.",
"type": "string"
},
"noSslVerify": {
"description": "Enable or disable the SSL certificate verification Default: false.",
"type": "boolean"
},
"policyDir": {
"description": "The path within the Git repository that represents the top level of the repo to sync. Default: the root directory of the repository.",
"type": "string"
Expand All @@ -1113,6 +1163,11 @@
"description": "The branch of the repository to sync from. Default: master.",
"type": "string"
},
"syncDepth": {
"description": "The depth of git commits synced by the git-sync container.",
"format": "int64",
"type": "string"
},
"syncRepo": {
"description": "The URL of the Git repository to use as the source of truth.",
"type": "string"
Expand Down Expand Up @@ -1408,6 +1463,17 @@
},
"type": "object"
},
"ConfigManagementQuantity": {
"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",
"id": "ConfigManagementQuantity",
"properties": {
"string": {
"description": "Stringified version of the quantity, e.g., \"800 MiB\".",
"type": "string"
}
},
"type": "object"
},
"ConfigManagementSyncError": {
"description": "An ACM created error representing a problem syncing configurations",
"id": "ConfigManagementSyncError",
Expand Down
68 changes: 67 additions & 1 deletion discovery/gkehub-v1beta.json
Expand Up @@ -670,7 +670,7 @@
}
}
},
"revision": "20210820",
"revision": "20210920",
"rootUrl": "https://gkehub.googleapis.com/",
"schemas": {
"AuditConfig": {
Expand Down Expand Up @@ -829,6 +829,13 @@
"$ref": "ConfigManagementGitConfig",
"description": "Git repo configuration for the cluster."
},
"resourceRequirements": {
"additionalProperties": {
"$ref": "ConfigManagementContainerResourceRequirements"
},
"description": "Specifies CPU and memory limits for containers, keyed by container name",
"type": "object"
},
"sourceFormat": {
"description": "Specifies whether the Config Sync Repo is in “hierarchical” or “unstructured” mode.",
"type": "string"
Expand All @@ -840,6 +847,22 @@
"description": "The state of ConfigSync's deployment on a cluster",
"id": "ConfigManagementConfigSyncDeploymentState",
"properties": {
"admissionWebhook": {
"description": "Deployment state of admission-webhook",
"enum": [
"DEPLOYMENT_STATE_UNSPECIFIED",
"NOT_INSTALLED",
"INSTALLED",
"ERROR"
],
"enumDescriptions": [
"Deployment's state cannot be determined",
"Deployment is not installed",
"Deployment is installed",
"Deployment was attempted to be installed, but has errors"
],
"type": "string"
},
"gitSync": {
"description": "Deployment state of the git-sync pod",
"enum": [
Expand Down Expand Up @@ -962,6 +985,10 @@
"description": "Specific versioning information pertaining to ConfigSync's Pods",
"id": "ConfigManagementConfigSyncVersion",
"properties": {
"admissionWebhook": {
"description": "Version of the deployed admission_webhook pod",
"type": "string"
},
"gitSync": {
"description": "Version of the deployed git-sync pod",
"type": "string"
Expand Down Expand Up @@ -989,6 +1016,25 @@
},
"type": "object"
},
"ConfigManagementContainerResourceRequirements": {
"description": "ResourceRequirements allows to override the CPU and memory resource requirements of a container.",
"id": "ConfigManagementContainerResourceRequirements",
"properties": {
"containerName": {
"description": "Name of the container",
"type": "string"
},
"cpuLimit": {
"$ref": "ConfigManagementQuantity",
"description": "Allows to override the CPU limit of a container"
},
"memoryLimit": {
"$ref": "ConfigManagementQuantity",
"description": "Allows to override the memory limit of a container"
}
},
"type": "object"
},
"ConfigManagementErrorResource": {
"description": "Model for a config file in the git repo with an associated Sync error",
"id": "ConfigManagementErrorResource",
Expand Down Expand Up @@ -1063,6 +1109,10 @@
"description": "URL for the HTTPS proxy to be used when communicating with the Git repo.",
"type": "string"
},
"noSslVerify": {
"description": "Enable or disable the SSL certificate verification Default: false.",
"type": "boolean"
},
"policyDir": {
"description": "The path within the Git repository that represents the top level of the repo to sync. Default: the root directory of the repository.",
"type": "string"
Expand All @@ -1075,6 +1125,11 @@
"description": "The branch of the repository to sync from. Default: master.",
"type": "string"
},
"syncDepth": {
"description": "The depth of git commits synced by the git-sync container.",
"format": "int64",
"type": "string"
},
"syncRepo": {
"description": "The URL of the Git repository to use as the source of truth.",
"type": "string"
Expand Down Expand Up @@ -1366,6 +1421,17 @@
},
"type": "object"
},
"ConfigManagementQuantity": {
"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",
"id": "ConfigManagementQuantity",
"properties": {
"string": {
"description": "Stringified version of the quantity, e.g., \"800 MiB\".",
"type": "string"
}
},
"type": "object"
},
"ConfigManagementSyncError": {
"description": "An ACM created error representing a problem syncing configurations",
"id": "ConfigManagementSyncError",
Expand Down

0 comments on commit c3d7862

Please sign in to comment.