Skip to content

make alias name immutable #178

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions apis/v1alpha1/ack-generate-metadata.yaml
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
ack_generate_info:
build_date: "2025-06-02T18:59:43Z"
build_date: "2025-06-04T17:39:33Z"
build_hash: abd45b45e7726b7893641afaeae805281358e684
go_version: go1.24.2
version: v0.47.2
api_directory_checksum: f450e33f8433d18a9b5ac9dbecc6d2652d4f8513
go_version: go1.24.1
version: v0.46.2-8-gabd45b4
api_directory_checksum: ed9ce58c5e4f740c731e2a176ba4caaae66412fd
api_version: v1alpha1
aws_sdk_go_version: v1.32.6
generator_config_info:
file_checksum: cf02b1eaffba7c5446d3fbfed24ba7496ae1cf4e
file_checksum: 84185fa62e82f46186de49d9ce2efb55e788cd28
original_file_name: generator.yaml
last_modification:
reason: API generation
1 change: 1 addition & 0 deletions apis/v1alpha1/alias.go

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

1 change: 1 addition & 0 deletions apis/v1alpha1/generator.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -147,6 +147,7 @@ resources:
fields:
Name:
is_required: true
is_immutable: true
is_primary_key: true
FunctionName:
is_required: true
Expand Down
3 changes: 3 additions & 0 deletions config/crd/bases/lambda.services.k8s.aws_aliases.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -140,6 +140,9 @@ spec:

Regex Pattern: `^(?!^[0-9]+$)([a-zA-Z0-9-_]+)$`
type: string
x-kubernetes-validations:
- message: Value is immutable once set
rule: self == oldSelf
permissions:
description: Permissions configures a set of Lambda permissions to
grant to an alias.
Expand Down
1 change: 1 addition & 0 deletions generator.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -147,6 +147,7 @@ resources:
fields:
Name:
is_required: true
is_immutable: true
is_primary_key: true
FunctionName:
is_required: true
Expand Down
3 changes: 3 additions & 0 deletions helm/crds/lambda.services.k8s.aws_aliases.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -140,6 +140,9 @@ spec:

Regex Pattern: `^(?!^[0-9]+$)([a-zA-Z0-9-_]+)$`
type: string
x-kubernetes-validations:
- message: Value is immutable once set
rule: self == oldSelf
permissions:
description: Permissions configures a set of Lambda permissions to
grant to an alias.
Expand Down