This repository was archived by the owner on Oct 30, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 6
Add pods fields to AWSCluster #413
Merged
Merged
Changes from all commits
Commits
Show all changes
7 commits
Select commit
Hold shift + click to select a range
585f364
Add fields to AWSCluster
paurosello 41ae82f
Changelog
paurosello 03da602
Merge remote-tracking branch 'origin/improve-generation' into add_pod…
paurosello fc58114
Merge remote-tracking branch 'origin/improve-generation' into add_pod…
paurosello 6855c2f
remove github folder
paurosello 0e513ee
make work all the things
xh3b4sd fbfb020
add changelog
xh3b4sd File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -107,6 +107,16 @@ spec: | |
| - availabilityZone | ||
| - instanceType | ||
| type: object | ||
| pods: | ||
| description: Pod network configuration. | ||
| properties: | ||
| cidrBlock: | ||
| description: Subnet size, expresses as the count of leading | ||
| 1 bits in the subnet mask of this subnet. | ||
|
Comment on lines
+114
to
+115
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. If the property is expected to carry a string like "IPv4 address block used for pods, in CIDR notation." Also we might want to provide a validation regex. |
||
| type: string | ||
| required: | ||
| - cidrBlock | ||
| type: object | ||
| region: | ||
| description: Region is the AWS region the cluster is to be running | ||
| in. | ||
|
|
||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,94 +1,156 @@ | ||
| apiVersion: apiextensions.k8s.io/v1beta1 | ||
| kind: CustomResourceDefinition | ||
| metadata: | ||
| annotations: | ||
| controller-gen.kubebuilder.io/version: v0.2.4 | ||
| creationTimestamp: null | ||
| name: charts.application.giantswarm.io | ||
| spec: | ||
| group: application.giantswarm.io | ||
| names: | ||
| kind: Chart | ||
| listKind: ChartList | ||
| plural: charts | ||
| singular: chart | ||
| scope: Namespaced | ||
| subresources: | ||
| status: {} | ||
| validation: | ||
| openAPIV3Schema: | ||
| description: | | ||
| Defines a Chart resource, which represents an application version running on the cluster. | ||
| This resource is created and managed by chart-operator running in each tenant cluster. | ||
| properties: | ||
| apiVersion: | ||
| description: 'APIVersion defines the versioned schema of this representation | ||
| of an object. Servers should convert recognized schemas to the latest | ||
| internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' | ||
| type: string | ||
| kind: | ||
| description: 'Kind is a string value representing the REST resource this | ||
| object represents. Servers may infer this from the endpoint the client | ||
| submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' | ||
| type: string | ||
| metadata: | ||
| type: object | ||
| spec: | ||
| properties: | ||
| config: | ||
| description: "Defines the aggregated configuration values for the application | ||
| chart. It is \ncreated by app-operator in the tenant cluster to be | ||
| used as values file by \nchart operator during the helm installation | ||
| process.\nproccess. \n" | ||
| description: Config is the config to be applied when the chart is deployed. | ||
| properties: | ||
| configMap: | ||
| description: "Defines a reference to a ConfigMap where is the aggregated | ||
| configuration values \nfrom App Catalog, Cluster and User that | ||
| will be used as values file in the helm\ninstallation or upgrade | ||
| process.\n" | ||
| description: ConfigMap references a config map containing values | ||
| that should be applied to the chart. | ||
| properties: | ||
| name: | ||
| description: | | ||
| Name of the ConfigMap resource. | ||
| description: Name is the name of the config map containing chart | ||
| values to apply, e.g. prometheus-chart-values. | ||
| type: string | ||
| namespace: | ||
| description: | | ||
| Namespace holding the ConfigMap resource. | ||
| description: Namespace is the namespace of the values config | ||
| map, e.g. monitoring. | ||
| type: string | ||
| resourceVersion: | ||
| description: ResourceVersion is the Kubernetes resource version | ||
| of the configmap. Used to detect if the configmap has changed, | ||
| e.g. 12345. | ||
| type: string | ||
| required: | ||
| - name | ||
| - namespace | ||
| - resourceVersion | ||
| type: object | ||
| secret: | ||
| description: | | ||
| Defines a reference to a Secret where is the aggregated configuration values from App Catalog, Cluster and User that will be used as values file in the helm | ||
| installation or upgrade process. | ||
| description: Secret references a secret containing secret values | ||
| that should be applied to the chart. | ||
| properties: | ||
| name: | ||
| description: | | ||
| Name of the Secret resource. | ||
| description: Name is the name of the secret containing chart | ||
| values to apply, e.g. prometheus-chart-secret. | ||
| type: string | ||
| namespace: | ||
| description: | | ||
| Namespace holding the Secret resource. | ||
| description: Namespace is the namespace of the secret, e.g. | ||
| kube-system. | ||
| type: string | ||
| resourceVersion: | ||
| description: ResourceVersion is the Kubernetes resource version | ||
| of the secret. Used to detect if the secret has changed, e.g. | ||
| 12345. | ||
| type: string | ||
| required: | ||
| - name | ||
| - namespace | ||
| - resourceVersion | ||
| type: object | ||
| required: | ||
| - configMap | ||
| - secret | ||
| type: object | ||
| name: | ||
| description: | | ||
| Name of this application Chart. | ||
| description: Name is the name of the Helm chart to be deployed. e.g. | ||
| kubernetes-prometheus | ||
| type: string | ||
| namespace: | ||
| description: | | ||
| Kubernetes namespace in which to install the workloads defined by this App Chart in | ||
| the current cluster. | ||
| description: Namespace is the namespace where the chart should be deployed. | ||
| e.g. monitoring | ||
| type: string | ||
| tarballURL: | ||
| description: "URL of the application Chart to be deployed. The chart | ||
| package must exist in the \nApp Catalog storage.\n" | ||
| format: uri | ||
| description: TarballURL is the URL for the Helm chart tarball to be | ||
| deployed. e.g. https://path/to/prom-1-0-0.tgz" | ||
| type: string | ||
| version: | ||
| description: | | ||
| Version of the application Chart to be deployed. | ||
| description: Version is the version of the chart that should be deployed. | ||
| e.g. 1.0.0 | ||
| type: string | ||
| required: | ||
| - config | ||
| - name | ||
| - namespace | ||
| - tarballURL | ||
| - version | ||
| type: object | ||
| status: | ||
| properties: | ||
| appVersion: | ||
| description: AppVersion is the value of the AppVersion field in the | ||
| Chart.yaml of the deployed chart. This is an optional field with the | ||
| version of the component being deployed. e.g. 0.21.0. https://docs.helm.sh/developing_charts/#the-chart-yaml-file | ||
| type: string | ||
| reason: | ||
| description: Reason is the description of the last status of helm release | ||
| when the chart is not installed successfully, e.g. deploy resource | ||
| already exists. | ||
| type: string | ||
| release: | ||
| description: Release is the status of the Helm release for the deployed | ||
| chart. | ||
| properties: | ||
| lastDeployed: | ||
| description: LastDeployed is the time when the deployed chart was | ||
| last deployed. | ||
| format: date-time | ||
| type: string | ||
| revision: | ||
| description: Revision is the revision number for this deployed chart. | ||
| type: integer | ||
| status: | ||
| description: Status is the status of the deployed chart, e.g. DEPLOYED. | ||
| type: string | ||
| required: | ||
| - lastDeployed | ||
| - revision | ||
| - status | ||
| type: object | ||
| version: | ||
| description: Version is the value of the Version field in the Chart.yaml | ||
| of the deployed chart. e.g. 1.0.0. | ||
| type: string | ||
| required: | ||
| - appVersion | ||
| - release | ||
| - version | ||
| type: object | ||
| required: | ||
| - metadata | ||
| - spec | ||
| type: object | ||
| version: v1alpha1 | ||
| versions: | ||
| - name: v1alpha1 | ||
| served: true | ||
| storage: true |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.