-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add cross-compilation flags to go build
- Loading branch information
Showing
6 changed files
with
414 additions
and
3 deletions.
There are no files selected for viewing
This file contains 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 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
211 changes: 211 additions & 0 deletions
211
deploy/olm-catalog/mongodbatlas-operator/0.0.4/knappek_v1alpha1_mongodbatlascluster_crd.yaml
This file contains 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 |
---|---|---|
@@ -0,0 +1,211 @@ | ||
apiVersion: apiextensions.k8s.io/v1beta1 | ||
kind: CustomResourceDefinition | ||
metadata: | ||
name: mongodbatlasclusters.knappek.com | ||
spec: | ||
group: knappek.com | ||
names: | ||
kind: MongoDBAtlasCluster | ||
listKind: MongoDBAtlasClusterList | ||
plural: mongodbatlasclusters | ||
singular: mongodbatlascluster | ||
scope: Namespaced | ||
validation: | ||
openAPIV3Schema: | ||
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/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/api-conventions.md#types-kinds' | ||
type: string | ||
metadata: | ||
type: object | ||
spec: | ||
properties: | ||
autoScaling: | ||
properties: | ||
diskGBEnabled: | ||
type: boolean | ||
required: | ||
- diskGBEnabled | ||
type: object | ||
backupEnabled: | ||
type: boolean | ||
diskSizeGB: | ||
format: double | ||
type: number | ||
mongoDBMajorVersion: | ||
type: string | ||
mongoDBVersion: | ||
type: string | ||
numShards: | ||
format: int64 | ||
type: integer | ||
privateKey: | ||
properties: | ||
valueFrom: | ||
properties: | ||
secretKeyRef: | ||
description: Selects a key of a secret in the CR's namespace | ||
type: object | ||
required: | ||
- secretKeyRef | ||
type: object | ||
required: | ||
- valueFrom | ||
type: object | ||
projectName: | ||
type: string | ||
providerBackupEnabled: | ||
type: boolean | ||
providerSettings: | ||
properties: | ||
backingProviderName: | ||
type: string | ||
diskIOPS: | ||
format: int64 | ||
type: integer | ||
encryptEBSVolume: | ||
type: boolean | ||
instanceSizeName: | ||
type: string | ||
providerName: | ||
type: string | ||
regionName: | ||
type: string | ||
type: object | ||
publicKey: | ||
type: string | ||
replicationFactor: | ||
format: int64 | ||
type: integer | ||
replicationSpec: | ||
additionalProperties: | ||
properties: | ||
analyticsNodes: | ||
format: int64 | ||
type: integer | ||
electableNodes: | ||
format: int64 | ||
type: integer | ||
priority: | ||
format: int64 | ||
type: integer | ||
readOnlyNodes: | ||
format: int64 | ||
type: integer | ||
required: | ||
- priority | ||
- electableNodes | ||
- readOnlyNodes | ||
- analyticsNodes | ||
type: object | ||
type: object | ||
required: | ||
- publicKey | ||
- privateKey | ||
- projectName | ||
- backupEnabled | ||
- providerBackupEnabled | ||
type: object | ||
status: | ||
properties: | ||
autoScaling: | ||
properties: | ||
diskGBEnabled: | ||
type: boolean | ||
required: | ||
- diskGBEnabled | ||
type: object | ||
backupEnabled: | ||
type: boolean | ||
diskSizeGB: | ||
format: double | ||
type: number | ||
groupID: | ||
type: string | ||
id: | ||
description: 'INSERT ADDITIONAL STATUS FIELD - define observed state | ||
of cluster Important: Run "operator-sdk generate k8s" to regenerate | ||
code after modifying this file Add custom validation using kubebuilder | ||
tags: https://book.kubebuilder.io/beyond_basics/generating_crd.html' | ||
type: string | ||
mongoDBMajorVersion: | ||
type: string | ||
mongoDBVersion: | ||
type: string | ||
mongoURI: | ||
type: string | ||
mongoURIUpdated: | ||
type: string | ||
mongoURIWithOptions: | ||
type: string | ||
name: | ||
type: string | ||
numShards: | ||
format: int64 | ||
type: integer | ||
paused: | ||
type: boolean | ||
providerBackupEnabled: | ||
type: boolean | ||
providerSettings: | ||
properties: | ||
backingProviderName: | ||
type: string | ||
diskIOPS: | ||
format: int64 | ||
type: integer | ||
encryptEBSVolume: | ||
type: boolean | ||
instanceSizeName: | ||
type: string | ||
providerName: | ||
type: string | ||
regionName: | ||
type: string | ||
type: object | ||
replicationFactor: | ||
format: int64 | ||
type: integer | ||
replicationSpec: | ||
additionalProperties: | ||
properties: | ||
analyticsNodes: | ||
format: int64 | ||
type: integer | ||
electableNodes: | ||
format: int64 | ||
type: integer | ||
priority: | ||
format: int64 | ||
type: integer | ||
readOnlyNodes: | ||
format: int64 | ||
type: integer | ||
required: | ||
- priority | ||
- electableNodes | ||
- readOnlyNodes | ||
- analyticsNodes | ||
type: object | ||
type: object | ||
srvAddress: | ||
type: string | ||
stateName: | ||
type: string | ||
required: | ||
- backupEnabled | ||
- providerBackupEnabled | ||
- paused | ||
type: object | ||
version: v1alpha1 | ||
versions: | ||
- name: v1alpha1 | ||
served: true | ||
storage: true |
81 changes: 81 additions & 0 deletions
81
deploy/olm-catalog/mongodbatlas-operator/0.0.4/knappek_v1alpha1_mongodbatlasproject_crd.yaml
This file contains 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 |
---|---|---|
@@ -0,0 +1,81 @@ | ||
apiVersion: apiextensions.k8s.io/v1beta1 | ||
kind: CustomResourceDefinition | ||
metadata: | ||
name: mongodbatlasprojects.knappek.com | ||
spec: | ||
group: knappek.com | ||
names: | ||
kind: MongoDBAtlasProject | ||
listKind: MongoDBAtlasProjectList | ||
plural: mongodbatlasprojects | ||
singular: mongodbatlasproject | ||
scope: Namespaced | ||
subresources: | ||
status: {} | ||
validation: | ||
openAPIV3Schema: | ||
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/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/api-conventions.md#types-kinds' | ||
type: string | ||
metadata: | ||
type: object | ||
spec: | ||
properties: | ||
orgID: | ||
type: string | ||
privateKey: | ||
properties: | ||
valueFrom: | ||
properties: | ||
secretKeyRef: | ||
description: Selects a key of a secret in the CR's namespace | ||
type: object | ||
required: | ||
- secretKeyRef | ||
type: object | ||
required: | ||
- valueFrom | ||
type: object | ||
publicKey: | ||
type: string | ||
required: | ||
- publicKey | ||
- privateKey | ||
type: object | ||
status: | ||
properties: | ||
clusterCount: | ||
format: int64 | ||
type: integer | ||
created: | ||
type: string | ||
id: | ||
description: 'INSERT ADDITIONAL STATUS FIELD - define observed state | ||
of cluster Important: Run "operator-sdk generate k8s" to regenerate | ||
code after modifying this file Add custom validation using kubebuilder | ||
tags: https://book.kubebuilder.io/beyond_basics/generating_crd.html' | ||
type: string | ||
name: | ||
type: string | ||
orgID: | ||
type: string | ||
required: | ||
- id | ||
- name | ||
- orgID | ||
- created | ||
- clusterCount | ||
type: object | ||
version: v1alpha1 | ||
versions: | ||
- name: v1alpha1 | ||
served: true | ||
storage: true |
Oops, something went wrong.