Skip to content

Commit

Permalink
Merge pull request #1720 from akesser/feature/update-opensearchservic…
Browse files Browse the repository at this point in the history
…e-version

Feature/update opensearchservice version
  • Loading branch information
Christopher Haar committed Apr 6, 2023
2 parents b48e870 + dc5810d commit a679f94
Show file tree
Hide file tree
Showing 8 changed files with 615 additions and 665 deletions.
15 changes: 6 additions & 9 deletions apis/opensearchservice/generator-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,24 +8,21 @@ ignore:
field_paths:
# SnapshotOptions is irrelevant for OpenSearch 5.3+
- CreateDomainInput.SnapshotOptions
- CreateDomainInput.Name
- CreateDomainInput.DomainName
- CreateDomainInput.EncryptionAtRestOptions
- CreateDomainInput.VPCOptions
- DeleteDomainInput.Name
- DeleteDomainInput.DomainName
- DescribeDomainInput.DomainName
- DescribeDomainAutoTunesInput.DomainName
- DescribeDomainChangeProgressInput.DomainName
- DescribeDomainConfigInput.DomainName
resources:
Domain:
renames:
operations:
CreateDomain:
input_fields:
DomainName: Name
TagList: Tags
DeleteDomain:
input_fields:
DomainName: Name
DescribeDomain:
input_fields:
DomainName: Name
fields:
ClusterConfig:
is_read_only: true
Expand Down
7 changes: 3 additions & 4 deletions apis/opensearchservice/v1alpha1/zz_domain.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 5 additions & 5 deletions apis/opensearchservice/v1alpha1/zz_generated.deepcopy.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 0 additions & 2 deletions examples/opensearchservice/domain.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ metadata:
name: sample-domain
spec:
forProvider:
name: sample-domain
region: us-east-1
ebsOptions:
ebsEnabled: true
Expand All @@ -19,7 +18,6 @@ metadata:
name: sample2-domain
spec:
forProvider:
name: sample2-domain
region: us-east-1
ebsOptions:
ebsEnabled: true
Expand Down
11 changes: 5 additions & 6 deletions package/crds/opensearchservice.aws.crossplane.io_domains.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -370,11 +370,6 @@ spec:
type: object
description: Key-value pairs to configure slow log publishing.
type: object
name:
description: Name of the OpenSearch Service domain to create.
Domain names are unique across the domains owned by an account
within an Amazon Web Services Region.
type: string
nodeToNodeEncryptionOptions:
description: Enables node-to-node encryption.
properties:
Expand Down Expand Up @@ -582,7 +577,6 @@ spec:
type: array
type: object
required:
- name
- region
type: object
providerConfigRef:
Expand Down Expand Up @@ -918,6 +912,11 @@ spec:
domainID:
description: Unique identifier for the domain.
type: string
domainName:
description: Name of the domain. Domain names are unique across
all domains owned by the same account within an Amazon Web Services
Region.
type: string
encryptionAtRestOptions:
description: Encryption at rest settings for the domain.
properties:
Expand Down

0 comments on commit a679f94

Please sign in to comment.