diff --git a/.devcontainer/Dockerfile b/.devcontainer/Dockerfile index c6890ed83f..078c4df8ec 100644 --- a/.devcontainer/Dockerfile +++ b/.devcontainer/Dockerfile @@ -23,23 +23,26 @@ RUN curl -fsSL https://deb.nodesource.com/setup_18.x -o /tmp/nodesource-setup.sh COPY install-dependencies.sh . RUN ./install-dependencies.sh devcontainer && rm install-dependencies.sh -# Add kubebuilder to PATH -ENV PATH=$PATH:/usr/local/kubebuilder/bin - -# Add further bash customizations -# note that the base image includes oh-my-bash, we are enabling plugins here -# TODO: restore oh-my-bash? it was removed in base image. -# RUN sed -i '/^plugins=/a kubectl\ngolang' "/home/vscode/.bashrc" -# RUN sed -i '/^completions=/a kubectl\ngo\ntask' "/home/vscode/.bashrc" +# Setup envtest +# NB: if you change this, dev.sh also likely needs updating, also need to update the env below +RUN setup-envtest use 1.23.5 --bin-dir /usr/local/envtest/bin +# Set the KUBEBUILDER_ASSETS variable. Ideally we could do source <(setup-envtest use --bin-dir /usr/local/envtest/bin -i -p env) +# but there's no way to dynamically set an env variable for all container users. +# Many usages of this container are from docker exec task , where no shell is invoked and the entrypoint is not run +# (entrypoint is only run on start, not on exec). Due to that, the following approaches do not work: +# - ~/.bashrc - only works for one user in a shell but we must support -u $(id -u ${USER}):$(id -g ${USER}) which means the container could run as more than 1 user +# - /etc/profile or /etc/profile.d - only works for one user in a login shell +ENV KUBEBUILDER_ASSETS=/usr/local/envtest/bin/k8s/1.23.5-linux-amd64 +ENV PATH=$KUBEBUILDER_ASSETS:$PATH # Make kubectl completions work with 'k' alias -RUN echo 'alias k=kubectl' >> "/home/vscode/.bashrc" -RUN echo 'complete -F __start_kubectl k' >> "/home/vscode/.bashrc" -RUN echo 'source <(kubectl completion bash)' >> "/home/vscode/.bashrc" +RUN echo 'alias k=kubectl' >> "/etc/bash.bashrc" +RUN echo 'complete -F __start_kubectl k' >> "/etc/bash.bashrc" +RUN echo 'source <(kubectl completion bash)' >> "/etc/bash.bashrc" # Setup go-task completions -RUN curl -sL "https://raw.githubusercontent.com/go-task/task/v3.0.0/completion/bash/task.bash" > "/home/vscode/.task.completion.sh" \ - && echo 'source /home/vscode/.task.completion.sh' >> /home/vscode/.bashrc +RUN curl -sL "https://raw.githubusercontent.com/go-task/task/v3.0.0/completion/bash/task.bash" > "/etc/.task.completion.sh" \ + && echo 'source /etc/.task.completion.sh' >> "/etc/bash.bashrc" ENV KIND_CLUSTER_NAME=aso @@ -47,7 +50,7 @@ ENV KIND_CLUSTER_NAME=aso COPY library-scripts/docker-debian.sh /tmp/library-scripts/ # these are all the default values except for the last one (USE_MOBY) which is what we want to set. -# currently packages.microsoft.com does not have Moby packages for Debian Bullseye, which the +# currently packages.microsoft.com does not have Moby packages for Debian Bullseye, which the # devcontainer image is based on: https://github.com/microsoft/vscode-dev-containers/issues/1008 RUN bash /tmp/library-scripts/docker-debian.sh true /var/run/docker-host.sock /var/run/docker.sock automatic false diff --git a/.devcontainer/install-dependencies.sh b/.devcontainer/install-dependencies.sh index 52c359bd3f..406a4889cc 100755 --- a/.devcontainer/install-dependencies.sh +++ b/.devcontainer/install-dependencies.sh @@ -156,6 +156,9 @@ go-install htmltest github.com/wjdp/htmltest@v0.15.0 # TODO: Replace this with the new release tag. go-install gen-crd-api-reference-docs github.com/ahmetb/gen-crd-api-reference-docs@v0.3.1-0.20220223025230-af7c5e0048a3 +# Install envtest tooling - ideally version here should match that used in v2/go.mod, but only @latest works +go-install setup-envtest sigs.k8s.io/controller-runtime/tools/setup-envtest@latest + # Install golangci-lint if [ "$DEVCONTAINER" != true ]; then write-verbose "Checking for $TOOL_DEST/golangci-lint" @@ -174,22 +177,9 @@ if should-install "$TOOL_DEST/task"; then curl -sL "https://github.com/go-task/task/releases/download/v3.12.1/task_linux_amd64.tar.gz" | tar xz -C "$TOOL_DEST" task fi -# Install binaries for envtest -os=$(go env GOOS) -arch=$(go env GOARCH) -K8S_VERSION=1.23.3 -write-verbose "Checking for envtest binaries in $KUBEBUILDER_DEST/bin/kubebuilder" -if should-install "$KUBEBUILDER_DEST/bin/kubebuilder"; then - write-info "Installing envtest binaries (kubectl, etcd, kube-apiserver) for ${K8S_VERSION} ($os $arch)…" - curl -sSLo envtest-bins.tar.gz "https://go.kubebuilder.io/test-tools/${K8S_VERSION}/${os}/${arch}" - mkdir -p "$KUBEBUILDER_DEST" - tar -C "$KUBEBUILDER_DEST" --strip-components=1 -zvxf envtest-bins.tar.gz - rm envtest-bins.tar.gz -fi - # Install helm write-verbose "Checking for $TOOL_DEST/helm" -if should-install "$TOOL_DEST/helm"; then +if should-install "$TOOL_DEST/helm"; then write-info "Installing helm…" curl -sL "https://get.helm.sh/helm-v3.8.0-linux-amd64.tar.gz" | tar -C "$TOOL_DEST" --strip-components=1 -xz linux-amd64/helm fi @@ -205,6 +195,8 @@ if should-install "$TOOL_DEST/yq"; then fi # Install cmctl, used to wait for cert manager installation during some tests cases +os=$(go env GOOS) +arch=$(go env GOARCH) write-verbose "Checking for $TOOL_DEST/cmctl" if should-install "$TOOL_DEST/cmctl"; then write-info "Installing cmctl-${os}_${arch}…" @@ -217,7 +209,6 @@ fi if [ "$DEVCONTAINER" == true ]; then write-info "Setting up k8s webhook certificates" - mkdir -p /tmp/k8s-webhook-server/serving-certs openssl genrsa 2048 > tls.key openssl req -new -x509 -nodes -sha256 -days 3650 -key tls.key -subj '/' -out tls.crt diff --git a/dev.sh b/dev.sh index fb35e28b8e..5c82b538b7 100755 --- a/dev.sh +++ b/dev.sh @@ -8,11 +8,10 @@ TOOL_DEST=$GIT_ROOT/hack/tools # This will be fast if everything is already installed $GIT_ROOT/.devcontainer/install-dependencies.sh --skip-installed -# Put our tools onto the path -export PATH="$TOOL_DEST:$TOOL_DEST/kubebuilder/bin:$PATH" - -# For local dev, make sure we use the local version over a global install -export KUBEBUILDER_ASSETS=$TOOL_DEST/kubebuilder/bin +# Setup envtest binaries +# NB: if you change this, .devcontainer/Dockerfile also likely needs updating +source <(setup-envtest use -i -p env 1.23.5) # this sets KUBEBUILDER_ASSETS +export PATH="$KUBEBUILDER_ASSETS:$TOOL_DEST:$PATH" echo "Entering $SHELL with expanded PATH (use 'exit' to quit)." echo "Try running 'task -l' to see possible commands." diff --git a/scripts/check-changes.sh b/scripts/check-changes.sh index 3db81aa281..fc3bee8107 100755 --- a/scripts/check-changes.sh +++ b/scripts/check-changes.sh @@ -1,7 +1,7 @@ #!/bin/bash set -e -IGNORE_FILTERS=("docs/" "README.md" "hack/" "v2/" "Taskfile.yml" "scripts/check-changes.sh" "scripts/gen-api-docs.sh" "scripts/generate-helm-manifest.sh" ".github/" ".devcontainer/" "workspace.code-workspace" ".golangci.yml" "scripts/wait-for-ca-bundles.sh" "scripts/wrap-resource-urls.py") +IGNORE_FILTERS=("docs/" "README.md" "hack/" "v2/" "Taskfile.yml" "scripts/check-changes.sh" "scripts/gen-api-docs.sh" "scripts/generate-helm-manifest.sh" ".github/" ".devcontainer/" "workspace.code-workspace" ".golangci.yml" "scripts/wait-for-ca-bundles.sh" "scripts/wrap-resource-urls.py" "dev.sh") CHANGED_FILES=$(git diff HEAD HEAD~ --name-only) IGNORED_COUNT=0 NON_IGNORED_COUNT=0 diff --git a/v2/api/authorization/v1alpha1api20200801preview/role_assignment_types_gen.go b/v2/api/authorization/v1alpha1api20200801preview/role_assignment_types_gen.go index 990048313a..2a0375cf5c 100644 --- a/v2/api/authorization/v1alpha1api20200801preview/role_assignment_types_gen.go +++ b/v2/api/authorization/v1alpha1api20200801preview/role_assignment_types_gen.go @@ -80,7 +80,7 @@ func (assignment *RoleAssignment) ConvertTo(hub conversion.Hub) error { return nil } -// +kubebuilder:webhook:path=/mutate-authorization-azure-com-v1alpha1api20200801preview-roleassignment,mutating=true,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=authorization.azure.com,resources=roleassignments,verbs=create;update,versions=v1alpha1api20200801preview,name=default.v1alpha1api20200801preview.roleassignments.authorization.azure.com,admissionReviewVersions=v1beta1 +// +kubebuilder:webhook:path=/mutate-authorization-azure-com-v1alpha1api20200801preview-roleassignment,mutating=true,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=authorization.azure.com,resources=roleassignments,verbs=create;update,versions=v1alpha1api20200801preview,name=default.v1alpha1api20200801preview.roleassignments.authorization.azure.com,admissionReviewVersions=v1 var _ admission.Defaulter = &RoleAssignment{} @@ -168,7 +168,7 @@ func (assignment *RoleAssignment) SetStatus(status genruntime.ConvertibleStatus) return nil } -// +kubebuilder:webhook:path=/validate-authorization-azure-com-v1alpha1api20200801preview-roleassignment,mutating=false,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=authorization.azure.com,resources=roleassignments,verbs=create;update,versions=v1alpha1api20200801preview,name=validate.v1alpha1api20200801preview.roleassignments.authorization.azure.com,admissionReviewVersions=v1beta1 +// +kubebuilder:webhook:path=/validate-authorization-azure-com-v1alpha1api20200801preview-roleassignment,mutating=false,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=authorization.azure.com,resources=roleassignments,verbs=create;update,versions=v1alpha1api20200801preview,name=validate.v1alpha1api20200801preview.roleassignments.authorization.azure.com,admissionReviewVersions=v1 var _ admission.Validator = &RoleAssignment{} diff --git a/v2/api/authorization/v1beta20200801preview/role_assignment_types_gen.go b/v2/api/authorization/v1beta20200801preview/role_assignment_types_gen.go index b92632c33e..5f272cd0d8 100644 --- a/v2/api/authorization/v1beta20200801preview/role_assignment_types_gen.go +++ b/v2/api/authorization/v1beta20200801preview/role_assignment_types_gen.go @@ -66,7 +66,7 @@ func (assignment *RoleAssignment) ConvertTo(hub conversion.Hub) error { return assignment.AssignPropertiesToRoleAssignment(destination) } -// +kubebuilder:webhook:path=/mutate-authorization-azure-com-v1beta20200801preview-roleassignment,mutating=true,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=authorization.azure.com,resources=roleassignments,verbs=create;update,versions=v1beta20200801preview,name=default.v1beta20200801preview.roleassignments.authorization.azure.com,admissionReviewVersions=v1beta1 +// +kubebuilder:webhook:path=/mutate-authorization-azure-com-v1beta20200801preview-roleassignment,mutating=true,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=authorization.azure.com,resources=roleassignments,verbs=create;update,versions=v1beta20200801preview,name=default.v1beta20200801preview.roleassignments.authorization.azure.com,admissionReviewVersions=v1 var _ admission.Defaulter = &RoleAssignment{} @@ -154,7 +154,7 @@ func (assignment *RoleAssignment) SetStatus(status genruntime.ConvertibleStatus) return nil } -// +kubebuilder:webhook:path=/validate-authorization-azure-com-v1beta20200801preview-roleassignment,mutating=false,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=authorization.azure.com,resources=roleassignments,verbs=create;update,versions=v1beta20200801preview,name=validate.v1beta20200801preview.roleassignments.authorization.azure.com,admissionReviewVersions=v1beta1 +// +kubebuilder:webhook:path=/validate-authorization-azure-com-v1beta20200801preview-roleassignment,mutating=false,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=authorization.azure.com,resources=roleassignments,verbs=create;update,versions=v1beta20200801preview,name=validate.v1beta20200801preview.roleassignments.authorization.azure.com,admissionReviewVersions=v1 var _ admission.Validator = &RoleAssignment{} diff --git a/v2/api/batch/v1alpha1api20210101/batch_account_types_gen.go b/v2/api/batch/v1alpha1api20210101/batch_account_types_gen.go index 4d42da89b8..5e571e810b 100644 --- a/v2/api/batch/v1alpha1api20210101/batch_account_types_gen.go +++ b/v2/api/batch/v1alpha1api20210101/batch_account_types_gen.go @@ -80,7 +80,7 @@ func (account *BatchAccount) ConvertTo(hub conversion.Hub) error { return nil } -// +kubebuilder:webhook:path=/mutate-batch-azure-com-v1alpha1api20210101-batchaccount,mutating=true,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=batch.azure.com,resources=batchaccounts,verbs=create;update,versions=v1alpha1api20210101,name=default.v1alpha1api20210101.batchaccounts.batch.azure.com,admissionReviewVersions=v1beta1 +// +kubebuilder:webhook:path=/mutate-batch-azure-com-v1alpha1api20210101-batchaccount,mutating=true,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=batch.azure.com,resources=batchaccounts,verbs=create;update,versions=v1alpha1api20210101,name=default.v1alpha1api20210101.batchaccounts.batch.azure.com,admissionReviewVersions=v1 var _ admission.Defaulter = &BatchAccount{} @@ -169,7 +169,7 @@ func (account *BatchAccount) SetStatus(status genruntime.ConvertibleStatus) erro return nil } -// +kubebuilder:webhook:path=/validate-batch-azure-com-v1alpha1api20210101-batchaccount,mutating=false,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=batch.azure.com,resources=batchaccounts,verbs=create;update,versions=v1alpha1api20210101,name=validate.v1alpha1api20210101.batchaccounts.batch.azure.com,admissionReviewVersions=v1beta1 +// +kubebuilder:webhook:path=/validate-batch-azure-com-v1alpha1api20210101-batchaccount,mutating=false,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=batch.azure.com,resources=batchaccounts,verbs=create;update,versions=v1alpha1api20210101,name=validate.v1alpha1api20210101.batchaccounts.batch.azure.com,admissionReviewVersions=v1 var _ admission.Validator = &BatchAccount{} diff --git a/v2/api/batch/v1beta20210101/batch_account_types_gen.go b/v2/api/batch/v1beta20210101/batch_account_types_gen.go index 0af1bd0ef0..23373abb50 100644 --- a/v2/api/batch/v1beta20210101/batch_account_types_gen.go +++ b/v2/api/batch/v1beta20210101/batch_account_types_gen.go @@ -66,7 +66,7 @@ func (account *BatchAccount) ConvertTo(hub conversion.Hub) error { return account.AssignPropertiesToBatchAccount(destination) } -// +kubebuilder:webhook:path=/mutate-batch-azure-com-v1beta20210101-batchaccount,mutating=true,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=batch.azure.com,resources=batchaccounts,verbs=create;update,versions=v1beta20210101,name=default.v1beta20210101.batchaccounts.batch.azure.com,admissionReviewVersions=v1beta1 +// +kubebuilder:webhook:path=/mutate-batch-azure-com-v1beta20210101-batchaccount,mutating=true,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=batch.azure.com,resources=batchaccounts,verbs=create;update,versions=v1beta20210101,name=default.v1beta20210101.batchaccounts.batch.azure.com,admissionReviewVersions=v1 var _ admission.Defaulter = &BatchAccount{} @@ -155,7 +155,7 @@ func (account *BatchAccount) SetStatus(status genruntime.ConvertibleStatus) erro return nil } -// +kubebuilder:webhook:path=/validate-batch-azure-com-v1beta20210101-batchaccount,mutating=false,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=batch.azure.com,resources=batchaccounts,verbs=create;update,versions=v1beta20210101,name=validate.v1beta20210101.batchaccounts.batch.azure.com,admissionReviewVersions=v1beta1 +// +kubebuilder:webhook:path=/validate-batch-azure-com-v1beta20210101-batchaccount,mutating=false,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=batch.azure.com,resources=batchaccounts,verbs=create;update,versions=v1beta20210101,name=validate.v1beta20210101.batchaccounts.batch.azure.com,admissionReviewVersions=v1 var _ admission.Validator = &BatchAccount{} diff --git a/v2/api/cache/v1alpha1api20201201/redis_firewall_rule_types_gen.go b/v2/api/cache/v1alpha1api20201201/redis_firewall_rule_types_gen.go index 4fc9a688c3..d07d22684e 100644 --- a/v2/api/cache/v1alpha1api20201201/redis_firewall_rule_types_gen.go +++ b/v2/api/cache/v1alpha1api20201201/redis_firewall_rule_types_gen.go @@ -80,7 +80,7 @@ func (rule *RedisFirewallRule) ConvertTo(hub conversion.Hub) error { return nil } -// +kubebuilder:webhook:path=/mutate-cache-azure-com-v1alpha1api20201201-redisfirewallrule,mutating=true,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=cache.azure.com,resources=redisfirewallrules,verbs=create;update,versions=v1alpha1api20201201,name=default.v1alpha1api20201201.redisfirewallrules.cache.azure.com,admissionReviewVersions=v1beta1 +// +kubebuilder:webhook:path=/mutate-cache-azure-com-v1alpha1api20201201-redisfirewallrule,mutating=true,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=cache.azure.com,resources=redisfirewallrules,verbs=create;update,versions=v1alpha1api20201201,name=default.v1alpha1api20201201.redisfirewallrules.cache.azure.com,admissionReviewVersions=v1 var _ admission.Defaulter = &RedisFirewallRule{} @@ -169,7 +169,7 @@ func (rule *RedisFirewallRule) SetStatus(status genruntime.ConvertibleStatus) er return nil } -// +kubebuilder:webhook:path=/validate-cache-azure-com-v1alpha1api20201201-redisfirewallrule,mutating=false,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=cache.azure.com,resources=redisfirewallrules,verbs=create;update,versions=v1alpha1api20201201,name=validate.v1alpha1api20201201.redisfirewallrules.cache.azure.com,admissionReviewVersions=v1beta1 +// +kubebuilder:webhook:path=/validate-cache-azure-com-v1alpha1api20201201-redisfirewallrule,mutating=false,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=cache.azure.com,resources=redisfirewallrules,verbs=create;update,versions=v1alpha1api20201201,name=validate.v1alpha1api20201201.redisfirewallrules.cache.azure.com,admissionReviewVersions=v1 var _ admission.Validator = &RedisFirewallRule{} diff --git a/v2/api/cache/v1alpha1api20201201/redis_linked_server_types_gen.go b/v2/api/cache/v1alpha1api20201201/redis_linked_server_types_gen.go index 8bf6f147ed..786d19b456 100644 --- a/v2/api/cache/v1alpha1api20201201/redis_linked_server_types_gen.go +++ b/v2/api/cache/v1alpha1api20201201/redis_linked_server_types_gen.go @@ -80,7 +80,7 @@ func (server *RedisLinkedServer) ConvertTo(hub conversion.Hub) error { return nil } -// +kubebuilder:webhook:path=/mutate-cache-azure-com-v1alpha1api20201201-redislinkedserver,mutating=true,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=cache.azure.com,resources=redislinkedservers,verbs=create;update,versions=v1alpha1api20201201,name=default.v1alpha1api20201201.redislinkedservers.cache.azure.com,admissionReviewVersions=v1beta1 +// +kubebuilder:webhook:path=/mutate-cache-azure-com-v1alpha1api20201201-redislinkedserver,mutating=true,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=cache.azure.com,resources=redislinkedservers,verbs=create;update,versions=v1alpha1api20201201,name=default.v1alpha1api20201201.redislinkedservers.cache.azure.com,admissionReviewVersions=v1 var _ admission.Defaulter = &RedisLinkedServer{} @@ -169,7 +169,7 @@ func (server *RedisLinkedServer) SetStatus(status genruntime.ConvertibleStatus) return nil } -// +kubebuilder:webhook:path=/validate-cache-azure-com-v1alpha1api20201201-redislinkedserver,mutating=false,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=cache.azure.com,resources=redislinkedservers,verbs=create;update,versions=v1alpha1api20201201,name=validate.v1alpha1api20201201.redislinkedservers.cache.azure.com,admissionReviewVersions=v1beta1 +// +kubebuilder:webhook:path=/validate-cache-azure-com-v1alpha1api20201201-redislinkedserver,mutating=false,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=cache.azure.com,resources=redislinkedservers,verbs=create;update,versions=v1alpha1api20201201,name=validate.v1alpha1api20201201.redislinkedservers.cache.azure.com,admissionReviewVersions=v1 var _ admission.Validator = &RedisLinkedServer{} diff --git a/v2/api/cache/v1alpha1api20201201/redis_patch_schedule_types_gen.go b/v2/api/cache/v1alpha1api20201201/redis_patch_schedule_types_gen.go index ae901e7522..eec45e6ea3 100644 --- a/v2/api/cache/v1alpha1api20201201/redis_patch_schedule_types_gen.go +++ b/v2/api/cache/v1alpha1api20201201/redis_patch_schedule_types_gen.go @@ -80,7 +80,7 @@ func (schedule *RedisPatchSchedule) ConvertTo(hub conversion.Hub) error { return nil } -// +kubebuilder:webhook:path=/mutate-cache-azure-com-v1alpha1api20201201-redispatchschedule,mutating=true,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=cache.azure.com,resources=redispatchschedules,verbs=create;update,versions=v1alpha1api20201201,name=default.v1alpha1api20201201.redispatchschedules.cache.azure.com,admissionReviewVersions=v1beta1 +// +kubebuilder:webhook:path=/mutate-cache-azure-com-v1alpha1api20201201-redispatchschedule,mutating=true,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=cache.azure.com,resources=redispatchschedules,verbs=create;update,versions=v1alpha1api20201201,name=default.v1alpha1api20201201.redispatchschedules.cache.azure.com,admissionReviewVersions=v1 var _ admission.Defaulter = &RedisPatchSchedule{} @@ -162,7 +162,7 @@ func (schedule *RedisPatchSchedule) SetStatus(status genruntime.ConvertibleStatu return nil } -// +kubebuilder:webhook:path=/validate-cache-azure-com-v1alpha1api20201201-redispatchschedule,mutating=false,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=cache.azure.com,resources=redispatchschedules,verbs=create;update,versions=v1alpha1api20201201,name=validate.v1alpha1api20201201.redispatchschedules.cache.azure.com,admissionReviewVersions=v1beta1 +// +kubebuilder:webhook:path=/validate-cache-azure-com-v1alpha1api20201201-redispatchschedule,mutating=false,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=cache.azure.com,resources=redispatchschedules,verbs=create;update,versions=v1alpha1api20201201,name=validate.v1alpha1api20201201.redispatchschedules.cache.azure.com,admissionReviewVersions=v1 var _ admission.Validator = &RedisPatchSchedule{} diff --git a/v2/api/cache/v1alpha1api20201201/redis_types_gen.go b/v2/api/cache/v1alpha1api20201201/redis_types_gen.go index 72cb1346db..d0707d33c0 100644 --- a/v2/api/cache/v1alpha1api20201201/redis_types_gen.go +++ b/v2/api/cache/v1alpha1api20201201/redis_types_gen.go @@ -80,7 +80,7 @@ func (redis *Redis) ConvertTo(hub conversion.Hub) error { return nil } -// +kubebuilder:webhook:path=/mutate-cache-azure-com-v1alpha1api20201201-redis,mutating=true,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=cache.azure.com,resources=redis,verbs=create;update,versions=v1alpha1api20201201,name=default.v1alpha1api20201201.redis.cache.azure.com,admissionReviewVersions=v1beta1 +// +kubebuilder:webhook:path=/mutate-cache-azure-com-v1alpha1api20201201-redis,mutating=true,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=cache.azure.com,resources=redis,verbs=create;update,versions=v1alpha1api20201201,name=default.v1alpha1api20201201.redis.cache.azure.com,admissionReviewVersions=v1 var _ admission.Defaulter = &Redis{} @@ -169,7 +169,7 @@ func (redis *Redis) SetStatus(status genruntime.ConvertibleStatus) error { return nil } -// +kubebuilder:webhook:path=/validate-cache-azure-com-v1alpha1api20201201-redis,mutating=false,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=cache.azure.com,resources=redis,verbs=create;update,versions=v1alpha1api20201201,name=validate.v1alpha1api20201201.redis.cache.azure.com,admissionReviewVersions=v1beta1 +// +kubebuilder:webhook:path=/validate-cache-azure-com-v1alpha1api20201201-redis,mutating=false,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=cache.azure.com,resources=redis,verbs=create;update,versions=v1alpha1api20201201,name=validate.v1alpha1api20201201.redis.cache.azure.com,admissionReviewVersions=v1 var _ admission.Validator = &Redis{} diff --git a/v2/api/cache/v1alpha1api20210301/redis_enterprise_database_types_gen.go b/v2/api/cache/v1alpha1api20210301/redis_enterprise_database_types_gen.go index be77519aa7..aae807f39b 100644 --- a/v2/api/cache/v1alpha1api20210301/redis_enterprise_database_types_gen.go +++ b/v2/api/cache/v1alpha1api20210301/redis_enterprise_database_types_gen.go @@ -80,7 +80,7 @@ func (database *RedisEnterpriseDatabase) ConvertTo(hub conversion.Hub) error { return nil } -// +kubebuilder:webhook:path=/mutate-cache-azure-com-v1alpha1api20210301-redisenterprisedatabase,mutating=true,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=cache.azure.com,resources=redisenterprisedatabases,verbs=create;update,versions=v1alpha1api20210301,name=default.v1alpha1api20210301.redisenterprisedatabases.cache.azure.com,admissionReviewVersions=v1beta1 +// +kubebuilder:webhook:path=/mutate-cache-azure-com-v1alpha1api20210301-redisenterprisedatabase,mutating=true,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=cache.azure.com,resources=redisenterprisedatabases,verbs=create;update,versions=v1alpha1api20210301,name=default.v1alpha1api20210301.redisenterprisedatabases.cache.azure.com,admissionReviewVersions=v1 var _ admission.Defaulter = &RedisEnterpriseDatabase{} @@ -169,7 +169,7 @@ func (database *RedisEnterpriseDatabase) SetStatus(status genruntime.Convertible return nil } -// +kubebuilder:webhook:path=/validate-cache-azure-com-v1alpha1api20210301-redisenterprisedatabase,mutating=false,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=cache.azure.com,resources=redisenterprisedatabases,verbs=create;update,versions=v1alpha1api20210301,name=validate.v1alpha1api20210301.redisenterprisedatabases.cache.azure.com,admissionReviewVersions=v1beta1 +// +kubebuilder:webhook:path=/validate-cache-azure-com-v1alpha1api20210301-redisenterprisedatabase,mutating=false,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=cache.azure.com,resources=redisenterprisedatabases,verbs=create;update,versions=v1alpha1api20210301,name=validate.v1alpha1api20210301.redisenterprisedatabases.cache.azure.com,admissionReviewVersions=v1 var _ admission.Validator = &RedisEnterpriseDatabase{} diff --git a/v2/api/cache/v1alpha1api20210301/redis_enterprise_types_gen.go b/v2/api/cache/v1alpha1api20210301/redis_enterprise_types_gen.go index 2c93a3c2e7..54c94be5c2 100644 --- a/v2/api/cache/v1alpha1api20210301/redis_enterprise_types_gen.go +++ b/v2/api/cache/v1alpha1api20210301/redis_enterprise_types_gen.go @@ -80,7 +80,7 @@ func (enterprise *RedisEnterprise) ConvertTo(hub conversion.Hub) error { return nil } -// +kubebuilder:webhook:path=/mutate-cache-azure-com-v1alpha1api20210301-redisenterprise,mutating=true,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=cache.azure.com,resources=redisenterprises,verbs=create;update,versions=v1alpha1api20210301,name=default.v1alpha1api20210301.redisenterprises.cache.azure.com,admissionReviewVersions=v1beta1 +// +kubebuilder:webhook:path=/mutate-cache-azure-com-v1alpha1api20210301-redisenterprise,mutating=true,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=cache.azure.com,resources=redisenterprises,verbs=create;update,versions=v1alpha1api20210301,name=default.v1alpha1api20210301.redisenterprises.cache.azure.com,admissionReviewVersions=v1 var _ admission.Defaulter = &RedisEnterprise{} @@ -169,7 +169,7 @@ func (enterprise *RedisEnterprise) SetStatus(status genruntime.ConvertibleStatus return nil } -// +kubebuilder:webhook:path=/validate-cache-azure-com-v1alpha1api20210301-redisenterprise,mutating=false,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=cache.azure.com,resources=redisenterprises,verbs=create;update,versions=v1alpha1api20210301,name=validate.v1alpha1api20210301.redisenterprises.cache.azure.com,admissionReviewVersions=v1beta1 +// +kubebuilder:webhook:path=/validate-cache-azure-com-v1alpha1api20210301-redisenterprise,mutating=false,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=cache.azure.com,resources=redisenterprises,verbs=create;update,versions=v1alpha1api20210301,name=validate.v1alpha1api20210301.redisenterprises.cache.azure.com,admissionReviewVersions=v1 var _ admission.Validator = &RedisEnterprise{} diff --git a/v2/api/cache/v1beta20201201/redis_firewall_rule_types_gen.go b/v2/api/cache/v1beta20201201/redis_firewall_rule_types_gen.go index a069ad32ad..cf7931904d 100644 --- a/v2/api/cache/v1beta20201201/redis_firewall_rule_types_gen.go +++ b/v2/api/cache/v1beta20201201/redis_firewall_rule_types_gen.go @@ -66,7 +66,7 @@ func (rule *RedisFirewallRule) ConvertTo(hub conversion.Hub) error { return rule.AssignPropertiesToRedisFirewallRule(destination) } -// +kubebuilder:webhook:path=/mutate-cache-azure-com-v1beta20201201-redisfirewallrule,mutating=true,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=cache.azure.com,resources=redisfirewallrules,verbs=create;update,versions=v1beta20201201,name=default.v1beta20201201.redisfirewallrules.cache.azure.com,admissionReviewVersions=v1beta1 +// +kubebuilder:webhook:path=/mutate-cache-azure-com-v1beta20201201-redisfirewallrule,mutating=true,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=cache.azure.com,resources=redisfirewallrules,verbs=create;update,versions=v1beta20201201,name=default.v1beta20201201.redisfirewallrules.cache.azure.com,admissionReviewVersions=v1 var _ admission.Defaulter = &RedisFirewallRule{} @@ -155,7 +155,7 @@ func (rule *RedisFirewallRule) SetStatus(status genruntime.ConvertibleStatus) er return nil } -// +kubebuilder:webhook:path=/validate-cache-azure-com-v1beta20201201-redisfirewallrule,mutating=false,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=cache.azure.com,resources=redisfirewallrules,verbs=create;update,versions=v1beta20201201,name=validate.v1beta20201201.redisfirewallrules.cache.azure.com,admissionReviewVersions=v1beta1 +// +kubebuilder:webhook:path=/validate-cache-azure-com-v1beta20201201-redisfirewallrule,mutating=false,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=cache.azure.com,resources=redisfirewallrules,verbs=create;update,versions=v1beta20201201,name=validate.v1beta20201201.redisfirewallrules.cache.azure.com,admissionReviewVersions=v1 var _ admission.Validator = &RedisFirewallRule{} diff --git a/v2/api/cache/v1beta20201201/redis_linked_server_types_gen.go b/v2/api/cache/v1beta20201201/redis_linked_server_types_gen.go index f32dd1c9d1..992c63d463 100644 --- a/v2/api/cache/v1beta20201201/redis_linked_server_types_gen.go +++ b/v2/api/cache/v1beta20201201/redis_linked_server_types_gen.go @@ -66,7 +66,7 @@ func (server *RedisLinkedServer) ConvertTo(hub conversion.Hub) error { return server.AssignPropertiesToRedisLinkedServer(destination) } -// +kubebuilder:webhook:path=/mutate-cache-azure-com-v1beta20201201-redislinkedserver,mutating=true,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=cache.azure.com,resources=redislinkedservers,verbs=create;update,versions=v1beta20201201,name=default.v1beta20201201.redislinkedservers.cache.azure.com,admissionReviewVersions=v1beta1 +// +kubebuilder:webhook:path=/mutate-cache-azure-com-v1beta20201201-redislinkedserver,mutating=true,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=cache.azure.com,resources=redislinkedservers,verbs=create;update,versions=v1beta20201201,name=default.v1beta20201201.redislinkedservers.cache.azure.com,admissionReviewVersions=v1 var _ admission.Defaulter = &RedisLinkedServer{} @@ -155,7 +155,7 @@ func (server *RedisLinkedServer) SetStatus(status genruntime.ConvertibleStatus) return nil } -// +kubebuilder:webhook:path=/validate-cache-azure-com-v1beta20201201-redislinkedserver,mutating=false,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=cache.azure.com,resources=redislinkedservers,verbs=create;update,versions=v1beta20201201,name=validate.v1beta20201201.redislinkedservers.cache.azure.com,admissionReviewVersions=v1beta1 +// +kubebuilder:webhook:path=/validate-cache-azure-com-v1beta20201201-redislinkedserver,mutating=false,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=cache.azure.com,resources=redislinkedservers,verbs=create;update,versions=v1beta20201201,name=validate.v1beta20201201.redislinkedservers.cache.azure.com,admissionReviewVersions=v1 var _ admission.Validator = &RedisLinkedServer{} diff --git a/v2/api/cache/v1beta20201201/redis_patch_schedule_types_gen.go b/v2/api/cache/v1beta20201201/redis_patch_schedule_types_gen.go index 1d85c10069..b13bf1815e 100644 --- a/v2/api/cache/v1beta20201201/redis_patch_schedule_types_gen.go +++ b/v2/api/cache/v1beta20201201/redis_patch_schedule_types_gen.go @@ -66,7 +66,7 @@ func (schedule *RedisPatchSchedule) ConvertTo(hub conversion.Hub) error { return schedule.AssignPropertiesToRedisPatchSchedule(destination) } -// +kubebuilder:webhook:path=/mutate-cache-azure-com-v1beta20201201-redispatchschedule,mutating=true,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=cache.azure.com,resources=redispatchschedules,verbs=create;update,versions=v1beta20201201,name=default.v1beta20201201.redispatchschedules.cache.azure.com,admissionReviewVersions=v1beta1 +// +kubebuilder:webhook:path=/mutate-cache-azure-com-v1beta20201201-redispatchschedule,mutating=true,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=cache.azure.com,resources=redispatchschedules,verbs=create;update,versions=v1beta20201201,name=default.v1beta20201201.redispatchschedules.cache.azure.com,admissionReviewVersions=v1 var _ admission.Defaulter = &RedisPatchSchedule{} @@ -148,7 +148,7 @@ func (schedule *RedisPatchSchedule) SetStatus(status genruntime.ConvertibleStatu return nil } -// +kubebuilder:webhook:path=/validate-cache-azure-com-v1beta20201201-redispatchschedule,mutating=false,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=cache.azure.com,resources=redispatchschedules,verbs=create;update,versions=v1beta20201201,name=validate.v1beta20201201.redispatchschedules.cache.azure.com,admissionReviewVersions=v1beta1 +// +kubebuilder:webhook:path=/validate-cache-azure-com-v1beta20201201-redispatchschedule,mutating=false,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=cache.azure.com,resources=redispatchschedules,verbs=create;update,versions=v1beta20201201,name=validate.v1beta20201201.redispatchschedules.cache.azure.com,admissionReviewVersions=v1 var _ admission.Validator = &RedisPatchSchedule{} diff --git a/v2/api/cache/v1beta20201201/redis_types_gen.go b/v2/api/cache/v1beta20201201/redis_types_gen.go index 31b2c7f508..f1c59a47f3 100644 --- a/v2/api/cache/v1beta20201201/redis_types_gen.go +++ b/v2/api/cache/v1beta20201201/redis_types_gen.go @@ -66,7 +66,7 @@ func (redis *Redis) ConvertTo(hub conversion.Hub) error { return redis.AssignPropertiesToRedis(destination) } -// +kubebuilder:webhook:path=/mutate-cache-azure-com-v1beta20201201-redis,mutating=true,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=cache.azure.com,resources=redis,verbs=create;update,versions=v1beta20201201,name=default.v1beta20201201.redis.cache.azure.com,admissionReviewVersions=v1beta1 +// +kubebuilder:webhook:path=/mutate-cache-azure-com-v1beta20201201-redis,mutating=true,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=cache.azure.com,resources=redis,verbs=create;update,versions=v1beta20201201,name=default.v1beta20201201.redis.cache.azure.com,admissionReviewVersions=v1 var _ admission.Defaulter = &Redis{} @@ -155,7 +155,7 @@ func (redis *Redis) SetStatus(status genruntime.ConvertibleStatus) error { return nil } -// +kubebuilder:webhook:path=/validate-cache-azure-com-v1beta20201201-redis,mutating=false,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=cache.azure.com,resources=redis,verbs=create;update,versions=v1beta20201201,name=validate.v1beta20201201.redis.cache.azure.com,admissionReviewVersions=v1beta1 +// +kubebuilder:webhook:path=/validate-cache-azure-com-v1beta20201201-redis,mutating=false,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=cache.azure.com,resources=redis,verbs=create;update,versions=v1beta20201201,name=validate.v1beta20201201.redis.cache.azure.com,admissionReviewVersions=v1 var _ admission.Validator = &Redis{} diff --git a/v2/api/cache/v1beta20210301/redis_enterprise_database_types_gen.go b/v2/api/cache/v1beta20210301/redis_enterprise_database_types_gen.go index 34ea2a8ed6..10b6436dd0 100644 --- a/v2/api/cache/v1beta20210301/redis_enterprise_database_types_gen.go +++ b/v2/api/cache/v1beta20210301/redis_enterprise_database_types_gen.go @@ -66,7 +66,7 @@ func (database *RedisEnterpriseDatabase) ConvertTo(hub conversion.Hub) error { return database.AssignPropertiesToRedisEnterpriseDatabase(destination) } -// +kubebuilder:webhook:path=/mutate-cache-azure-com-v1beta20210301-redisenterprisedatabase,mutating=true,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=cache.azure.com,resources=redisenterprisedatabases,verbs=create;update,versions=v1beta20210301,name=default.v1beta20210301.redisenterprisedatabases.cache.azure.com,admissionReviewVersions=v1beta1 +// +kubebuilder:webhook:path=/mutate-cache-azure-com-v1beta20210301-redisenterprisedatabase,mutating=true,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=cache.azure.com,resources=redisenterprisedatabases,verbs=create;update,versions=v1beta20210301,name=default.v1beta20210301.redisenterprisedatabases.cache.azure.com,admissionReviewVersions=v1 var _ admission.Defaulter = &RedisEnterpriseDatabase{} @@ -155,7 +155,7 @@ func (database *RedisEnterpriseDatabase) SetStatus(status genruntime.Convertible return nil } -// +kubebuilder:webhook:path=/validate-cache-azure-com-v1beta20210301-redisenterprisedatabase,mutating=false,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=cache.azure.com,resources=redisenterprisedatabases,verbs=create;update,versions=v1beta20210301,name=validate.v1beta20210301.redisenterprisedatabases.cache.azure.com,admissionReviewVersions=v1beta1 +// +kubebuilder:webhook:path=/validate-cache-azure-com-v1beta20210301-redisenterprisedatabase,mutating=false,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=cache.azure.com,resources=redisenterprisedatabases,verbs=create;update,versions=v1beta20210301,name=validate.v1beta20210301.redisenterprisedatabases.cache.azure.com,admissionReviewVersions=v1 var _ admission.Validator = &RedisEnterpriseDatabase{} diff --git a/v2/api/cache/v1beta20210301/redis_enterprise_types_gen.go b/v2/api/cache/v1beta20210301/redis_enterprise_types_gen.go index 9c8c9fa2c0..68762b0e41 100644 --- a/v2/api/cache/v1beta20210301/redis_enterprise_types_gen.go +++ b/v2/api/cache/v1beta20210301/redis_enterprise_types_gen.go @@ -66,7 +66,7 @@ func (enterprise *RedisEnterprise) ConvertTo(hub conversion.Hub) error { return enterprise.AssignPropertiesToRedisEnterprise(destination) } -// +kubebuilder:webhook:path=/mutate-cache-azure-com-v1beta20210301-redisenterprise,mutating=true,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=cache.azure.com,resources=redisenterprises,verbs=create;update,versions=v1beta20210301,name=default.v1beta20210301.redisenterprises.cache.azure.com,admissionReviewVersions=v1beta1 +// +kubebuilder:webhook:path=/mutate-cache-azure-com-v1beta20210301-redisenterprise,mutating=true,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=cache.azure.com,resources=redisenterprises,verbs=create;update,versions=v1beta20210301,name=default.v1beta20210301.redisenterprises.cache.azure.com,admissionReviewVersions=v1 var _ admission.Defaulter = &RedisEnterprise{} @@ -155,7 +155,7 @@ func (enterprise *RedisEnterprise) SetStatus(status genruntime.ConvertibleStatus return nil } -// +kubebuilder:webhook:path=/validate-cache-azure-com-v1beta20210301-redisenterprise,mutating=false,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=cache.azure.com,resources=redisenterprises,verbs=create;update,versions=v1beta20210301,name=validate.v1beta20210301.redisenterprises.cache.azure.com,admissionReviewVersions=v1beta1 +// +kubebuilder:webhook:path=/validate-cache-azure-com-v1beta20210301-redisenterprise,mutating=false,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=cache.azure.com,resources=redisenterprises,verbs=create;update,versions=v1beta20210301,name=validate.v1beta20210301.redisenterprises.cache.azure.com,admissionReviewVersions=v1 var _ admission.Validator = &RedisEnterprise{} diff --git a/v2/api/cdn/v1beta20210601/profile_types_gen.go b/v2/api/cdn/v1beta20210601/profile_types_gen.go index 3e3c9d2481..6d52f5c17b 100644 --- a/v2/api/cdn/v1beta20210601/profile_types_gen.go +++ b/v2/api/cdn/v1beta20210601/profile_types_gen.go @@ -67,7 +67,7 @@ func (profile *Profile) ConvertTo(hub conversion.Hub) error { return profile.AssignPropertiesToProfile(destination) } -// +kubebuilder:webhook:path=/mutate-cdn-azure-com-v1beta20210601-profile,mutating=true,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=cdn.azure.com,resources=profiles,verbs=create;update,versions=v1beta20210601,name=default.v1beta20210601.profiles.cdn.azure.com,admissionReviewVersions=v1beta1 +// +kubebuilder:webhook:path=/mutate-cdn-azure-com-v1beta20210601-profile,mutating=true,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=cdn.azure.com,resources=profiles,verbs=create;update,versions=v1beta20210601,name=default.v1beta20210601.profiles.cdn.azure.com,admissionReviewVersions=v1 var _ admission.Defaulter = &Profile{} @@ -156,7 +156,7 @@ func (profile *Profile) SetStatus(status genruntime.ConvertibleStatus) error { return nil } -// +kubebuilder:webhook:path=/validate-cdn-azure-com-v1beta20210601-profile,mutating=false,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=cdn.azure.com,resources=profiles,verbs=create;update,versions=v1beta20210601,name=validate.v1beta20210601.profiles.cdn.azure.com,admissionReviewVersions=v1beta1 +// +kubebuilder:webhook:path=/validate-cdn-azure-com-v1beta20210601-profile,mutating=false,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=cdn.azure.com,resources=profiles,verbs=create;update,versions=v1beta20210601,name=validate.v1beta20210601.profiles.cdn.azure.com,admissionReviewVersions=v1 var _ admission.Validator = &Profile{} diff --git a/v2/api/cdn/v1beta20210601/profiles_endpoint_types_gen.go b/v2/api/cdn/v1beta20210601/profiles_endpoint_types_gen.go index a4dbccbe7b..cc87063952 100644 --- a/v2/api/cdn/v1beta20210601/profiles_endpoint_types_gen.go +++ b/v2/api/cdn/v1beta20210601/profiles_endpoint_types_gen.go @@ -66,7 +66,7 @@ func (endpoint *ProfilesEndpoint) ConvertTo(hub conversion.Hub) error { return endpoint.AssignPropertiesToProfilesEndpoint(destination) } -// +kubebuilder:webhook:path=/mutate-cdn-azure-com-v1beta20210601-profilesendpoint,mutating=true,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=cdn.azure.com,resources=profilesendpoints,verbs=create;update,versions=v1beta20210601,name=default.v1beta20210601.profilesendpoints.cdn.azure.com,admissionReviewVersions=v1beta1 +// +kubebuilder:webhook:path=/mutate-cdn-azure-com-v1beta20210601-profilesendpoint,mutating=true,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=cdn.azure.com,resources=profilesendpoints,verbs=create;update,versions=v1beta20210601,name=default.v1beta20210601.profilesendpoints.cdn.azure.com,admissionReviewVersions=v1 var _ admission.Defaulter = &ProfilesEndpoint{} @@ -155,7 +155,7 @@ func (endpoint *ProfilesEndpoint) SetStatus(status genruntime.ConvertibleStatus) return nil } -// +kubebuilder:webhook:path=/validate-cdn-azure-com-v1beta20210601-profilesendpoint,mutating=false,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=cdn.azure.com,resources=profilesendpoints,verbs=create;update,versions=v1beta20210601,name=validate.v1beta20210601.profilesendpoints.cdn.azure.com,admissionReviewVersions=v1beta1 +// +kubebuilder:webhook:path=/validate-cdn-azure-com-v1beta20210601-profilesendpoint,mutating=false,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=cdn.azure.com,resources=profilesendpoints,verbs=create;update,versions=v1beta20210601,name=validate.v1beta20210601.profilesendpoints.cdn.azure.com,admissionReviewVersions=v1 var _ admission.Validator = &ProfilesEndpoint{} diff --git a/v2/api/compute/v1alpha1api20200930/disk_types_gen.go b/v2/api/compute/v1alpha1api20200930/disk_types_gen.go index 679ed8c05d..e3610f6e39 100644 --- a/v2/api/compute/v1alpha1api20200930/disk_types_gen.go +++ b/v2/api/compute/v1alpha1api20200930/disk_types_gen.go @@ -80,7 +80,7 @@ func (disk *Disk) ConvertTo(hub conversion.Hub) error { return nil } -// +kubebuilder:webhook:path=/mutate-compute-azure-com-v1alpha1api20200930-disk,mutating=true,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=compute.azure.com,resources=disks,verbs=create;update,versions=v1alpha1api20200930,name=default.v1alpha1api20200930.disks.compute.azure.com,admissionReviewVersions=v1beta1 +// +kubebuilder:webhook:path=/mutate-compute-azure-com-v1alpha1api20200930-disk,mutating=true,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=compute.azure.com,resources=disks,verbs=create;update,versions=v1alpha1api20200930,name=default.v1alpha1api20200930.disks.compute.azure.com,admissionReviewVersions=v1 var _ admission.Defaulter = &Disk{} @@ -169,7 +169,7 @@ func (disk *Disk) SetStatus(status genruntime.ConvertibleStatus) error { return nil } -// +kubebuilder:webhook:path=/validate-compute-azure-com-v1alpha1api20200930-disk,mutating=false,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=compute.azure.com,resources=disks,verbs=create;update,versions=v1alpha1api20200930,name=validate.v1alpha1api20200930.disks.compute.azure.com,admissionReviewVersions=v1beta1 +// +kubebuilder:webhook:path=/validate-compute-azure-com-v1alpha1api20200930-disk,mutating=false,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=compute.azure.com,resources=disks,verbs=create;update,versions=v1alpha1api20200930,name=validate.v1alpha1api20200930.disks.compute.azure.com,admissionReviewVersions=v1 var _ admission.Validator = &Disk{} diff --git a/v2/api/compute/v1alpha1api20200930/snapshot_types_gen.go b/v2/api/compute/v1alpha1api20200930/snapshot_types_gen.go index 82243a6490..fa000899f2 100644 --- a/v2/api/compute/v1alpha1api20200930/snapshot_types_gen.go +++ b/v2/api/compute/v1alpha1api20200930/snapshot_types_gen.go @@ -80,7 +80,7 @@ func (snapshot *Snapshot) ConvertTo(hub conversion.Hub) error { return nil } -// +kubebuilder:webhook:path=/mutate-compute-azure-com-v1alpha1api20200930-snapshot,mutating=true,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=compute.azure.com,resources=snapshots,verbs=create;update,versions=v1alpha1api20200930,name=default.v1alpha1api20200930.snapshots.compute.azure.com,admissionReviewVersions=v1beta1 +// +kubebuilder:webhook:path=/mutate-compute-azure-com-v1alpha1api20200930-snapshot,mutating=true,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=compute.azure.com,resources=snapshots,verbs=create;update,versions=v1alpha1api20200930,name=default.v1alpha1api20200930.snapshots.compute.azure.com,admissionReviewVersions=v1 var _ admission.Defaulter = &Snapshot{} @@ -169,7 +169,7 @@ func (snapshot *Snapshot) SetStatus(status genruntime.ConvertibleStatus) error { return nil } -// +kubebuilder:webhook:path=/validate-compute-azure-com-v1alpha1api20200930-snapshot,mutating=false,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=compute.azure.com,resources=snapshots,verbs=create;update,versions=v1alpha1api20200930,name=validate.v1alpha1api20200930.snapshots.compute.azure.com,admissionReviewVersions=v1beta1 +// +kubebuilder:webhook:path=/validate-compute-azure-com-v1alpha1api20200930-snapshot,mutating=false,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=compute.azure.com,resources=snapshots,verbs=create;update,versions=v1alpha1api20200930,name=validate.v1alpha1api20200930.snapshots.compute.azure.com,admissionReviewVersions=v1 var _ admission.Validator = &Snapshot{} diff --git a/v2/api/compute/v1alpha1api20201201/virtual_machine_scale_set_types_gen.go b/v2/api/compute/v1alpha1api20201201/virtual_machine_scale_set_types_gen.go index 876296b77a..0c5de7ea6e 100644 --- a/v2/api/compute/v1alpha1api20201201/virtual_machine_scale_set_types_gen.go +++ b/v2/api/compute/v1alpha1api20201201/virtual_machine_scale_set_types_gen.go @@ -81,7 +81,7 @@ func (scaleSet *VirtualMachineScaleSet) ConvertTo(hub conversion.Hub) error { return nil } -// +kubebuilder:webhook:path=/mutate-compute-azure-com-v1alpha1api20201201-virtualmachinescaleset,mutating=true,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=compute.azure.com,resources=virtualmachinescalesets,verbs=create;update,versions=v1alpha1api20201201,name=default.v1alpha1api20201201.virtualmachinescalesets.compute.azure.com,admissionReviewVersions=v1beta1 +// +kubebuilder:webhook:path=/mutate-compute-azure-com-v1alpha1api20201201-virtualmachinescaleset,mutating=true,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=compute.azure.com,resources=virtualmachinescalesets,verbs=create;update,versions=v1alpha1api20201201,name=default.v1alpha1api20201201.virtualmachinescalesets.compute.azure.com,admissionReviewVersions=v1 var _ admission.Defaulter = &VirtualMachineScaleSet{} @@ -170,7 +170,7 @@ func (scaleSet *VirtualMachineScaleSet) SetStatus(status genruntime.ConvertibleS return nil } -// +kubebuilder:webhook:path=/validate-compute-azure-com-v1alpha1api20201201-virtualmachinescaleset,mutating=false,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=compute.azure.com,resources=virtualmachinescalesets,verbs=create;update,versions=v1alpha1api20201201,name=validate.v1alpha1api20201201.virtualmachinescalesets.compute.azure.com,admissionReviewVersions=v1beta1 +// +kubebuilder:webhook:path=/validate-compute-azure-com-v1alpha1api20201201-virtualmachinescaleset,mutating=false,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=compute.azure.com,resources=virtualmachinescalesets,verbs=create;update,versions=v1alpha1api20201201,name=validate.v1alpha1api20201201.virtualmachinescalesets.compute.azure.com,admissionReviewVersions=v1 var _ admission.Validator = &VirtualMachineScaleSet{} diff --git a/v2/api/compute/v1alpha1api20201201/virtual_machine_types_gen.go b/v2/api/compute/v1alpha1api20201201/virtual_machine_types_gen.go index 6a4215cfbc..f73e8e1ba1 100644 --- a/v2/api/compute/v1alpha1api20201201/virtual_machine_types_gen.go +++ b/v2/api/compute/v1alpha1api20201201/virtual_machine_types_gen.go @@ -81,7 +81,7 @@ func (machine *VirtualMachine) ConvertTo(hub conversion.Hub) error { return nil } -// +kubebuilder:webhook:path=/mutate-compute-azure-com-v1alpha1api20201201-virtualmachine,mutating=true,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=compute.azure.com,resources=virtualmachines,verbs=create;update,versions=v1alpha1api20201201,name=default.v1alpha1api20201201.virtualmachines.compute.azure.com,admissionReviewVersions=v1beta1 +// +kubebuilder:webhook:path=/mutate-compute-azure-com-v1alpha1api20201201-virtualmachine,mutating=true,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=compute.azure.com,resources=virtualmachines,verbs=create;update,versions=v1alpha1api20201201,name=default.v1alpha1api20201201.virtualmachines.compute.azure.com,admissionReviewVersions=v1 var _ admission.Defaulter = &VirtualMachine{} @@ -170,7 +170,7 @@ func (machine *VirtualMachine) SetStatus(status genruntime.ConvertibleStatus) er return nil } -// +kubebuilder:webhook:path=/validate-compute-azure-com-v1alpha1api20201201-virtualmachine,mutating=false,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=compute.azure.com,resources=virtualmachines,verbs=create;update,versions=v1alpha1api20201201,name=validate.v1alpha1api20201201.virtualmachines.compute.azure.com,admissionReviewVersions=v1beta1 +// +kubebuilder:webhook:path=/validate-compute-azure-com-v1alpha1api20201201-virtualmachine,mutating=false,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=compute.azure.com,resources=virtualmachines,verbs=create;update,versions=v1alpha1api20201201,name=validate.v1alpha1api20201201.virtualmachines.compute.azure.com,admissionReviewVersions=v1 var _ admission.Validator = &VirtualMachine{} diff --git a/v2/api/compute/v1alpha1api20210701/image_types_gen.go b/v2/api/compute/v1alpha1api20210701/image_types_gen.go index 333365420d..c077f3d19b 100644 --- a/v2/api/compute/v1alpha1api20210701/image_types_gen.go +++ b/v2/api/compute/v1alpha1api20210701/image_types_gen.go @@ -80,7 +80,7 @@ func (image *Image) ConvertTo(hub conversion.Hub) error { return nil } -// +kubebuilder:webhook:path=/mutate-compute-azure-com-v1alpha1api20210701-image,mutating=true,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=compute.azure.com,resources=images,verbs=create;update,versions=v1alpha1api20210701,name=default.v1alpha1api20210701.images.compute.azure.com,admissionReviewVersions=v1beta1 +// +kubebuilder:webhook:path=/mutate-compute-azure-com-v1alpha1api20210701-image,mutating=true,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=compute.azure.com,resources=images,verbs=create;update,versions=v1alpha1api20210701,name=default.v1alpha1api20210701.images.compute.azure.com,admissionReviewVersions=v1 var _ admission.Defaulter = &Image{} @@ -169,7 +169,7 @@ func (image *Image) SetStatus(status genruntime.ConvertibleStatus) error { return nil } -// +kubebuilder:webhook:path=/validate-compute-azure-com-v1alpha1api20210701-image,mutating=false,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=compute.azure.com,resources=images,verbs=create;update,versions=v1alpha1api20210701,name=validate.v1alpha1api20210701.images.compute.azure.com,admissionReviewVersions=v1beta1 +// +kubebuilder:webhook:path=/validate-compute-azure-com-v1alpha1api20210701-image,mutating=false,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=compute.azure.com,resources=images,verbs=create;update,versions=v1alpha1api20210701,name=validate.v1alpha1api20210701.images.compute.azure.com,admissionReviewVersions=v1 var _ admission.Validator = &Image{} diff --git a/v2/api/compute/v1beta20200930/disk_types_gen.go b/v2/api/compute/v1beta20200930/disk_types_gen.go index d89ada26c8..68aab7e978 100644 --- a/v2/api/compute/v1beta20200930/disk_types_gen.go +++ b/v2/api/compute/v1beta20200930/disk_types_gen.go @@ -66,7 +66,7 @@ func (disk *Disk) ConvertTo(hub conversion.Hub) error { return disk.AssignPropertiesToDisk(destination) } -// +kubebuilder:webhook:path=/mutate-compute-azure-com-v1beta20200930-disk,mutating=true,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=compute.azure.com,resources=disks,verbs=create;update,versions=v1beta20200930,name=default.v1beta20200930.disks.compute.azure.com,admissionReviewVersions=v1beta1 +// +kubebuilder:webhook:path=/mutate-compute-azure-com-v1beta20200930-disk,mutating=true,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=compute.azure.com,resources=disks,verbs=create;update,versions=v1beta20200930,name=default.v1beta20200930.disks.compute.azure.com,admissionReviewVersions=v1 var _ admission.Defaulter = &Disk{} @@ -155,7 +155,7 @@ func (disk *Disk) SetStatus(status genruntime.ConvertibleStatus) error { return nil } -// +kubebuilder:webhook:path=/validate-compute-azure-com-v1beta20200930-disk,mutating=false,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=compute.azure.com,resources=disks,verbs=create;update,versions=v1beta20200930,name=validate.v1beta20200930.disks.compute.azure.com,admissionReviewVersions=v1beta1 +// +kubebuilder:webhook:path=/validate-compute-azure-com-v1beta20200930-disk,mutating=false,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=compute.azure.com,resources=disks,verbs=create;update,versions=v1beta20200930,name=validate.v1beta20200930.disks.compute.azure.com,admissionReviewVersions=v1 var _ admission.Validator = &Disk{} diff --git a/v2/api/compute/v1beta20200930/snapshot_types_gen.go b/v2/api/compute/v1beta20200930/snapshot_types_gen.go index ed5954c94f..d124c8d4e0 100644 --- a/v2/api/compute/v1beta20200930/snapshot_types_gen.go +++ b/v2/api/compute/v1beta20200930/snapshot_types_gen.go @@ -66,7 +66,7 @@ func (snapshot *Snapshot) ConvertTo(hub conversion.Hub) error { return snapshot.AssignPropertiesToSnapshot(destination) } -// +kubebuilder:webhook:path=/mutate-compute-azure-com-v1beta20200930-snapshot,mutating=true,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=compute.azure.com,resources=snapshots,verbs=create;update,versions=v1beta20200930,name=default.v1beta20200930.snapshots.compute.azure.com,admissionReviewVersions=v1beta1 +// +kubebuilder:webhook:path=/mutate-compute-azure-com-v1beta20200930-snapshot,mutating=true,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=compute.azure.com,resources=snapshots,verbs=create;update,versions=v1beta20200930,name=default.v1beta20200930.snapshots.compute.azure.com,admissionReviewVersions=v1 var _ admission.Defaulter = &Snapshot{} @@ -155,7 +155,7 @@ func (snapshot *Snapshot) SetStatus(status genruntime.ConvertibleStatus) error { return nil } -// +kubebuilder:webhook:path=/validate-compute-azure-com-v1beta20200930-snapshot,mutating=false,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=compute.azure.com,resources=snapshots,verbs=create;update,versions=v1beta20200930,name=validate.v1beta20200930.snapshots.compute.azure.com,admissionReviewVersions=v1beta1 +// +kubebuilder:webhook:path=/validate-compute-azure-com-v1beta20200930-snapshot,mutating=false,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=compute.azure.com,resources=snapshots,verbs=create;update,versions=v1beta20200930,name=validate.v1beta20200930.snapshots.compute.azure.com,admissionReviewVersions=v1 var _ admission.Validator = &Snapshot{} diff --git a/v2/api/compute/v1beta20201201/virtual_machine_scale_set_types_gen.go b/v2/api/compute/v1beta20201201/virtual_machine_scale_set_types_gen.go index 6a888af654..b82a1fc8e4 100644 --- a/v2/api/compute/v1beta20201201/virtual_machine_scale_set_types_gen.go +++ b/v2/api/compute/v1beta20201201/virtual_machine_scale_set_types_gen.go @@ -67,7 +67,7 @@ func (scaleSet *VirtualMachineScaleSet) ConvertTo(hub conversion.Hub) error { return scaleSet.AssignPropertiesToVirtualMachineScaleSet(destination) } -// +kubebuilder:webhook:path=/mutate-compute-azure-com-v1beta20201201-virtualmachinescaleset,mutating=true,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=compute.azure.com,resources=virtualmachinescalesets,verbs=create;update,versions=v1beta20201201,name=default.v1beta20201201.virtualmachinescalesets.compute.azure.com,admissionReviewVersions=v1beta1 +// +kubebuilder:webhook:path=/mutate-compute-azure-com-v1beta20201201-virtualmachinescaleset,mutating=true,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=compute.azure.com,resources=virtualmachinescalesets,verbs=create;update,versions=v1beta20201201,name=default.v1beta20201201.virtualmachinescalesets.compute.azure.com,admissionReviewVersions=v1 var _ admission.Defaulter = &VirtualMachineScaleSet{} @@ -156,7 +156,7 @@ func (scaleSet *VirtualMachineScaleSet) SetStatus(status genruntime.ConvertibleS return nil } -// +kubebuilder:webhook:path=/validate-compute-azure-com-v1beta20201201-virtualmachinescaleset,mutating=false,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=compute.azure.com,resources=virtualmachinescalesets,verbs=create;update,versions=v1beta20201201,name=validate.v1beta20201201.virtualmachinescalesets.compute.azure.com,admissionReviewVersions=v1beta1 +// +kubebuilder:webhook:path=/validate-compute-azure-com-v1beta20201201-virtualmachinescaleset,mutating=false,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=compute.azure.com,resources=virtualmachinescalesets,verbs=create;update,versions=v1beta20201201,name=validate.v1beta20201201.virtualmachinescalesets.compute.azure.com,admissionReviewVersions=v1 var _ admission.Validator = &VirtualMachineScaleSet{} diff --git a/v2/api/compute/v1beta20201201/virtual_machine_types_gen.go b/v2/api/compute/v1beta20201201/virtual_machine_types_gen.go index 532f3e7439..d27f9aad6f 100644 --- a/v2/api/compute/v1beta20201201/virtual_machine_types_gen.go +++ b/v2/api/compute/v1beta20201201/virtual_machine_types_gen.go @@ -67,7 +67,7 @@ func (machine *VirtualMachine) ConvertTo(hub conversion.Hub) error { return machine.AssignPropertiesToVirtualMachine(destination) } -// +kubebuilder:webhook:path=/mutate-compute-azure-com-v1beta20201201-virtualmachine,mutating=true,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=compute.azure.com,resources=virtualmachines,verbs=create;update,versions=v1beta20201201,name=default.v1beta20201201.virtualmachines.compute.azure.com,admissionReviewVersions=v1beta1 +// +kubebuilder:webhook:path=/mutate-compute-azure-com-v1beta20201201-virtualmachine,mutating=true,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=compute.azure.com,resources=virtualmachines,verbs=create;update,versions=v1beta20201201,name=default.v1beta20201201.virtualmachines.compute.azure.com,admissionReviewVersions=v1 var _ admission.Defaulter = &VirtualMachine{} @@ -156,7 +156,7 @@ func (machine *VirtualMachine) SetStatus(status genruntime.ConvertibleStatus) er return nil } -// +kubebuilder:webhook:path=/validate-compute-azure-com-v1beta20201201-virtualmachine,mutating=false,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=compute.azure.com,resources=virtualmachines,verbs=create;update,versions=v1beta20201201,name=validate.v1beta20201201.virtualmachines.compute.azure.com,admissionReviewVersions=v1beta1 +// +kubebuilder:webhook:path=/validate-compute-azure-com-v1beta20201201-virtualmachine,mutating=false,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=compute.azure.com,resources=virtualmachines,verbs=create;update,versions=v1beta20201201,name=validate.v1beta20201201.virtualmachines.compute.azure.com,admissionReviewVersions=v1 var _ admission.Validator = &VirtualMachine{} diff --git a/v2/api/compute/v1beta20210701/image_types_gen.go b/v2/api/compute/v1beta20210701/image_types_gen.go index 14494daedc..42e0b62094 100644 --- a/v2/api/compute/v1beta20210701/image_types_gen.go +++ b/v2/api/compute/v1beta20210701/image_types_gen.go @@ -66,7 +66,7 @@ func (image *Image) ConvertTo(hub conversion.Hub) error { return image.AssignPropertiesToImage(destination) } -// +kubebuilder:webhook:path=/mutate-compute-azure-com-v1beta20210701-image,mutating=true,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=compute.azure.com,resources=images,verbs=create;update,versions=v1beta20210701,name=default.v1beta20210701.images.compute.azure.com,admissionReviewVersions=v1beta1 +// +kubebuilder:webhook:path=/mutate-compute-azure-com-v1beta20210701-image,mutating=true,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=compute.azure.com,resources=images,verbs=create;update,versions=v1beta20210701,name=default.v1beta20210701.images.compute.azure.com,admissionReviewVersions=v1 var _ admission.Defaulter = &Image{} @@ -155,7 +155,7 @@ func (image *Image) SetStatus(status genruntime.ConvertibleStatus) error { return nil } -// +kubebuilder:webhook:path=/validate-compute-azure-com-v1beta20210701-image,mutating=false,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=compute.azure.com,resources=images,verbs=create;update,versions=v1beta20210701,name=validate.v1beta20210701.images.compute.azure.com,admissionReviewVersions=v1beta1 +// +kubebuilder:webhook:path=/validate-compute-azure-com-v1beta20210701-image,mutating=false,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=compute.azure.com,resources=images,verbs=create;update,versions=v1beta20210701,name=validate.v1beta20210701.images.compute.azure.com,admissionReviewVersions=v1 var _ admission.Validator = &Image{} diff --git a/v2/api/containerinstance/v1beta20211001/container_group_types_gen.go b/v2/api/containerinstance/v1beta20211001/container_group_types_gen.go index 297433df8f..f21a64a76d 100644 --- a/v2/api/containerinstance/v1beta20211001/container_group_types_gen.go +++ b/v2/api/containerinstance/v1beta20211001/container_group_types_gen.go @@ -67,7 +67,7 @@ func (group *ContainerGroup) ConvertTo(hub conversion.Hub) error { return group.AssignPropertiesToContainerGroup(destination) } -// +kubebuilder:webhook:path=/mutate-containerinstance-azure-com-v1beta20211001-containergroup,mutating=true,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=containerinstance.azure.com,resources=containergroups,verbs=create;update,versions=v1beta20211001,name=default.v1beta20211001.containergroups.containerinstance.azure.com,admissionReviewVersions=v1beta1 +// +kubebuilder:webhook:path=/mutate-containerinstance-azure-com-v1beta20211001-containergroup,mutating=true,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=containerinstance.azure.com,resources=containergroups,verbs=create;update,versions=v1beta20211001,name=default.v1beta20211001.containergroups.containerinstance.azure.com,admissionReviewVersions=v1 var _ admission.Defaulter = &ContainerGroup{} @@ -156,7 +156,7 @@ func (group *ContainerGroup) SetStatus(status genruntime.ConvertibleStatus) erro return nil } -// +kubebuilder:webhook:path=/validate-containerinstance-azure-com-v1beta20211001-containergroup,mutating=false,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=containerinstance.azure.com,resources=containergroups,verbs=create;update,versions=v1beta20211001,name=validate.v1beta20211001.containergroups.containerinstance.azure.com,admissionReviewVersions=v1beta1 +// +kubebuilder:webhook:path=/validate-containerinstance-azure-com-v1beta20211001-containergroup,mutating=false,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=containerinstance.azure.com,resources=containergroups,verbs=create;update,versions=v1beta20211001,name=validate.v1beta20211001.containergroups.containerinstance.azure.com,admissionReviewVersions=v1 var _ admission.Validator = &ContainerGroup{} diff --git a/v2/api/containerregistry/v1alpha1api20210901/registry_types_gen.go b/v2/api/containerregistry/v1alpha1api20210901/registry_types_gen.go index 8e0112a7a0..172483e9be 100644 --- a/v2/api/containerregistry/v1alpha1api20210901/registry_types_gen.go +++ b/v2/api/containerregistry/v1alpha1api20210901/registry_types_gen.go @@ -80,7 +80,7 @@ func (registry *Registry) ConvertTo(hub conversion.Hub) error { return nil } -// +kubebuilder:webhook:path=/mutate-containerregistry-azure-com-v1alpha1api20210901-registry,mutating=true,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=containerregistry.azure.com,resources=registries,verbs=create;update,versions=v1alpha1api20210901,name=default.v1alpha1api20210901.registries.containerregistry.azure.com,admissionReviewVersions=v1beta1 +// +kubebuilder:webhook:path=/mutate-containerregistry-azure-com-v1alpha1api20210901-registry,mutating=true,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=containerregistry.azure.com,resources=registries,verbs=create;update,versions=v1alpha1api20210901,name=default.v1alpha1api20210901.registries.containerregistry.azure.com,admissionReviewVersions=v1 var _ admission.Defaulter = &Registry{} @@ -169,7 +169,7 @@ func (registry *Registry) SetStatus(status genruntime.ConvertibleStatus) error { return nil } -// +kubebuilder:webhook:path=/validate-containerregistry-azure-com-v1alpha1api20210901-registry,mutating=false,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=containerregistry.azure.com,resources=registries,verbs=create;update,versions=v1alpha1api20210901,name=validate.v1alpha1api20210901.registries.containerregistry.azure.com,admissionReviewVersions=v1beta1 +// +kubebuilder:webhook:path=/validate-containerregistry-azure-com-v1alpha1api20210901-registry,mutating=false,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=containerregistry.azure.com,resources=registries,verbs=create;update,versions=v1alpha1api20210901,name=validate.v1alpha1api20210901.registries.containerregistry.azure.com,admissionReviewVersions=v1 var _ admission.Validator = &Registry{} diff --git a/v2/api/containerregistry/v1beta20210901/registry_types_gen.go b/v2/api/containerregistry/v1beta20210901/registry_types_gen.go index 231ef1f724..c4568e7fa7 100644 --- a/v2/api/containerregistry/v1beta20210901/registry_types_gen.go +++ b/v2/api/containerregistry/v1beta20210901/registry_types_gen.go @@ -66,7 +66,7 @@ func (registry *Registry) ConvertTo(hub conversion.Hub) error { return registry.AssignPropertiesToRegistry(destination) } -// +kubebuilder:webhook:path=/mutate-containerregistry-azure-com-v1beta20210901-registry,mutating=true,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=containerregistry.azure.com,resources=registries,verbs=create;update,versions=v1beta20210901,name=default.v1beta20210901.registries.containerregistry.azure.com,admissionReviewVersions=v1beta1 +// +kubebuilder:webhook:path=/mutate-containerregistry-azure-com-v1beta20210901-registry,mutating=true,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=containerregistry.azure.com,resources=registries,verbs=create;update,versions=v1beta20210901,name=default.v1beta20210901.registries.containerregistry.azure.com,admissionReviewVersions=v1 var _ admission.Defaulter = &Registry{} @@ -155,7 +155,7 @@ func (registry *Registry) SetStatus(status genruntime.ConvertibleStatus) error { return nil } -// +kubebuilder:webhook:path=/validate-containerregistry-azure-com-v1beta20210901-registry,mutating=false,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=containerregistry.azure.com,resources=registries,verbs=create;update,versions=v1beta20210901,name=validate.v1beta20210901.registries.containerregistry.azure.com,admissionReviewVersions=v1beta1 +// +kubebuilder:webhook:path=/validate-containerregistry-azure-com-v1beta20210901-registry,mutating=false,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=containerregistry.azure.com,resources=registries,verbs=create;update,versions=v1beta20210901,name=validate.v1beta20210901.registries.containerregistry.azure.com,admissionReviewVersions=v1 var _ admission.Validator = &Registry{} diff --git a/v2/api/containerservice/v1alpha1api20210501/managed_cluster_types_gen.go b/v2/api/containerservice/v1alpha1api20210501/managed_cluster_types_gen.go index 82ea9e3ff0..1f785dd77c 100644 --- a/v2/api/containerservice/v1alpha1api20210501/managed_cluster_types_gen.go +++ b/v2/api/containerservice/v1alpha1api20210501/managed_cluster_types_gen.go @@ -81,7 +81,7 @@ func (cluster *ManagedCluster) ConvertTo(hub conversion.Hub) error { return nil } -// +kubebuilder:webhook:path=/mutate-containerservice-azure-com-v1alpha1api20210501-managedcluster,mutating=true,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=containerservice.azure.com,resources=managedclusters,verbs=create;update,versions=v1alpha1api20210501,name=default.v1alpha1api20210501.managedclusters.containerservice.azure.com,admissionReviewVersions=v1beta1 +// +kubebuilder:webhook:path=/mutate-containerservice-azure-com-v1alpha1api20210501-managedcluster,mutating=true,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=containerservice.azure.com,resources=managedclusters,verbs=create;update,versions=v1alpha1api20210501,name=default.v1alpha1api20210501.managedclusters.containerservice.azure.com,admissionReviewVersions=v1 var _ admission.Defaulter = &ManagedCluster{} @@ -170,7 +170,7 @@ func (cluster *ManagedCluster) SetStatus(status genruntime.ConvertibleStatus) er return nil } -// +kubebuilder:webhook:path=/validate-containerservice-azure-com-v1alpha1api20210501-managedcluster,mutating=false,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=containerservice.azure.com,resources=managedclusters,verbs=create;update,versions=v1alpha1api20210501,name=validate.v1alpha1api20210501.managedclusters.containerservice.azure.com,admissionReviewVersions=v1beta1 +// +kubebuilder:webhook:path=/validate-containerservice-azure-com-v1alpha1api20210501-managedcluster,mutating=false,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=containerservice.azure.com,resources=managedclusters,verbs=create;update,versions=v1alpha1api20210501,name=validate.v1alpha1api20210501.managedclusters.containerservice.azure.com,admissionReviewVersions=v1 var _ admission.Validator = &ManagedCluster{} diff --git a/v2/api/containerservice/v1alpha1api20210501/managed_clusters_agent_pool_types_gen.go b/v2/api/containerservice/v1alpha1api20210501/managed_clusters_agent_pool_types_gen.go index 797cf71899..c6e4581cbc 100644 --- a/v2/api/containerservice/v1alpha1api20210501/managed_clusters_agent_pool_types_gen.go +++ b/v2/api/containerservice/v1alpha1api20210501/managed_clusters_agent_pool_types_gen.go @@ -80,7 +80,7 @@ func (pool *ManagedClustersAgentPool) ConvertTo(hub conversion.Hub) error { return nil } -// +kubebuilder:webhook:path=/mutate-containerservice-azure-com-v1alpha1api20210501-managedclustersagentpool,mutating=true,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=containerservice.azure.com,resources=managedclustersagentpools,verbs=create;update,versions=v1alpha1api20210501,name=default.v1alpha1api20210501.managedclustersagentpools.containerservice.azure.com,admissionReviewVersions=v1beta1 +// +kubebuilder:webhook:path=/mutate-containerservice-azure-com-v1alpha1api20210501-managedclustersagentpool,mutating=true,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=containerservice.azure.com,resources=managedclustersagentpools,verbs=create;update,versions=v1alpha1api20210501,name=default.v1alpha1api20210501.managedclustersagentpools.containerservice.azure.com,admissionReviewVersions=v1 var _ admission.Defaulter = &ManagedClustersAgentPool{} @@ -169,7 +169,7 @@ func (pool *ManagedClustersAgentPool) SetStatus(status genruntime.ConvertibleSta return nil } -// +kubebuilder:webhook:path=/validate-containerservice-azure-com-v1alpha1api20210501-managedclustersagentpool,mutating=false,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=containerservice.azure.com,resources=managedclustersagentpools,verbs=create;update,versions=v1alpha1api20210501,name=validate.v1alpha1api20210501.managedclustersagentpools.containerservice.azure.com,admissionReviewVersions=v1beta1 +// +kubebuilder:webhook:path=/validate-containerservice-azure-com-v1alpha1api20210501-managedclustersagentpool,mutating=false,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=containerservice.azure.com,resources=managedclustersagentpools,verbs=create;update,versions=v1alpha1api20210501,name=validate.v1alpha1api20210501.managedclustersagentpools.containerservice.azure.com,admissionReviewVersions=v1 var _ admission.Validator = &ManagedClustersAgentPool{} diff --git a/v2/api/containerservice/v1beta20210501/managed_cluster_types_gen.go b/v2/api/containerservice/v1beta20210501/managed_cluster_types_gen.go index 0f75045ab4..feb5b4e8f9 100644 --- a/v2/api/containerservice/v1beta20210501/managed_cluster_types_gen.go +++ b/v2/api/containerservice/v1beta20210501/managed_cluster_types_gen.go @@ -67,7 +67,7 @@ func (cluster *ManagedCluster) ConvertTo(hub conversion.Hub) error { return cluster.AssignPropertiesToManagedCluster(destination) } -// +kubebuilder:webhook:path=/mutate-containerservice-azure-com-v1beta20210501-managedcluster,mutating=true,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=containerservice.azure.com,resources=managedclusters,verbs=create;update,versions=v1beta20210501,name=default.v1beta20210501.managedclusters.containerservice.azure.com,admissionReviewVersions=v1beta1 +// +kubebuilder:webhook:path=/mutate-containerservice-azure-com-v1beta20210501-managedcluster,mutating=true,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=containerservice.azure.com,resources=managedclusters,verbs=create;update,versions=v1beta20210501,name=default.v1beta20210501.managedclusters.containerservice.azure.com,admissionReviewVersions=v1 var _ admission.Defaulter = &ManagedCluster{} @@ -156,7 +156,7 @@ func (cluster *ManagedCluster) SetStatus(status genruntime.ConvertibleStatus) er return nil } -// +kubebuilder:webhook:path=/validate-containerservice-azure-com-v1beta20210501-managedcluster,mutating=false,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=containerservice.azure.com,resources=managedclusters,verbs=create;update,versions=v1beta20210501,name=validate.v1beta20210501.managedclusters.containerservice.azure.com,admissionReviewVersions=v1beta1 +// +kubebuilder:webhook:path=/validate-containerservice-azure-com-v1beta20210501-managedcluster,mutating=false,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=containerservice.azure.com,resources=managedclusters,verbs=create;update,versions=v1beta20210501,name=validate.v1beta20210501.managedclusters.containerservice.azure.com,admissionReviewVersions=v1 var _ admission.Validator = &ManagedCluster{} diff --git a/v2/api/containerservice/v1beta20210501/managed_clusters_agent_pool_types_gen.go b/v2/api/containerservice/v1beta20210501/managed_clusters_agent_pool_types_gen.go index 97b95385c7..0e7caf7bff 100644 --- a/v2/api/containerservice/v1beta20210501/managed_clusters_agent_pool_types_gen.go +++ b/v2/api/containerservice/v1beta20210501/managed_clusters_agent_pool_types_gen.go @@ -66,7 +66,7 @@ func (pool *ManagedClustersAgentPool) ConvertTo(hub conversion.Hub) error { return pool.AssignPropertiesToManagedClustersAgentPool(destination) } -// +kubebuilder:webhook:path=/mutate-containerservice-azure-com-v1beta20210501-managedclustersagentpool,mutating=true,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=containerservice.azure.com,resources=managedclustersagentpools,verbs=create;update,versions=v1beta20210501,name=default.v1beta20210501.managedclustersagentpools.containerservice.azure.com,admissionReviewVersions=v1beta1 +// +kubebuilder:webhook:path=/mutate-containerservice-azure-com-v1beta20210501-managedclustersagentpool,mutating=true,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=containerservice.azure.com,resources=managedclustersagentpools,verbs=create;update,versions=v1beta20210501,name=default.v1beta20210501.managedclustersagentpools.containerservice.azure.com,admissionReviewVersions=v1 var _ admission.Defaulter = &ManagedClustersAgentPool{} @@ -155,7 +155,7 @@ func (pool *ManagedClustersAgentPool) SetStatus(status genruntime.ConvertibleSta return nil } -// +kubebuilder:webhook:path=/validate-containerservice-azure-com-v1beta20210501-managedclustersagentpool,mutating=false,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=containerservice.azure.com,resources=managedclustersagentpools,verbs=create;update,versions=v1beta20210501,name=validate.v1beta20210501.managedclustersagentpools.containerservice.azure.com,admissionReviewVersions=v1beta1 +// +kubebuilder:webhook:path=/validate-containerservice-azure-com-v1beta20210501-managedclustersagentpool,mutating=false,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=containerservice.azure.com,resources=managedclustersagentpools,verbs=create;update,versions=v1beta20210501,name=validate.v1beta20210501.managedclustersagentpools.containerservice.azure.com,admissionReviewVersions=v1 var _ admission.Validator = &ManagedClustersAgentPool{} diff --git a/v2/api/dbformariadb/v1beta20180601/configuration_types_gen.go b/v2/api/dbformariadb/v1beta20180601/configuration_types_gen.go index 00e0884252..e540432905 100644 --- a/v2/api/dbformariadb/v1beta20180601/configuration_types_gen.go +++ b/v2/api/dbformariadb/v1beta20180601/configuration_types_gen.go @@ -66,7 +66,7 @@ func (configuration *Configuration) ConvertTo(hub conversion.Hub) error { return configuration.AssignPropertiesToConfiguration(destination) } -// +kubebuilder:webhook:path=/mutate-dbformariadb-azure-com-v1beta20180601-configuration,mutating=true,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=dbformariadb.azure.com,resources=configurations,verbs=create;update,versions=v1beta20180601,name=default.v1beta20180601.configurations.dbformariadb.azure.com,admissionReviewVersions=v1beta1 +// +kubebuilder:webhook:path=/mutate-dbformariadb-azure-com-v1beta20180601-configuration,mutating=true,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=dbformariadb.azure.com,resources=configurations,verbs=create;update,versions=v1beta20180601,name=default.v1beta20180601.configurations.dbformariadb.azure.com,admissionReviewVersions=v1 var _ admission.Defaulter = &Configuration{} @@ -155,7 +155,7 @@ func (configuration *Configuration) SetStatus(status genruntime.ConvertibleStatu return nil } -// +kubebuilder:webhook:path=/validate-dbformariadb-azure-com-v1beta20180601-configuration,mutating=false,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=dbformariadb.azure.com,resources=configurations,verbs=create;update,versions=v1beta20180601,name=validate.v1beta20180601.configurations.dbformariadb.azure.com,admissionReviewVersions=v1beta1 +// +kubebuilder:webhook:path=/validate-dbformariadb-azure-com-v1beta20180601-configuration,mutating=false,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=dbformariadb.azure.com,resources=configurations,verbs=create;update,versions=v1beta20180601,name=validate.v1beta20180601.configurations.dbformariadb.azure.com,admissionReviewVersions=v1 var _ admission.Validator = &Configuration{} diff --git a/v2/api/dbformariadb/v1beta20180601/database_types_gen.go b/v2/api/dbformariadb/v1beta20180601/database_types_gen.go index d4a4dc3e31..cfcad86c6c 100644 --- a/v2/api/dbformariadb/v1beta20180601/database_types_gen.go +++ b/v2/api/dbformariadb/v1beta20180601/database_types_gen.go @@ -66,7 +66,7 @@ func (database *Database) ConvertTo(hub conversion.Hub) error { return database.AssignPropertiesToDatabase(destination) } -// +kubebuilder:webhook:path=/mutate-dbformariadb-azure-com-v1beta20180601-database,mutating=true,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=dbformariadb.azure.com,resources=databases,verbs=create;update,versions=v1beta20180601,name=default.v1beta20180601.databases.dbformariadb.azure.com,admissionReviewVersions=v1beta1 +// +kubebuilder:webhook:path=/mutate-dbformariadb-azure-com-v1beta20180601-database,mutating=true,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=dbformariadb.azure.com,resources=databases,verbs=create;update,versions=v1beta20180601,name=default.v1beta20180601.databases.dbformariadb.azure.com,admissionReviewVersions=v1 var _ admission.Defaulter = &Database{} @@ -155,7 +155,7 @@ func (database *Database) SetStatus(status genruntime.ConvertibleStatus) error { return nil } -// +kubebuilder:webhook:path=/validate-dbformariadb-azure-com-v1beta20180601-database,mutating=false,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=dbformariadb.azure.com,resources=databases,verbs=create;update,versions=v1beta20180601,name=validate.v1beta20180601.databases.dbformariadb.azure.com,admissionReviewVersions=v1beta1 +// +kubebuilder:webhook:path=/validate-dbformariadb-azure-com-v1beta20180601-database,mutating=false,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=dbformariadb.azure.com,resources=databases,verbs=create;update,versions=v1beta20180601,name=validate.v1beta20180601.databases.dbformariadb.azure.com,admissionReviewVersions=v1 var _ admission.Validator = &Database{} diff --git a/v2/api/dbformariadb/v1beta20180601/server_types_gen.go b/v2/api/dbformariadb/v1beta20180601/server_types_gen.go index 08044fe57b..37afffce1b 100644 --- a/v2/api/dbformariadb/v1beta20180601/server_types_gen.go +++ b/v2/api/dbformariadb/v1beta20180601/server_types_gen.go @@ -66,7 +66,7 @@ func (server *Server) ConvertTo(hub conversion.Hub) error { return server.AssignPropertiesToServer(destination) } -// +kubebuilder:webhook:path=/mutate-dbformariadb-azure-com-v1beta20180601-server,mutating=true,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=dbformariadb.azure.com,resources=servers,verbs=create;update,versions=v1beta20180601,name=default.v1beta20180601.servers.dbformariadb.azure.com,admissionReviewVersions=v1beta1 +// +kubebuilder:webhook:path=/mutate-dbformariadb-azure-com-v1beta20180601-server,mutating=true,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=dbformariadb.azure.com,resources=servers,verbs=create;update,versions=v1beta20180601,name=default.v1beta20180601.servers.dbformariadb.azure.com,admissionReviewVersions=v1 var _ admission.Defaulter = &Server{} @@ -155,7 +155,7 @@ func (server *Server) SetStatus(status genruntime.ConvertibleStatus) error { return nil } -// +kubebuilder:webhook:path=/validate-dbformariadb-azure-com-v1beta20180601-server,mutating=false,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=dbformariadb.azure.com,resources=servers,verbs=create;update,versions=v1beta20180601,name=validate.v1beta20180601.servers.dbformariadb.azure.com,admissionReviewVersions=v1beta1 +// +kubebuilder:webhook:path=/validate-dbformariadb-azure-com-v1beta20180601-server,mutating=false,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=dbformariadb.azure.com,resources=servers,verbs=create;update,versions=v1beta20180601,name=validate.v1beta20180601.servers.dbformariadb.azure.com,admissionReviewVersions=v1 var _ admission.Validator = &Server{} diff --git a/v2/api/dbformysql/v1alpha1api20210501/flexible_server_types_gen.go b/v2/api/dbformysql/v1alpha1api20210501/flexible_server_types_gen.go index 0fd5bd4fa9..ec35da276f 100644 --- a/v2/api/dbformysql/v1alpha1api20210501/flexible_server_types_gen.go +++ b/v2/api/dbformysql/v1alpha1api20210501/flexible_server_types_gen.go @@ -81,7 +81,7 @@ func (server *FlexibleServer) ConvertTo(hub conversion.Hub) error { return nil } -// +kubebuilder:webhook:path=/mutate-dbformysql-azure-com-v1alpha1api20210501-flexibleserver,mutating=true,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=dbformysql.azure.com,resources=flexibleservers,verbs=create;update,versions=v1alpha1api20210501,name=default.v1alpha1api20210501.flexibleservers.dbformysql.azure.com,admissionReviewVersions=v1beta1 +// +kubebuilder:webhook:path=/mutate-dbformysql-azure-com-v1alpha1api20210501-flexibleserver,mutating=true,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=dbformysql.azure.com,resources=flexibleservers,verbs=create;update,versions=v1alpha1api20210501,name=default.v1alpha1api20210501.flexibleservers.dbformysql.azure.com,admissionReviewVersions=v1 var _ admission.Defaulter = &FlexibleServer{} @@ -170,7 +170,7 @@ func (server *FlexibleServer) SetStatus(status genruntime.ConvertibleStatus) err return nil } -// +kubebuilder:webhook:path=/validate-dbformysql-azure-com-v1alpha1api20210501-flexibleserver,mutating=false,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=dbformysql.azure.com,resources=flexibleservers,verbs=create;update,versions=v1alpha1api20210501,name=validate.v1alpha1api20210501.flexibleservers.dbformysql.azure.com,admissionReviewVersions=v1beta1 +// +kubebuilder:webhook:path=/validate-dbformysql-azure-com-v1alpha1api20210501-flexibleserver,mutating=false,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=dbformysql.azure.com,resources=flexibleservers,verbs=create;update,versions=v1alpha1api20210501,name=validate.v1alpha1api20210501.flexibleservers.dbformysql.azure.com,admissionReviewVersions=v1 var _ admission.Validator = &FlexibleServer{} diff --git a/v2/api/dbformysql/v1alpha1api20210501/flexible_servers_database_types_gen.go b/v2/api/dbformysql/v1alpha1api20210501/flexible_servers_database_types_gen.go index 562d58238a..5440aaea3f 100644 --- a/v2/api/dbformysql/v1alpha1api20210501/flexible_servers_database_types_gen.go +++ b/v2/api/dbformysql/v1alpha1api20210501/flexible_servers_database_types_gen.go @@ -80,7 +80,7 @@ func (database *FlexibleServersDatabase) ConvertTo(hub conversion.Hub) error { return nil } -// +kubebuilder:webhook:path=/mutate-dbformysql-azure-com-v1alpha1api20210501-flexibleserversdatabase,mutating=true,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=dbformysql.azure.com,resources=flexibleserversdatabases,verbs=create;update,versions=v1alpha1api20210501,name=default.v1alpha1api20210501.flexibleserversdatabases.dbformysql.azure.com,admissionReviewVersions=v1beta1 +// +kubebuilder:webhook:path=/mutate-dbformysql-azure-com-v1alpha1api20210501-flexibleserversdatabase,mutating=true,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=dbformysql.azure.com,resources=flexibleserversdatabases,verbs=create;update,versions=v1alpha1api20210501,name=default.v1alpha1api20210501.flexibleserversdatabases.dbformysql.azure.com,admissionReviewVersions=v1 var _ admission.Defaulter = &FlexibleServersDatabase{} @@ -169,7 +169,7 @@ func (database *FlexibleServersDatabase) SetStatus(status genruntime.Convertible return nil } -// +kubebuilder:webhook:path=/validate-dbformysql-azure-com-v1alpha1api20210501-flexibleserversdatabase,mutating=false,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=dbformysql.azure.com,resources=flexibleserversdatabases,verbs=create;update,versions=v1alpha1api20210501,name=validate.v1alpha1api20210501.flexibleserversdatabases.dbformysql.azure.com,admissionReviewVersions=v1beta1 +// +kubebuilder:webhook:path=/validate-dbformysql-azure-com-v1alpha1api20210501-flexibleserversdatabase,mutating=false,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=dbformysql.azure.com,resources=flexibleserversdatabases,verbs=create;update,versions=v1alpha1api20210501,name=validate.v1alpha1api20210501.flexibleserversdatabases.dbformysql.azure.com,admissionReviewVersions=v1 var _ admission.Validator = &FlexibleServersDatabase{} diff --git a/v2/api/dbformysql/v1alpha1api20210501/flexible_servers_firewall_rule_types_gen.go b/v2/api/dbformysql/v1alpha1api20210501/flexible_servers_firewall_rule_types_gen.go index 51dc55d9c1..f5b99aea23 100644 --- a/v2/api/dbformysql/v1alpha1api20210501/flexible_servers_firewall_rule_types_gen.go +++ b/v2/api/dbformysql/v1alpha1api20210501/flexible_servers_firewall_rule_types_gen.go @@ -80,7 +80,7 @@ func (rule *FlexibleServersFirewallRule) ConvertTo(hub conversion.Hub) error { return nil } -// +kubebuilder:webhook:path=/mutate-dbformysql-azure-com-v1alpha1api20210501-flexibleserversfirewallrule,mutating=true,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=dbformysql.azure.com,resources=flexibleserversfirewallrules,verbs=create;update,versions=v1alpha1api20210501,name=default.v1alpha1api20210501.flexibleserversfirewallrules.dbformysql.azure.com,admissionReviewVersions=v1beta1 +// +kubebuilder:webhook:path=/mutate-dbformysql-azure-com-v1alpha1api20210501-flexibleserversfirewallrule,mutating=true,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=dbformysql.azure.com,resources=flexibleserversfirewallrules,verbs=create;update,versions=v1alpha1api20210501,name=default.v1alpha1api20210501.flexibleserversfirewallrules.dbformysql.azure.com,admissionReviewVersions=v1 var _ admission.Defaulter = &FlexibleServersFirewallRule{} @@ -169,7 +169,7 @@ func (rule *FlexibleServersFirewallRule) SetStatus(status genruntime.Convertible return nil } -// +kubebuilder:webhook:path=/validate-dbformysql-azure-com-v1alpha1api20210501-flexibleserversfirewallrule,mutating=false,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=dbformysql.azure.com,resources=flexibleserversfirewallrules,verbs=create;update,versions=v1alpha1api20210501,name=validate.v1alpha1api20210501.flexibleserversfirewallrules.dbformysql.azure.com,admissionReviewVersions=v1beta1 +// +kubebuilder:webhook:path=/validate-dbformysql-azure-com-v1alpha1api20210501-flexibleserversfirewallrule,mutating=false,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=dbformysql.azure.com,resources=flexibleserversfirewallrules,verbs=create;update,versions=v1alpha1api20210501,name=validate.v1alpha1api20210501.flexibleserversfirewallrules.dbformysql.azure.com,admissionReviewVersions=v1 var _ admission.Validator = &FlexibleServersFirewallRule{} diff --git a/v2/api/dbformysql/v1beta20210501/flexible_server_types_gen.go b/v2/api/dbformysql/v1beta20210501/flexible_server_types_gen.go index 03d5a38ac9..41523e2b10 100644 --- a/v2/api/dbformysql/v1beta20210501/flexible_server_types_gen.go +++ b/v2/api/dbformysql/v1beta20210501/flexible_server_types_gen.go @@ -67,7 +67,7 @@ func (server *FlexibleServer) ConvertTo(hub conversion.Hub) error { return server.AssignPropertiesToFlexibleServer(destination) } -// +kubebuilder:webhook:path=/mutate-dbformysql-azure-com-v1beta20210501-flexibleserver,mutating=true,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=dbformysql.azure.com,resources=flexibleservers,verbs=create;update,versions=v1beta20210501,name=default.v1beta20210501.flexibleservers.dbformysql.azure.com,admissionReviewVersions=v1beta1 +// +kubebuilder:webhook:path=/mutate-dbformysql-azure-com-v1beta20210501-flexibleserver,mutating=true,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=dbformysql.azure.com,resources=flexibleservers,verbs=create;update,versions=v1beta20210501,name=default.v1beta20210501.flexibleservers.dbformysql.azure.com,admissionReviewVersions=v1 var _ admission.Defaulter = &FlexibleServer{} @@ -156,7 +156,7 @@ func (server *FlexibleServer) SetStatus(status genruntime.ConvertibleStatus) err return nil } -// +kubebuilder:webhook:path=/validate-dbformysql-azure-com-v1beta20210501-flexibleserver,mutating=false,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=dbformysql.azure.com,resources=flexibleservers,verbs=create;update,versions=v1beta20210501,name=validate.v1beta20210501.flexibleservers.dbformysql.azure.com,admissionReviewVersions=v1beta1 +// +kubebuilder:webhook:path=/validate-dbformysql-azure-com-v1beta20210501-flexibleserver,mutating=false,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=dbformysql.azure.com,resources=flexibleservers,verbs=create;update,versions=v1beta20210501,name=validate.v1beta20210501.flexibleservers.dbformysql.azure.com,admissionReviewVersions=v1 var _ admission.Validator = &FlexibleServer{} diff --git a/v2/api/dbformysql/v1beta20210501/flexible_servers_database_types_gen.go b/v2/api/dbformysql/v1beta20210501/flexible_servers_database_types_gen.go index 17c11f332c..ebf39ebee6 100644 --- a/v2/api/dbformysql/v1beta20210501/flexible_servers_database_types_gen.go +++ b/v2/api/dbformysql/v1beta20210501/flexible_servers_database_types_gen.go @@ -66,7 +66,7 @@ func (database *FlexibleServersDatabase) ConvertTo(hub conversion.Hub) error { return database.AssignPropertiesToFlexibleServersDatabase(destination) } -// +kubebuilder:webhook:path=/mutate-dbformysql-azure-com-v1beta20210501-flexibleserversdatabase,mutating=true,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=dbformysql.azure.com,resources=flexibleserversdatabases,verbs=create;update,versions=v1beta20210501,name=default.v1beta20210501.flexibleserversdatabases.dbformysql.azure.com,admissionReviewVersions=v1beta1 +// +kubebuilder:webhook:path=/mutate-dbformysql-azure-com-v1beta20210501-flexibleserversdatabase,mutating=true,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=dbformysql.azure.com,resources=flexibleserversdatabases,verbs=create;update,versions=v1beta20210501,name=default.v1beta20210501.flexibleserversdatabases.dbformysql.azure.com,admissionReviewVersions=v1 var _ admission.Defaulter = &FlexibleServersDatabase{} @@ -155,7 +155,7 @@ func (database *FlexibleServersDatabase) SetStatus(status genruntime.Convertible return nil } -// +kubebuilder:webhook:path=/validate-dbformysql-azure-com-v1beta20210501-flexibleserversdatabase,mutating=false,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=dbformysql.azure.com,resources=flexibleserversdatabases,verbs=create;update,versions=v1beta20210501,name=validate.v1beta20210501.flexibleserversdatabases.dbformysql.azure.com,admissionReviewVersions=v1beta1 +// +kubebuilder:webhook:path=/validate-dbformysql-azure-com-v1beta20210501-flexibleserversdatabase,mutating=false,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=dbformysql.azure.com,resources=flexibleserversdatabases,verbs=create;update,versions=v1beta20210501,name=validate.v1beta20210501.flexibleserversdatabases.dbformysql.azure.com,admissionReviewVersions=v1 var _ admission.Validator = &FlexibleServersDatabase{} diff --git a/v2/api/dbformysql/v1beta20210501/flexible_servers_firewall_rule_types_gen.go b/v2/api/dbformysql/v1beta20210501/flexible_servers_firewall_rule_types_gen.go index 8d7e82539c..5f118f77fb 100644 --- a/v2/api/dbformysql/v1beta20210501/flexible_servers_firewall_rule_types_gen.go +++ b/v2/api/dbformysql/v1beta20210501/flexible_servers_firewall_rule_types_gen.go @@ -66,7 +66,7 @@ func (rule *FlexibleServersFirewallRule) ConvertTo(hub conversion.Hub) error { return rule.AssignPropertiesToFlexibleServersFirewallRule(destination) } -// +kubebuilder:webhook:path=/mutate-dbformysql-azure-com-v1beta20210501-flexibleserversfirewallrule,mutating=true,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=dbformysql.azure.com,resources=flexibleserversfirewallrules,verbs=create;update,versions=v1beta20210501,name=default.v1beta20210501.flexibleserversfirewallrules.dbformysql.azure.com,admissionReviewVersions=v1beta1 +// +kubebuilder:webhook:path=/mutate-dbformysql-azure-com-v1beta20210501-flexibleserversfirewallrule,mutating=true,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=dbformysql.azure.com,resources=flexibleserversfirewallrules,verbs=create;update,versions=v1beta20210501,name=default.v1beta20210501.flexibleserversfirewallrules.dbformysql.azure.com,admissionReviewVersions=v1 var _ admission.Defaulter = &FlexibleServersFirewallRule{} @@ -155,7 +155,7 @@ func (rule *FlexibleServersFirewallRule) SetStatus(status genruntime.Convertible return nil } -// +kubebuilder:webhook:path=/validate-dbformysql-azure-com-v1beta20210501-flexibleserversfirewallrule,mutating=false,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=dbformysql.azure.com,resources=flexibleserversfirewallrules,verbs=create;update,versions=v1beta20210501,name=validate.v1beta20210501.flexibleserversfirewallrules.dbformysql.azure.com,admissionReviewVersions=v1beta1 +// +kubebuilder:webhook:path=/validate-dbformysql-azure-com-v1beta20210501-flexibleserversfirewallrule,mutating=false,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=dbformysql.azure.com,resources=flexibleserversfirewallrules,verbs=create;update,versions=v1beta20210501,name=validate.v1beta20210501.flexibleserversfirewallrules.dbformysql.azure.com,admissionReviewVersions=v1 var _ admission.Validator = &FlexibleServersFirewallRule{} diff --git a/v2/api/dbforpostgresql/v1alpha1api20210601/flexible_server_types_gen.go b/v2/api/dbforpostgresql/v1alpha1api20210601/flexible_server_types_gen.go index 839479f4e1..3de84004a7 100644 --- a/v2/api/dbforpostgresql/v1alpha1api20210601/flexible_server_types_gen.go +++ b/v2/api/dbforpostgresql/v1alpha1api20210601/flexible_server_types_gen.go @@ -80,7 +80,7 @@ func (server *FlexibleServer) ConvertTo(hub conversion.Hub) error { return nil } -// +kubebuilder:webhook:path=/mutate-dbforpostgresql-azure-com-v1alpha1api20210601-flexibleserver,mutating=true,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=dbforpostgresql.azure.com,resources=flexibleservers,verbs=create;update,versions=v1alpha1api20210601,name=default.v1alpha1api20210601.flexibleservers.dbforpostgresql.azure.com,admissionReviewVersions=v1beta1 +// +kubebuilder:webhook:path=/mutate-dbforpostgresql-azure-com-v1alpha1api20210601-flexibleserver,mutating=true,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=dbforpostgresql.azure.com,resources=flexibleservers,verbs=create;update,versions=v1alpha1api20210601,name=default.v1alpha1api20210601.flexibleservers.dbforpostgresql.azure.com,admissionReviewVersions=v1 var _ admission.Defaulter = &FlexibleServer{} @@ -169,7 +169,7 @@ func (server *FlexibleServer) SetStatus(status genruntime.ConvertibleStatus) err return nil } -// +kubebuilder:webhook:path=/validate-dbforpostgresql-azure-com-v1alpha1api20210601-flexibleserver,mutating=false,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=dbforpostgresql.azure.com,resources=flexibleservers,verbs=create;update,versions=v1alpha1api20210601,name=validate.v1alpha1api20210601.flexibleservers.dbforpostgresql.azure.com,admissionReviewVersions=v1beta1 +// +kubebuilder:webhook:path=/validate-dbforpostgresql-azure-com-v1alpha1api20210601-flexibleserver,mutating=false,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=dbforpostgresql.azure.com,resources=flexibleservers,verbs=create;update,versions=v1alpha1api20210601,name=validate.v1alpha1api20210601.flexibleservers.dbforpostgresql.azure.com,admissionReviewVersions=v1 var _ admission.Validator = &FlexibleServer{} diff --git a/v2/api/dbforpostgresql/v1alpha1api20210601/flexible_servers_configuration_types_gen.go b/v2/api/dbforpostgresql/v1alpha1api20210601/flexible_servers_configuration_types_gen.go index 4d82354270..c32b6ca017 100644 --- a/v2/api/dbforpostgresql/v1alpha1api20210601/flexible_servers_configuration_types_gen.go +++ b/v2/api/dbforpostgresql/v1alpha1api20210601/flexible_servers_configuration_types_gen.go @@ -80,7 +80,7 @@ func (configuration *FlexibleServersConfiguration) ConvertTo(hub conversion.Hub) return nil } -// +kubebuilder:webhook:path=/mutate-dbforpostgresql-azure-com-v1alpha1api20210601-flexibleserversconfiguration,mutating=true,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=dbforpostgresql.azure.com,resources=flexibleserversconfigurations,verbs=create;update,versions=v1alpha1api20210601,name=default.v1alpha1api20210601.flexibleserversconfigurations.dbforpostgresql.azure.com,admissionReviewVersions=v1beta1 +// +kubebuilder:webhook:path=/mutate-dbforpostgresql-azure-com-v1alpha1api20210601-flexibleserversconfiguration,mutating=true,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=dbforpostgresql.azure.com,resources=flexibleserversconfigurations,verbs=create;update,versions=v1alpha1api20210601,name=default.v1alpha1api20210601.flexibleserversconfigurations.dbforpostgresql.azure.com,admissionReviewVersions=v1 var _ admission.Defaulter = &FlexibleServersConfiguration{} @@ -169,7 +169,7 @@ func (configuration *FlexibleServersConfiguration) SetStatus(status genruntime.C return nil } -// +kubebuilder:webhook:path=/validate-dbforpostgresql-azure-com-v1alpha1api20210601-flexibleserversconfiguration,mutating=false,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=dbforpostgresql.azure.com,resources=flexibleserversconfigurations,verbs=create;update,versions=v1alpha1api20210601,name=validate.v1alpha1api20210601.flexibleserversconfigurations.dbforpostgresql.azure.com,admissionReviewVersions=v1beta1 +// +kubebuilder:webhook:path=/validate-dbforpostgresql-azure-com-v1alpha1api20210601-flexibleserversconfiguration,mutating=false,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=dbforpostgresql.azure.com,resources=flexibleserversconfigurations,verbs=create;update,versions=v1alpha1api20210601,name=validate.v1alpha1api20210601.flexibleserversconfigurations.dbforpostgresql.azure.com,admissionReviewVersions=v1 var _ admission.Validator = &FlexibleServersConfiguration{} diff --git a/v2/api/dbforpostgresql/v1alpha1api20210601/flexible_servers_database_types_gen.go b/v2/api/dbforpostgresql/v1alpha1api20210601/flexible_servers_database_types_gen.go index fc05a7a480..dd0cd1b116 100644 --- a/v2/api/dbforpostgresql/v1alpha1api20210601/flexible_servers_database_types_gen.go +++ b/v2/api/dbforpostgresql/v1alpha1api20210601/flexible_servers_database_types_gen.go @@ -80,7 +80,7 @@ func (database *FlexibleServersDatabase) ConvertTo(hub conversion.Hub) error { return nil } -// +kubebuilder:webhook:path=/mutate-dbforpostgresql-azure-com-v1alpha1api20210601-flexibleserversdatabase,mutating=true,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=dbforpostgresql.azure.com,resources=flexibleserversdatabases,verbs=create;update,versions=v1alpha1api20210601,name=default.v1alpha1api20210601.flexibleserversdatabases.dbforpostgresql.azure.com,admissionReviewVersions=v1beta1 +// +kubebuilder:webhook:path=/mutate-dbforpostgresql-azure-com-v1alpha1api20210601-flexibleserversdatabase,mutating=true,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=dbforpostgresql.azure.com,resources=flexibleserversdatabases,verbs=create;update,versions=v1alpha1api20210601,name=default.v1alpha1api20210601.flexibleserversdatabases.dbforpostgresql.azure.com,admissionReviewVersions=v1 var _ admission.Defaulter = &FlexibleServersDatabase{} @@ -169,7 +169,7 @@ func (database *FlexibleServersDatabase) SetStatus(status genruntime.Convertible return nil } -// +kubebuilder:webhook:path=/validate-dbforpostgresql-azure-com-v1alpha1api20210601-flexibleserversdatabase,mutating=false,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=dbforpostgresql.azure.com,resources=flexibleserversdatabases,verbs=create;update,versions=v1alpha1api20210601,name=validate.v1alpha1api20210601.flexibleserversdatabases.dbforpostgresql.azure.com,admissionReviewVersions=v1beta1 +// +kubebuilder:webhook:path=/validate-dbforpostgresql-azure-com-v1alpha1api20210601-flexibleserversdatabase,mutating=false,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=dbforpostgresql.azure.com,resources=flexibleserversdatabases,verbs=create;update,versions=v1alpha1api20210601,name=validate.v1alpha1api20210601.flexibleserversdatabases.dbforpostgresql.azure.com,admissionReviewVersions=v1 var _ admission.Validator = &FlexibleServersDatabase{} diff --git a/v2/api/dbforpostgresql/v1alpha1api20210601/flexible_servers_firewall_rule_types_gen.go b/v2/api/dbforpostgresql/v1alpha1api20210601/flexible_servers_firewall_rule_types_gen.go index b2f7fe66fe..93c2e2cb13 100644 --- a/v2/api/dbforpostgresql/v1alpha1api20210601/flexible_servers_firewall_rule_types_gen.go +++ b/v2/api/dbforpostgresql/v1alpha1api20210601/flexible_servers_firewall_rule_types_gen.go @@ -80,7 +80,7 @@ func (rule *FlexibleServersFirewallRule) ConvertTo(hub conversion.Hub) error { return nil } -// +kubebuilder:webhook:path=/mutate-dbforpostgresql-azure-com-v1alpha1api20210601-flexibleserversfirewallrule,mutating=true,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=dbforpostgresql.azure.com,resources=flexibleserversfirewallrules,verbs=create;update,versions=v1alpha1api20210601,name=default.v1alpha1api20210601.flexibleserversfirewallrules.dbforpostgresql.azure.com,admissionReviewVersions=v1beta1 +// +kubebuilder:webhook:path=/mutate-dbforpostgresql-azure-com-v1alpha1api20210601-flexibleserversfirewallrule,mutating=true,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=dbforpostgresql.azure.com,resources=flexibleserversfirewallrules,verbs=create;update,versions=v1alpha1api20210601,name=default.v1alpha1api20210601.flexibleserversfirewallrules.dbforpostgresql.azure.com,admissionReviewVersions=v1 var _ admission.Defaulter = &FlexibleServersFirewallRule{} @@ -169,7 +169,7 @@ func (rule *FlexibleServersFirewallRule) SetStatus(status genruntime.Convertible return nil } -// +kubebuilder:webhook:path=/validate-dbforpostgresql-azure-com-v1alpha1api20210601-flexibleserversfirewallrule,mutating=false,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=dbforpostgresql.azure.com,resources=flexibleserversfirewallrules,verbs=create;update,versions=v1alpha1api20210601,name=validate.v1alpha1api20210601.flexibleserversfirewallrules.dbforpostgresql.azure.com,admissionReviewVersions=v1beta1 +// +kubebuilder:webhook:path=/validate-dbforpostgresql-azure-com-v1alpha1api20210601-flexibleserversfirewallrule,mutating=false,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=dbforpostgresql.azure.com,resources=flexibleserversfirewallrules,verbs=create;update,versions=v1alpha1api20210601,name=validate.v1alpha1api20210601.flexibleserversfirewallrules.dbforpostgresql.azure.com,admissionReviewVersions=v1 var _ admission.Validator = &FlexibleServersFirewallRule{} diff --git a/v2/api/dbforpostgresql/v1beta20210601/flexible_server_types_gen.go b/v2/api/dbforpostgresql/v1beta20210601/flexible_server_types_gen.go index f7e6fa4861..b3c334d85b 100644 --- a/v2/api/dbforpostgresql/v1beta20210601/flexible_server_types_gen.go +++ b/v2/api/dbforpostgresql/v1beta20210601/flexible_server_types_gen.go @@ -66,7 +66,7 @@ func (server *FlexibleServer) ConvertTo(hub conversion.Hub) error { return server.AssignPropertiesToFlexibleServer(destination) } -// +kubebuilder:webhook:path=/mutate-dbforpostgresql-azure-com-v1beta20210601-flexibleserver,mutating=true,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=dbforpostgresql.azure.com,resources=flexibleservers,verbs=create;update,versions=v1beta20210601,name=default.v1beta20210601.flexibleservers.dbforpostgresql.azure.com,admissionReviewVersions=v1beta1 +// +kubebuilder:webhook:path=/mutate-dbforpostgresql-azure-com-v1beta20210601-flexibleserver,mutating=true,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=dbforpostgresql.azure.com,resources=flexibleservers,verbs=create;update,versions=v1beta20210601,name=default.v1beta20210601.flexibleservers.dbforpostgresql.azure.com,admissionReviewVersions=v1 var _ admission.Defaulter = &FlexibleServer{} @@ -155,7 +155,7 @@ func (server *FlexibleServer) SetStatus(status genruntime.ConvertibleStatus) err return nil } -// +kubebuilder:webhook:path=/validate-dbforpostgresql-azure-com-v1beta20210601-flexibleserver,mutating=false,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=dbforpostgresql.azure.com,resources=flexibleservers,verbs=create;update,versions=v1beta20210601,name=validate.v1beta20210601.flexibleservers.dbforpostgresql.azure.com,admissionReviewVersions=v1beta1 +// +kubebuilder:webhook:path=/validate-dbforpostgresql-azure-com-v1beta20210601-flexibleserver,mutating=false,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=dbforpostgresql.azure.com,resources=flexibleservers,verbs=create;update,versions=v1beta20210601,name=validate.v1beta20210601.flexibleservers.dbforpostgresql.azure.com,admissionReviewVersions=v1 var _ admission.Validator = &FlexibleServer{} diff --git a/v2/api/dbforpostgresql/v1beta20210601/flexible_servers_configuration_types_gen.go b/v2/api/dbforpostgresql/v1beta20210601/flexible_servers_configuration_types_gen.go index 879ed614b5..c85cef97e2 100644 --- a/v2/api/dbforpostgresql/v1beta20210601/flexible_servers_configuration_types_gen.go +++ b/v2/api/dbforpostgresql/v1beta20210601/flexible_servers_configuration_types_gen.go @@ -66,7 +66,7 @@ func (configuration *FlexibleServersConfiguration) ConvertTo(hub conversion.Hub) return configuration.AssignPropertiesToFlexibleServersConfiguration(destination) } -// +kubebuilder:webhook:path=/mutate-dbforpostgresql-azure-com-v1beta20210601-flexibleserversconfiguration,mutating=true,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=dbforpostgresql.azure.com,resources=flexibleserversconfigurations,verbs=create;update,versions=v1beta20210601,name=default.v1beta20210601.flexibleserversconfigurations.dbforpostgresql.azure.com,admissionReviewVersions=v1beta1 +// +kubebuilder:webhook:path=/mutate-dbforpostgresql-azure-com-v1beta20210601-flexibleserversconfiguration,mutating=true,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=dbforpostgresql.azure.com,resources=flexibleserversconfigurations,verbs=create;update,versions=v1beta20210601,name=default.v1beta20210601.flexibleserversconfigurations.dbforpostgresql.azure.com,admissionReviewVersions=v1 var _ admission.Defaulter = &FlexibleServersConfiguration{} @@ -155,7 +155,7 @@ func (configuration *FlexibleServersConfiguration) SetStatus(status genruntime.C return nil } -// +kubebuilder:webhook:path=/validate-dbforpostgresql-azure-com-v1beta20210601-flexibleserversconfiguration,mutating=false,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=dbforpostgresql.azure.com,resources=flexibleserversconfigurations,verbs=create;update,versions=v1beta20210601,name=validate.v1beta20210601.flexibleserversconfigurations.dbforpostgresql.azure.com,admissionReviewVersions=v1beta1 +// +kubebuilder:webhook:path=/validate-dbforpostgresql-azure-com-v1beta20210601-flexibleserversconfiguration,mutating=false,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=dbforpostgresql.azure.com,resources=flexibleserversconfigurations,verbs=create;update,versions=v1beta20210601,name=validate.v1beta20210601.flexibleserversconfigurations.dbforpostgresql.azure.com,admissionReviewVersions=v1 var _ admission.Validator = &FlexibleServersConfiguration{} diff --git a/v2/api/dbforpostgresql/v1beta20210601/flexible_servers_database_types_gen.go b/v2/api/dbforpostgresql/v1beta20210601/flexible_servers_database_types_gen.go index 4f781172c4..95c76e77d9 100644 --- a/v2/api/dbforpostgresql/v1beta20210601/flexible_servers_database_types_gen.go +++ b/v2/api/dbforpostgresql/v1beta20210601/flexible_servers_database_types_gen.go @@ -66,7 +66,7 @@ func (database *FlexibleServersDatabase) ConvertTo(hub conversion.Hub) error { return database.AssignPropertiesToFlexibleServersDatabase(destination) } -// +kubebuilder:webhook:path=/mutate-dbforpostgresql-azure-com-v1beta20210601-flexibleserversdatabase,mutating=true,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=dbforpostgresql.azure.com,resources=flexibleserversdatabases,verbs=create;update,versions=v1beta20210601,name=default.v1beta20210601.flexibleserversdatabases.dbforpostgresql.azure.com,admissionReviewVersions=v1beta1 +// +kubebuilder:webhook:path=/mutate-dbforpostgresql-azure-com-v1beta20210601-flexibleserversdatabase,mutating=true,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=dbforpostgresql.azure.com,resources=flexibleserversdatabases,verbs=create;update,versions=v1beta20210601,name=default.v1beta20210601.flexibleserversdatabases.dbforpostgresql.azure.com,admissionReviewVersions=v1 var _ admission.Defaulter = &FlexibleServersDatabase{} @@ -155,7 +155,7 @@ func (database *FlexibleServersDatabase) SetStatus(status genruntime.Convertible return nil } -// +kubebuilder:webhook:path=/validate-dbforpostgresql-azure-com-v1beta20210601-flexibleserversdatabase,mutating=false,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=dbforpostgresql.azure.com,resources=flexibleserversdatabases,verbs=create;update,versions=v1beta20210601,name=validate.v1beta20210601.flexibleserversdatabases.dbforpostgresql.azure.com,admissionReviewVersions=v1beta1 +// +kubebuilder:webhook:path=/validate-dbforpostgresql-azure-com-v1beta20210601-flexibleserversdatabase,mutating=false,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=dbforpostgresql.azure.com,resources=flexibleserversdatabases,verbs=create;update,versions=v1beta20210601,name=validate.v1beta20210601.flexibleserversdatabases.dbforpostgresql.azure.com,admissionReviewVersions=v1 var _ admission.Validator = &FlexibleServersDatabase{} diff --git a/v2/api/dbforpostgresql/v1beta20210601/flexible_servers_firewall_rule_types_gen.go b/v2/api/dbforpostgresql/v1beta20210601/flexible_servers_firewall_rule_types_gen.go index 9146a7f3d9..2b9011e797 100644 --- a/v2/api/dbforpostgresql/v1beta20210601/flexible_servers_firewall_rule_types_gen.go +++ b/v2/api/dbforpostgresql/v1beta20210601/flexible_servers_firewall_rule_types_gen.go @@ -66,7 +66,7 @@ func (rule *FlexibleServersFirewallRule) ConvertTo(hub conversion.Hub) error { return rule.AssignPropertiesToFlexibleServersFirewallRule(destination) } -// +kubebuilder:webhook:path=/mutate-dbforpostgresql-azure-com-v1beta20210601-flexibleserversfirewallrule,mutating=true,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=dbforpostgresql.azure.com,resources=flexibleserversfirewallrules,verbs=create;update,versions=v1beta20210601,name=default.v1beta20210601.flexibleserversfirewallrules.dbforpostgresql.azure.com,admissionReviewVersions=v1beta1 +// +kubebuilder:webhook:path=/mutate-dbforpostgresql-azure-com-v1beta20210601-flexibleserversfirewallrule,mutating=true,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=dbforpostgresql.azure.com,resources=flexibleserversfirewallrules,verbs=create;update,versions=v1beta20210601,name=default.v1beta20210601.flexibleserversfirewallrules.dbforpostgresql.azure.com,admissionReviewVersions=v1 var _ admission.Defaulter = &FlexibleServersFirewallRule{} @@ -155,7 +155,7 @@ func (rule *FlexibleServersFirewallRule) SetStatus(status genruntime.Convertible return nil } -// +kubebuilder:webhook:path=/validate-dbforpostgresql-azure-com-v1beta20210601-flexibleserversfirewallrule,mutating=false,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=dbforpostgresql.azure.com,resources=flexibleserversfirewallrules,verbs=create;update,versions=v1beta20210601,name=validate.v1beta20210601.flexibleserversfirewallrules.dbforpostgresql.azure.com,admissionReviewVersions=v1beta1 +// +kubebuilder:webhook:path=/validate-dbforpostgresql-azure-com-v1beta20210601-flexibleserversfirewallrule,mutating=false,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=dbforpostgresql.azure.com,resources=flexibleserversfirewallrules,verbs=create;update,versions=v1beta20210601,name=validate.v1beta20210601.flexibleserversfirewallrules.dbforpostgresql.azure.com,admissionReviewVersions=v1 var _ admission.Validator = &FlexibleServersFirewallRule{} diff --git a/v2/api/documentdb/v1alpha1api20210515/database_account_types_gen.go b/v2/api/documentdb/v1alpha1api20210515/database_account_types_gen.go index efdd2a2af9..d729021f73 100644 --- a/v2/api/documentdb/v1alpha1api20210515/database_account_types_gen.go +++ b/v2/api/documentdb/v1alpha1api20210515/database_account_types_gen.go @@ -80,7 +80,7 @@ func (account *DatabaseAccount) ConvertTo(hub conversion.Hub) error { return nil } -// +kubebuilder:webhook:path=/mutate-documentdb-azure-com-v1alpha1api20210515-databaseaccount,mutating=true,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=documentdb.azure.com,resources=databaseaccounts,verbs=create;update,versions=v1alpha1api20210515,name=default.v1alpha1api20210515.databaseaccounts.documentdb.azure.com,admissionReviewVersions=v1beta1 +// +kubebuilder:webhook:path=/mutate-documentdb-azure-com-v1alpha1api20210515-databaseaccount,mutating=true,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=documentdb.azure.com,resources=databaseaccounts,verbs=create;update,versions=v1alpha1api20210515,name=default.v1alpha1api20210515.databaseaccounts.documentdb.azure.com,admissionReviewVersions=v1 var _ admission.Defaulter = &DatabaseAccount{} @@ -169,7 +169,7 @@ func (account *DatabaseAccount) SetStatus(status genruntime.ConvertibleStatus) e return nil } -// +kubebuilder:webhook:path=/validate-documentdb-azure-com-v1alpha1api20210515-databaseaccount,mutating=false,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=documentdb.azure.com,resources=databaseaccounts,verbs=create;update,versions=v1alpha1api20210515,name=validate.v1alpha1api20210515.databaseaccounts.documentdb.azure.com,admissionReviewVersions=v1beta1 +// +kubebuilder:webhook:path=/validate-documentdb-azure-com-v1alpha1api20210515-databaseaccount,mutating=false,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=documentdb.azure.com,resources=databaseaccounts,verbs=create;update,versions=v1alpha1api20210515,name=validate.v1alpha1api20210515.databaseaccounts.documentdb.azure.com,admissionReviewVersions=v1 var _ admission.Validator = &DatabaseAccount{} diff --git a/v2/api/documentdb/v1alpha1api20210515/mongodb_database_collection_throughput_setting_types_gen.go b/v2/api/documentdb/v1alpha1api20210515/mongodb_database_collection_throughput_setting_types_gen.go index 82b2219b8d..0dfd246a46 100644 --- a/v2/api/documentdb/v1alpha1api20210515/mongodb_database_collection_throughput_setting_types_gen.go +++ b/v2/api/documentdb/v1alpha1api20210515/mongodb_database_collection_throughput_setting_types_gen.go @@ -80,7 +80,7 @@ func (setting *MongodbDatabaseCollectionThroughputSetting) ConvertTo(hub convers return nil } -// +kubebuilder:webhook:path=/mutate-documentdb-azure-com-v1alpha1api20210515-mongodbdatabasecollectionthroughputsetting,mutating=true,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=documentdb.azure.com,resources=mongodbdatabasecollectionthroughputsettings,verbs=create;update,versions=v1alpha1api20210515,name=default.v1alpha1api20210515.mongodbdatabasecollectionthroughputsettings.documentdb.azure.com,admissionReviewVersions=v1beta1 +// +kubebuilder:webhook:path=/mutate-documentdb-azure-com-v1alpha1api20210515-mongodbdatabasecollectionthroughputsetting,mutating=true,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=documentdb.azure.com,resources=mongodbdatabasecollectionthroughputsettings,verbs=create;update,versions=v1alpha1api20210515,name=default.v1alpha1api20210515.mongodbdatabasecollectionthroughputsettings.documentdb.azure.com,admissionReviewVersions=v1 var _ admission.Defaulter = &MongodbDatabaseCollectionThroughputSetting{} @@ -162,7 +162,7 @@ func (setting *MongodbDatabaseCollectionThroughputSetting) SetStatus(status genr return nil } -// +kubebuilder:webhook:path=/validate-documentdb-azure-com-v1alpha1api20210515-mongodbdatabasecollectionthroughputsetting,mutating=false,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=documentdb.azure.com,resources=mongodbdatabasecollectionthroughputsettings,verbs=create;update,versions=v1alpha1api20210515,name=validate.v1alpha1api20210515.mongodbdatabasecollectionthroughputsettings.documentdb.azure.com,admissionReviewVersions=v1beta1 +// +kubebuilder:webhook:path=/validate-documentdb-azure-com-v1alpha1api20210515-mongodbdatabasecollectionthroughputsetting,mutating=false,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=documentdb.azure.com,resources=mongodbdatabasecollectionthroughputsettings,verbs=create;update,versions=v1alpha1api20210515,name=validate.v1alpha1api20210515.mongodbdatabasecollectionthroughputsettings.documentdb.azure.com,admissionReviewVersions=v1 var _ admission.Validator = &MongodbDatabaseCollectionThroughputSetting{} diff --git a/v2/api/documentdb/v1alpha1api20210515/mongodb_database_collection_types_gen.go b/v2/api/documentdb/v1alpha1api20210515/mongodb_database_collection_types_gen.go index fa619d8326..21bc053584 100644 --- a/v2/api/documentdb/v1alpha1api20210515/mongodb_database_collection_types_gen.go +++ b/v2/api/documentdb/v1alpha1api20210515/mongodb_database_collection_types_gen.go @@ -80,7 +80,7 @@ func (collection *MongodbDatabaseCollection) ConvertTo(hub conversion.Hub) error return nil } -// +kubebuilder:webhook:path=/mutate-documentdb-azure-com-v1alpha1api20210515-mongodbdatabasecollection,mutating=true,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=documentdb.azure.com,resources=mongodbdatabasecollections,verbs=create;update,versions=v1alpha1api20210515,name=default.v1alpha1api20210515.mongodbdatabasecollections.documentdb.azure.com,admissionReviewVersions=v1beta1 +// +kubebuilder:webhook:path=/mutate-documentdb-azure-com-v1alpha1api20210515-mongodbdatabasecollection,mutating=true,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=documentdb.azure.com,resources=mongodbdatabasecollections,verbs=create;update,versions=v1alpha1api20210515,name=default.v1alpha1api20210515.mongodbdatabasecollections.documentdb.azure.com,admissionReviewVersions=v1 var _ admission.Defaulter = &MongodbDatabaseCollection{} @@ -169,7 +169,7 @@ func (collection *MongodbDatabaseCollection) SetStatus(status genruntime.Convert return nil } -// +kubebuilder:webhook:path=/validate-documentdb-azure-com-v1alpha1api20210515-mongodbdatabasecollection,mutating=false,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=documentdb.azure.com,resources=mongodbdatabasecollections,verbs=create;update,versions=v1alpha1api20210515,name=validate.v1alpha1api20210515.mongodbdatabasecollections.documentdb.azure.com,admissionReviewVersions=v1beta1 +// +kubebuilder:webhook:path=/validate-documentdb-azure-com-v1alpha1api20210515-mongodbdatabasecollection,mutating=false,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=documentdb.azure.com,resources=mongodbdatabasecollections,verbs=create;update,versions=v1alpha1api20210515,name=validate.v1alpha1api20210515.mongodbdatabasecollections.documentdb.azure.com,admissionReviewVersions=v1 var _ admission.Validator = &MongodbDatabaseCollection{} diff --git a/v2/api/documentdb/v1alpha1api20210515/mongodb_database_throughput_setting_types_gen.go b/v2/api/documentdb/v1alpha1api20210515/mongodb_database_throughput_setting_types_gen.go index 0a6c62607b..820224ad15 100644 --- a/v2/api/documentdb/v1alpha1api20210515/mongodb_database_throughput_setting_types_gen.go +++ b/v2/api/documentdb/v1alpha1api20210515/mongodb_database_throughput_setting_types_gen.go @@ -80,7 +80,7 @@ func (setting *MongodbDatabaseThroughputSetting) ConvertTo(hub conversion.Hub) e return nil } -// +kubebuilder:webhook:path=/mutate-documentdb-azure-com-v1alpha1api20210515-mongodbdatabasethroughputsetting,mutating=true,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=documentdb.azure.com,resources=mongodbdatabasethroughputsettings,verbs=create;update,versions=v1alpha1api20210515,name=default.v1alpha1api20210515.mongodbdatabasethroughputsettings.documentdb.azure.com,admissionReviewVersions=v1beta1 +// +kubebuilder:webhook:path=/mutate-documentdb-azure-com-v1alpha1api20210515-mongodbdatabasethroughputsetting,mutating=true,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=documentdb.azure.com,resources=mongodbdatabasethroughputsettings,verbs=create;update,versions=v1alpha1api20210515,name=default.v1alpha1api20210515.mongodbdatabasethroughputsettings.documentdb.azure.com,admissionReviewVersions=v1 var _ admission.Defaulter = &MongodbDatabaseThroughputSetting{} @@ -162,7 +162,7 @@ func (setting *MongodbDatabaseThroughputSetting) SetStatus(status genruntime.Con return nil } -// +kubebuilder:webhook:path=/validate-documentdb-azure-com-v1alpha1api20210515-mongodbdatabasethroughputsetting,mutating=false,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=documentdb.azure.com,resources=mongodbdatabasethroughputsettings,verbs=create;update,versions=v1alpha1api20210515,name=validate.v1alpha1api20210515.mongodbdatabasethroughputsettings.documentdb.azure.com,admissionReviewVersions=v1beta1 +// +kubebuilder:webhook:path=/validate-documentdb-azure-com-v1alpha1api20210515-mongodbdatabasethroughputsetting,mutating=false,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=documentdb.azure.com,resources=mongodbdatabasethroughputsettings,verbs=create;update,versions=v1alpha1api20210515,name=validate.v1alpha1api20210515.mongodbdatabasethroughputsettings.documentdb.azure.com,admissionReviewVersions=v1 var _ admission.Validator = &MongodbDatabaseThroughputSetting{} diff --git a/v2/api/documentdb/v1alpha1api20210515/mongodb_database_types_gen.go b/v2/api/documentdb/v1alpha1api20210515/mongodb_database_types_gen.go index 79fd686c1b..6890385702 100644 --- a/v2/api/documentdb/v1alpha1api20210515/mongodb_database_types_gen.go +++ b/v2/api/documentdb/v1alpha1api20210515/mongodb_database_types_gen.go @@ -80,7 +80,7 @@ func (database *MongodbDatabase) ConvertTo(hub conversion.Hub) error { return nil } -// +kubebuilder:webhook:path=/mutate-documentdb-azure-com-v1alpha1api20210515-mongodbdatabase,mutating=true,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=documentdb.azure.com,resources=mongodbdatabases,verbs=create;update,versions=v1alpha1api20210515,name=default.v1alpha1api20210515.mongodbdatabases.documentdb.azure.com,admissionReviewVersions=v1beta1 +// +kubebuilder:webhook:path=/mutate-documentdb-azure-com-v1alpha1api20210515-mongodbdatabase,mutating=true,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=documentdb.azure.com,resources=mongodbdatabases,verbs=create;update,versions=v1alpha1api20210515,name=default.v1alpha1api20210515.mongodbdatabases.documentdb.azure.com,admissionReviewVersions=v1 var _ admission.Defaulter = &MongodbDatabase{} @@ -169,7 +169,7 @@ func (database *MongodbDatabase) SetStatus(status genruntime.ConvertibleStatus) return nil } -// +kubebuilder:webhook:path=/validate-documentdb-azure-com-v1alpha1api20210515-mongodbdatabase,mutating=false,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=documentdb.azure.com,resources=mongodbdatabases,verbs=create;update,versions=v1alpha1api20210515,name=validate.v1alpha1api20210515.mongodbdatabases.documentdb.azure.com,admissionReviewVersions=v1beta1 +// +kubebuilder:webhook:path=/validate-documentdb-azure-com-v1alpha1api20210515-mongodbdatabase,mutating=false,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=documentdb.azure.com,resources=mongodbdatabases,verbs=create;update,versions=v1alpha1api20210515,name=validate.v1alpha1api20210515.mongodbdatabases.documentdb.azure.com,admissionReviewVersions=v1 var _ admission.Validator = &MongodbDatabase{} diff --git a/v2/api/documentdb/v1alpha1api20210515/sql_database_container_stored_procedure_types_gen.go b/v2/api/documentdb/v1alpha1api20210515/sql_database_container_stored_procedure_types_gen.go index f8de49c7be..e9caff1986 100644 --- a/v2/api/documentdb/v1alpha1api20210515/sql_database_container_stored_procedure_types_gen.go +++ b/v2/api/documentdb/v1alpha1api20210515/sql_database_container_stored_procedure_types_gen.go @@ -80,7 +80,7 @@ func (procedure *SqlDatabaseContainerStoredProcedure) ConvertTo(hub conversion.H return nil } -// +kubebuilder:webhook:path=/mutate-documentdb-azure-com-v1alpha1api20210515-sqldatabasecontainerstoredprocedure,mutating=true,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=documentdb.azure.com,resources=sqldatabasecontainerstoredprocedures,verbs=create;update,versions=v1alpha1api20210515,name=default.v1alpha1api20210515.sqldatabasecontainerstoredprocedures.documentdb.azure.com,admissionReviewVersions=v1beta1 +// +kubebuilder:webhook:path=/mutate-documentdb-azure-com-v1alpha1api20210515-sqldatabasecontainerstoredprocedure,mutating=true,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=documentdb.azure.com,resources=sqldatabasecontainerstoredprocedures,verbs=create;update,versions=v1alpha1api20210515,name=default.v1alpha1api20210515.sqldatabasecontainerstoredprocedures.documentdb.azure.com,admissionReviewVersions=v1 var _ admission.Defaulter = &SqlDatabaseContainerStoredProcedure{} @@ -169,7 +169,7 @@ func (procedure *SqlDatabaseContainerStoredProcedure) SetStatus(status genruntim return nil } -// +kubebuilder:webhook:path=/validate-documentdb-azure-com-v1alpha1api20210515-sqldatabasecontainerstoredprocedure,mutating=false,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=documentdb.azure.com,resources=sqldatabasecontainerstoredprocedures,verbs=create;update,versions=v1alpha1api20210515,name=validate.v1alpha1api20210515.sqldatabasecontainerstoredprocedures.documentdb.azure.com,admissionReviewVersions=v1beta1 +// +kubebuilder:webhook:path=/validate-documentdb-azure-com-v1alpha1api20210515-sqldatabasecontainerstoredprocedure,mutating=false,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=documentdb.azure.com,resources=sqldatabasecontainerstoredprocedures,verbs=create;update,versions=v1alpha1api20210515,name=validate.v1alpha1api20210515.sqldatabasecontainerstoredprocedures.documentdb.azure.com,admissionReviewVersions=v1 var _ admission.Validator = &SqlDatabaseContainerStoredProcedure{} diff --git a/v2/api/documentdb/v1alpha1api20210515/sql_database_container_throughput_setting_types_gen.go b/v2/api/documentdb/v1alpha1api20210515/sql_database_container_throughput_setting_types_gen.go index 200bc00daa..9e679fce4c 100644 --- a/v2/api/documentdb/v1alpha1api20210515/sql_database_container_throughput_setting_types_gen.go +++ b/v2/api/documentdb/v1alpha1api20210515/sql_database_container_throughput_setting_types_gen.go @@ -80,7 +80,7 @@ func (setting *SqlDatabaseContainerThroughputSetting) ConvertTo(hub conversion.H return nil } -// +kubebuilder:webhook:path=/mutate-documentdb-azure-com-v1alpha1api20210515-sqldatabasecontainerthroughputsetting,mutating=true,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=documentdb.azure.com,resources=sqldatabasecontainerthroughputsettings,verbs=create;update,versions=v1alpha1api20210515,name=default.v1alpha1api20210515.sqldatabasecontainerthroughputsettings.documentdb.azure.com,admissionReviewVersions=v1beta1 +// +kubebuilder:webhook:path=/mutate-documentdb-azure-com-v1alpha1api20210515-sqldatabasecontainerthroughputsetting,mutating=true,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=documentdb.azure.com,resources=sqldatabasecontainerthroughputsettings,verbs=create;update,versions=v1alpha1api20210515,name=default.v1alpha1api20210515.sqldatabasecontainerthroughputsettings.documentdb.azure.com,admissionReviewVersions=v1 var _ admission.Defaulter = &SqlDatabaseContainerThroughputSetting{} @@ -162,7 +162,7 @@ func (setting *SqlDatabaseContainerThroughputSetting) SetStatus(status genruntim return nil } -// +kubebuilder:webhook:path=/validate-documentdb-azure-com-v1alpha1api20210515-sqldatabasecontainerthroughputsetting,mutating=false,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=documentdb.azure.com,resources=sqldatabasecontainerthroughputsettings,verbs=create;update,versions=v1alpha1api20210515,name=validate.v1alpha1api20210515.sqldatabasecontainerthroughputsettings.documentdb.azure.com,admissionReviewVersions=v1beta1 +// +kubebuilder:webhook:path=/validate-documentdb-azure-com-v1alpha1api20210515-sqldatabasecontainerthroughputsetting,mutating=false,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=documentdb.azure.com,resources=sqldatabasecontainerthroughputsettings,verbs=create;update,versions=v1alpha1api20210515,name=validate.v1alpha1api20210515.sqldatabasecontainerthroughputsettings.documentdb.azure.com,admissionReviewVersions=v1 var _ admission.Validator = &SqlDatabaseContainerThroughputSetting{} diff --git a/v2/api/documentdb/v1alpha1api20210515/sql_database_container_trigger_types_gen.go b/v2/api/documentdb/v1alpha1api20210515/sql_database_container_trigger_types_gen.go index 82099e09d9..30df752b70 100644 --- a/v2/api/documentdb/v1alpha1api20210515/sql_database_container_trigger_types_gen.go +++ b/v2/api/documentdb/v1alpha1api20210515/sql_database_container_trigger_types_gen.go @@ -80,7 +80,7 @@ func (trigger *SqlDatabaseContainerTrigger) ConvertTo(hub conversion.Hub) error return nil } -// +kubebuilder:webhook:path=/mutate-documentdb-azure-com-v1alpha1api20210515-sqldatabasecontainertrigger,mutating=true,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=documentdb.azure.com,resources=sqldatabasecontainertriggers,verbs=create;update,versions=v1alpha1api20210515,name=default.v1alpha1api20210515.sqldatabasecontainertriggers.documentdb.azure.com,admissionReviewVersions=v1beta1 +// +kubebuilder:webhook:path=/mutate-documentdb-azure-com-v1alpha1api20210515-sqldatabasecontainertrigger,mutating=true,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=documentdb.azure.com,resources=sqldatabasecontainertriggers,verbs=create;update,versions=v1alpha1api20210515,name=default.v1alpha1api20210515.sqldatabasecontainertriggers.documentdb.azure.com,admissionReviewVersions=v1 var _ admission.Defaulter = &SqlDatabaseContainerTrigger{} @@ -169,7 +169,7 @@ func (trigger *SqlDatabaseContainerTrigger) SetStatus(status genruntime.Converti return nil } -// +kubebuilder:webhook:path=/validate-documentdb-azure-com-v1alpha1api20210515-sqldatabasecontainertrigger,mutating=false,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=documentdb.azure.com,resources=sqldatabasecontainertriggers,verbs=create;update,versions=v1alpha1api20210515,name=validate.v1alpha1api20210515.sqldatabasecontainertriggers.documentdb.azure.com,admissionReviewVersions=v1beta1 +// +kubebuilder:webhook:path=/validate-documentdb-azure-com-v1alpha1api20210515-sqldatabasecontainertrigger,mutating=false,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=documentdb.azure.com,resources=sqldatabasecontainertriggers,verbs=create;update,versions=v1alpha1api20210515,name=validate.v1alpha1api20210515.sqldatabasecontainertriggers.documentdb.azure.com,admissionReviewVersions=v1 var _ admission.Validator = &SqlDatabaseContainerTrigger{} diff --git a/v2/api/documentdb/v1alpha1api20210515/sql_database_container_types_gen.go b/v2/api/documentdb/v1alpha1api20210515/sql_database_container_types_gen.go index d0090f2334..c0c6723a46 100644 --- a/v2/api/documentdb/v1alpha1api20210515/sql_database_container_types_gen.go +++ b/v2/api/documentdb/v1alpha1api20210515/sql_database_container_types_gen.go @@ -80,7 +80,7 @@ func (container *SqlDatabaseContainer) ConvertTo(hub conversion.Hub) error { return nil } -// +kubebuilder:webhook:path=/mutate-documentdb-azure-com-v1alpha1api20210515-sqldatabasecontainer,mutating=true,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=documentdb.azure.com,resources=sqldatabasecontainers,verbs=create;update,versions=v1alpha1api20210515,name=default.v1alpha1api20210515.sqldatabasecontainers.documentdb.azure.com,admissionReviewVersions=v1beta1 +// +kubebuilder:webhook:path=/mutate-documentdb-azure-com-v1alpha1api20210515-sqldatabasecontainer,mutating=true,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=documentdb.azure.com,resources=sqldatabasecontainers,verbs=create;update,versions=v1alpha1api20210515,name=default.v1alpha1api20210515.sqldatabasecontainers.documentdb.azure.com,admissionReviewVersions=v1 var _ admission.Defaulter = &SqlDatabaseContainer{} @@ -169,7 +169,7 @@ func (container *SqlDatabaseContainer) SetStatus(status genruntime.ConvertibleSt return nil } -// +kubebuilder:webhook:path=/validate-documentdb-azure-com-v1alpha1api20210515-sqldatabasecontainer,mutating=false,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=documentdb.azure.com,resources=sqldatabasecontainers,verbs=create;update,versions=v1alpha1api20210515,name=validate.v1alpha1api20210515.sqldatabasecontainers.documentdb.azure.com,admissionReviewVersions=v1beta1 +// +kubebuilder:webhook:path=/validate-documentdb-azure-com-v1alpha1api20210515-sqldatabasecontainer,mutating=false,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=documentdb.azure.com,resources=sqldatabasecontainers,verbs=create;update,versions=v1alpha1api20210515,name=validate.v1alpha1api20210515.sqldatabasecontainers.documentdb.azure.com,admissionReviewVersions=v1 var _ admission.Validator = &SqlDatabaseContainer{} diff --git a/v2/api/documentdb/v1alpha1api20210515/sql_database_container_user_defined_function_types_gen.go b/v2/api/documentdb/v1alpha1api20210515/sql_database_container_user_defined_function_types_gen.go index 9a1729cd4a..45037504ce 100644 --- a/v2/api/documentdb/v1alpha1api20210515/sql_database_container_user_defined_function_types_gen.go +++ b/v2/api/documentdb/v1alpha1api20210515/sql_database_container_user_defined_function_types_gen.go @@ -80,7 +80,7 @@ func (function *SqlDatabaseContainerUserDefinedFunction) ConvertTo(hub conversio return nil } -// +kubebuilder:webhook:path=/mutate-documentdb-azure-com-v1alpha1api20210515-sqldatabasecontaineruserdefinedfunction,mutating=true,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=documentdb.azure.com,resources=sqldatabasecontaineruserdefinedfunctions,verbs=create;update,versions=v1alpha1api20210515,name=default.v1alpha1api20210515.sqldatabasecontaineruserdefinedfunctions.documentdb.azure.com,admissionReviewVersions=v1beta1 +// +kubebuilder:webhook:path=/mutate-documentdb-azure-com-v1alpha1api20210515-sqldatabasecontaineruserdefinedfunction,mutating=true,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=documentdb.azure.com,resources=sqldatabasecontaineruserdefinedfunctions,verbs=create;update,versions=v1alpha1api20210515,name=default.v1alpha1api20210515.sqldatabasecontaineruserdefinedfunctions.documentdb.azure.com,admissionReviewVersions=v1 var _ admission.Defaulter = &SqlDatabaseContainerUserDefinedFunction{} @@ -169,7 +169,7 @@ func (function *SqlDatabaseContainerUserDefinedFunction) SetStatus(status genrun return nil } -// +kubebuilder:webhook:path=/validate-documentdb-azure-com-v1alpha1api20210515-sqldatabasecontaineruserdefinedfunction,mutating=false,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=documentdb.azure.com,resources=sqldatabasecontaineruserdefinedfunctions,verbs=create;update,versions=v1alpha1api20210515,name=validate.v1alpha1api20210515.sqldatabasecontaineruserdefinedfunctions.documentdb.azure.com,admissionReviewVersions=v1beta1 +// +kubebuilder:webhook:path=/validate-documentdb-azure-com-v1alpha1api20210515-sqldatabasecontaineruserdefinedfunction,mutating=false,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=documentdb.azure.com,resources=sqldatabasecontaineruserdefinedfunctions,verbs=create;update,versions=v1alpha1api20210515,name=validate.v1alpha1api20210515.sqldatabasecontaineruserdefinedfunctions.documentdb.azure.com,admissionReviewVersions=v1 var _ admission.Validator = &SqlDatabaseContainerUserDefinedFunction{} diff --git a/v2/api/documentdb/v1alpha1api20210515/sql_database_throughput_setting_types_gen.go b/v2/api/documentdb/v1alpha1api20210515/sql_database_throughput_setting_types_gen.go index f20457f95c..6cbd659255 100644 --- a/v2/api/documentdb/v1alpha1api20210515/sql_database_throughput_setting_types_gen.go +++ b/v2/api/documentdb/v1alpha1api20210515/sql_database_throughput_setting_types_gen.go @@ -80,7 +80,7 @@ func (setting *SqlDatabaseThroughputSetting) ConvertTo(hub conversion.Hub) error return nil } -// +kubebuilder:webhook:path=/mutate-documentdb-azure-com-v1alpha1api20210515-sqldatabasethroughputsetting,mutating=true,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=documentdb.azure.com,resources=sqldatabasethroughputsettings,verbs=create;update,versions=v1alpha1api20210515,name=default.v1alpha1api20210515.sqldatabasethroughputsettings.documentdb.azure.com,admissionReviewVersions=v1beta1 +// +kubebuilder:webhook:path=/mutate-documentdb-azure-com-v1alpha1api20210515-sqldatabasethroughputsetting,mutating=true,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=documentdb.azure.com,resources=sqldatabasethroughputsettings,verbs=create;update,versions=v1alpha1api20210515,name=default.v1alpha1api20210515.sqldatabasethroughputsettings.documentdb.azure.com,admissionReviewVersions=v1 var _ admission.Defaulter = &SqlDatabaseThroughputSetting{} @@ -162,7 +162,7 @@ func (setting *SqlDatabaseThroughputSetting) SetStatus(status genruntime.Convert return nil } -// +kubebuilder:webhook:path=/validate-documentdb-azure-com-v1alpha1api20210515-sqldatabasethroughputsetting,mutating=false,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=documentdb.azure.com,resources=sqldatabasethroughputsettings,verbs=create;update,versions=v1alpha1api20210515,name=validate.v1alpha1api20210515.sqldatabasethroughputsettings.documentdb.azure.com,admissionReviewVersions=v1beta1 +// +kubebuilder:webhook:path=/validate-documentdb-azure-com-v1alpha1api20210515-sqldatabasethroughputsetting,mutating=false,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=documentdb.azure.com,resources=sqldatabasethroughputsettings,verbs=create;update,versions=v1alpha1api20210515,name=validate.v1alpha1api20210515.sqldatabasethroughputsettings.documentdb.azure.com,admissionReviewVersions=v1 var _ admission.Validator = &SqlDatabaseThroughputSetting{} diff --git a/v2/api/documentdb/v1alpha1api20210515/sql_database_types_gen.go b/v2/api/documentdb/v1alpha1api20210515/sql_database_types_gen.go index 324b1dde8f..bbcbaf9f3b 100644 --- a/v2/api/documentdb/v1alpha1api20210515/sql_database_types_gen.go +++ b/v2/api/documentdb/v1alpha1api20210515/sql_database_types_gen.go @@ -80,7 +80,7 @@ func (database *SqlDatabase) ConvertTo(hub conversion.Hub) error { return nil } -// +kubebuilder:webhook:path=/mutate-documentdb-azure-com-v1alpha1api20210515-sqldatabase,mutating=true,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=documentdb.azure.com,resources=sqldatabases,verbs=create;update,versions=v1alpha1api20210515,name=default.v1alpha1api20210515.sqldatabases.documentdb.azure.com,admissionReviewVersions=v1beta1 +// +kubebuilder:webhook:path=/mutate-documentdb-azure-com-v1alpha1api20210515-sqldatabase,mutating=true,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=documentdb.azure.com,resources=sqldatabases,verbs=create;update,versions=v1alpha1api20210515,name=default.v1alpha1api20210515.sqldatabases.documentdb.azure.com,admissionReviewVersions=v1 var _ admission.Defaulter = &SqlDatabase{} @@ -169,7 +169,7 @@ func (database *SqlDatabase) SetStatus(status genruntime.ConvertibleStatus) erro return nil } -// +kubebuilder:webhook:path=/validate-documentdb-azure-com-v1alpha1api20210515-sqldatabase,mutating=false,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=documentdb.azure.com,resources=sqldatabases,verbs=create;update,versions=v1alpha1api20210515,name=validate.v1alpha1api20210515.sqldatabases.documentdb.azure.com,admissionReviewVersions=v1beta1 +// +kubebuilder:webhook:path=/validate-documentdb-azure-com-v1alpha1api20210515-sqldatabase,mutating=false,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=documentdb.azure.com,resources=sqldatabases,verbs=create;update,versions=v1alpha1api20210515,name=validate.v1alpha1api20210515.sqldatabases.documentdb.azure.com,admissionReviewVersions=v1 var _ admission.Validator = &SqlDatabase{} diff --git a/v2/api/documentdb/v1beta20210515/database_account_types_gen.go b/v2/api/documentdb/v1beta20210515/database_account_types_gen.go index 44be64460c..2767163488 100644 --- a/v2/api/documentdb/v1beta20210515/database_account_types_gen.go +++ b/v2/api/documentdb/v1beta20210515/database_account_types_gen.go @@ -66,7 +66,7 @@ func (account *DatabaseAccount) ConvertTo(hub conversion.Hub) error { return account.AssignPropertiesToDatabaseAccount(destination) } -// +kubebuilder:webhook:path=/mutate-documentdb-azure-com-v1beta20210515-databaseaccount,mutating=true,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=documentdb.azure.com,resources=databaseaccounts,verbs=create;update,versions=v1beta20210515,name=default.v1beta20210515.databaseaccounts.documentdb.azure.com,admissionReviewVersions=v1beta1 +// +kubebuilder:webhook:path=/mutate-documentdb-azure-com-v1beta20210515-databaseaccount,mutating=true,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=documentdb.azure.com,resources=databaseaccounts,verbs=create;update,versions=v1beta20210515,name=default.v1beta20210515.databaseaccounts.documentdb.azure.com,admissionReviewVersions=v1 var _ admission.Defaulter = &DatabaseAccount{} @@ -155,7 +155,7 @@ func (account *DatabaseAccount) SetStatus(status genruntime.ConvertibleStatus) e return nil } -// +kubebuilder:webhook:path=/validate-documentdb-azure-com-v1beta20210515-databaseaccount,mutating=false,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=documentdb.azure.com,resources=databaseaccounts,verbs=create;update,versions=v1beta20210515,name=validate.v1beta20210515.databaseaccounts.documentdb.azure.com,admissionReviewVersions=v1beta1 +// +kubebuilder:webhook:path=/validate-documentdb-azure-com-v1beta20210515-databaseaccount,mutating=false,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=documentdb.azure.com,resources=databaseaccounts,verbs=create;update,versions=v1beta20210515,name=validate.v1beta20210515.databaseaccounts.documentdb.azure.com,admissionReviewVersions=v1 var _ admission.Validator = &DatabaseAccount{} diff --git a/v2/api/documentdb/v1beta20210515/mongodb_database_collection_throughput_setting_types_gen.go b/v2/api/documentdb/v1beta20210515/mongodb_database_collection_throughput_setting_types_gen.go index 6b9722aee2..99317765bf 100644 --- a/v2/api/documentdb/v1beta20210515/mongodb_database_collection_throughput_setting_types_gen.go +++ b/v2/api/documentdb/v1beta20210515/mongodb_database_collection_throughput_setting_types_gen.go @@ -66,7 +66,7 @@ func (setting *MongodbDatabaseCollectionThroughputSetting) ConvertTo(hub convers return setting.AssignPropertiesToMongodbDatabaseCollectionThroughputSetting(destination) } -// +kubebuilder:webhook:path=/mutate-documentdb-azure-com-v1beta20210515-mongodbdatabasecollectionthroughputsetting,mutating=true,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=documentdb.azure.com,resources=mongodbdatabasecollectionthroughputsettings,verbs=create;update,versions=v1beta20210515,name=default.v1beta20210515.mongodbdatabasecollectionthroughputsettings.documentdb.azure.com,admissionReviewVersions=v1beta1 +// +kubebuilder:webhook:path=/mutate-documentdb-azure-com-v1beta20210515-mongodbdatabasecollectionthroughputsetting,mutating=true,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=documentdb.azure.com,resources=mongodbdatabasecollectionthroughputsettings,verbs=create;update,versions=v1beta20210515,name=default.v1beta20210515.mongodbdatabasecollectionthroughputsettings.documentdb.azure.com,admissionReviewVersions=v1 var _ admission.Defaulter = &MongodbDatabaseCollectionThroughputSetting{} @@ -148,7 +148,7 @@ func (setting *MongodbDatabaseCollectionThroughputSetting) SetStatus(status genr return nil } -// +kubebuilder:webhook:path=/validate-documentdb-azure-com-v1beta20210515-mongodbdatabasecollectionthroughputsetting,mutating=false,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=documentdb.azure.com,resources=mongodbdatabasecollectionthroughputsettings,verbs=create;update,versions=v1beta20210515,name=validate.v1beta20210515.mongodbdatabasecollectionthroughputsettings.documentdb.azure.com,admissionReviewVersions=v1beta1 +// +kubebuilder:webhook:path=/validate-documentdb-azure-com-v1beta20210515-mongodbdatabasecollectionthroughputsetting,mutating=false,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=documentdb.azure.com,resources=mongodbdatabasecollectionthroughputsettings,verbs=create;update,versions=v1beta20210515,name=validate.v1beta20210515.mongodbdatabasecollectionthroughputsettings.documentdb.azure.com,admissionReviewVersions=v1 var _ admission.Validator = &MongodbDatabaseCollectionThroughputSetting{} diff --git a/v2/api/documentdb/v1beta20210515/mongodb_database_collection_types_gen.go b/v2/api/documentdb/v1beta20210515/mongodb_database_collection_types_gen.go index 5f31ab7d4d..e065be7f46 100644 --- a/v2/api/documentdb/v1beta20210515/mongodb_database_collection_types_gen.go +++ b/v2/api/documentdb/v1beta20210515/mongodb_database_collection_types_gen.go @@ -66,7 +66,7 @@ func (collection *MongodbDatabaseCollection) ConvertTo(hub conversion.Hub) error return collection.AssignPropertiesToMongodbDatabaseCollection(destination) } -// +kubebuilder:webhook:path=/mutate-documentdb-azure-com-v1beta20210515-mongodbdatabasecollection,mutating=true,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=documentdb.azure.com,resources=mongodbdatabasecollections,verbs=create;update,versions=v1beta20210515,name=default.v1beta20210515.mongodbdatabasecollections.documentdb.azure.com,admissionReviewVersions=v1beta1 +// +kubebuilder:webhook:path=/mutate-documentdb-azure-com-v1beta20210515-mongodbdatabasecollection,mutating=true,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=documentdb.azure.com,resources=mongodbdatabasecollections,verbs=create;update,versions=v1beta20210515,name=default.v1beta20210515.mongodbdatabasecollections.documentdb.azure.com,admissionReviewVersions=v1 var _ admission.Defaulter = &MongodbDatabaseCollection{} @@ -155,7 +155,7 @@ func (collection *MongodbDatabaseCollection) SetStatus(status genruntime.Convert return nil } -// +kubebuilder:webhook:path=/validate-documentdb-azure-com-v1beta20210515-mongodbdatabasecollection,mutating=false,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=documentdb.azure.com,resources=mongodbdatabasecollections,verbs=create;update,versions=v1beta20210515,name=validate.v1beta20210515.mongodbdatabasecollections.documentdb.azure.com,admissionReviewVersions=v1beta1 +// +kubebuilder:webhook:path=/validate-documentdb-azure-com-v1beta20210515-mongodbdatabasecollection,mutating=false,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=documentdb.azure.com,resources=mongodbdatabasecollections,verbs=create;update,versions=v1beta20210515,name=validate.v1beta20210515.mongodbdatabasecollections.documentdb.azure.com,admissionReviewVersions=v1 var _ admission.Validator = &MongodbDatabaseCollection{} diff --git a/v2/api/documentdb/v1beta20210515/mongodb_database_throughput_setting_types_gen.go b/v2/api/documentdb/v1beta20210515/mongodb_database_throughput_setting_types_gen.go index 7b69eb9e64..daa88828ba 100644 --- a/v2/api/documentdb/v1beta20210515/mongodb_database_throughput_setting_types_gen.go +++ b/v2/api/documentdb/v1beta20210515/mongodb_database_throughput_setting_types_gen.go @@ -66,7 +66,7 @@ func (setting *MongodbDatabaseThroughputSetting) ConvertTo(hub conversion.Hub) e return setting.AssignPropertiesToMongodbDatabaseThroughputSetting(destination) } -// +kubebuilder:webhook:path=/mutate-documentdb-azure-com-v1beta20210515-mongodbdatabasethroughputsetting,mutating=true,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=documentdb.azure.com,resources=mongodbdatabasethroughputsettings,verbs=create;update,versions=v1beta20210515,name=default.v1beta20210515.mongodbdatabasethroughputsettings.documentdb.azure.com,admissionReviewVersions=v1beta1 +// +kubebuilder:webhook:path=/mutate-documentdb-azure-com-v1beta20210515-mongodbdatabasethroughputsetting,mutating=true,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=documentdb.azure.com,resources=mongodbdatabasethroughputsettings,verbs=create;update,versions=v1beta20210515,name=default.v1beta20210515.mongodbdatabasethroughputsettings.documentdb.azure.com,admissionReviewVersions=v1 var _ admission.Defaulter = &MongodbDatabaseThroughputSetting{} @@ -148,7 +148,7 @@ func (setting *MongodbDatabaseThroughputSetting) SetStatus(status genruntime.Con return nil } -// +kubebuilder:webhook:path=/validate-documentdb-azure-com-v1beta20210515-mongodbdatabasethroughputsetting,mutating=false,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=documentdb.azure.com,resources=mongodbdatabasethroughputsettings,verbs=create;update,versions=v1beta20210515,name=validate.v1beta20210515.mongodbdatabasethroughputsettings.documentdb.azure.com,admissionReviewVersions=v1beta1 +// +kubebuilder:webhook:path=/validate-documentdb-azure-com-v1beta20210515-mongodbdatabasethroughputsetting,mutating=false,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=documentdb.azure.com,resources=mongodbdatabasethroughputsettings,verbs=create;update,versions=v1beta20210515,name=validate.v1beta20210515.mongodbdatabasethroughputsettings.documentdb.azure.com,admissionReviewVersions=v1 var _ admission.Validator = &MongodbDatabaseThroughputSetting{} diff --git a/v2/api/documentdb/v1beta20210515/mongodb_database_types_gen.go b/v2/api/documentdb/v1beta20210515/mongodb_database_types_gen.go index 3cbc72a4a8..5de0150661 100644 --- a/v2/api/documentdb/v1beta20210515/mongodb_database_types_gen.go +++ b/v2/api/documentdb/v1beta20210515/mongodb_database_types_gen.go @@ -66,7 +66,7 @@ func (database *MongodbDatabase) ConvertTo(hub conversion.Hub) error { return database.AssignPropertiesToMongodbDatabase(destination) } -// +kubebuilder:webhook:path=/mutate-documentdb-azure-com-v1beta20210515-mongodbdatabase,mutating=true,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=documentdb.azure.com,resources=mongodbdatabases,verbs=create;update,versions=v1beta20210515,name=default.v1beta20210515.mongodbdatabases.documentdb.azure.com,admissionReviewVersions=v1beta1 +// +kubebuilder:webhook:path=/mutate-documentdb-azure-com-v1beta20210515-mongodbdatabase,mutating=true,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=documentdb.azure.com,resources=mongodbdatabases,verbs=create;update,versions=v1beta20210515,name=default.v1beta20210515.mongodbdatabases.documentdb.azure.com,admissionReviewVersions=v1 var _ admission.Defaulter = &MongodbDatabase{} @@ -155,7 +155,7 @@ func (database *MongodbDatabase) SetStatus(status genruntime.ConvertibleStatus) return nil } -// +kubebuilder:webhook:path=/validate-documentdb-azure-com-v1beta20210515-mongodbdatabase,mutating=false,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=documentdb.azure.com,resources=mongodbdatabases,verbs=create;update,versions=v1beta20210515,name=validate.v1beta20210515.mongodbdatabases.documentdb.azure.com,admissionReviewVersions=v1beta1 +// +kubebuilder:webhook:path=/validate-documentdb-azure-com-v1beta20210515-mongodbdatabase,mutating=false,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=documentdb.azure.com,resources=mongodbdatabases,verbs=create;update,versions=v1beta20210515,name=validate.v1beta20210515.mongodbdatabases.documentdb.azure.com,admissionReviewVersions=v1 var _ admission.Validator = &MongodbDatabase{} diff --git a/v2/api/documentdb/v1beta20210515/sql_database_container_stored_procedure_types_gen.go b/v2/api/documentdb/v1beta20210515/sql_database_container_stored_procedure_types_gen.go index f411772649..25bb264b98 100644 --- a/v2/api/documentdb/v1beta20210515/sql_database_container_stored_procedure_types_gen.go +++ b/v2/api/documentdb/v1beta20210515/sql_database_container_stored_procedure_types_gen.go @@ -66,7 +66,7 @@ func (procedure *SqlDatabaseContainerStoredProcedure) ConvertTo(hub conversion.H return procedure.AssignPropertiesToSqlDatabaseContainerStoredProcedure(destination) } -// +kubebuilder:webhook:path=/mutate-documentdb-azure-com-v1beta20210515-sqldatabasecontainerstoredprocedure,mutating=true,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=documentdb.azure.com,resources=sqldatabasecontainerstoredprocedures,verbs=create;update,versions=v1beta20210515,name=default.v1beta20210515.sqldatabasecontainerstoredprocedures.documentdb.azure.com,admissionReviewVersions=v1beta1 +// +kubebuilder:webhook:path=/mutate-documentdb-azure-com-v1beta20210515-sqldatabasecontainerstoredprocedure,mutating=true,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=documentdb.azure.com,resources=sqldatabasecontainerstoredprocedures,verbs=create;update,versions=v1beta20210515,name=default.v1beta20210515.sqldatabasecontainerstoredprocedures.documentdb.azure.com,admissionReviewVersions=v1 var _ admission.Defaulter = &SqlDatabaseContainerStoredProcedure{} @@ -155,7 +155,7 @@ func (procedure *SqlDatabaseContainerStoredProcedure) SetStatus(status genruntim return nil } -// +kubebuilder:webhook:path=/validate-documentdb-azure-com-v1beta20210515-sqldatabasecontainerstoredprocedure,mutating=false,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=documentdb.azure.com,resources=sqldatabasecontainerstoredprocedures,verbs=create;update,versions=v1beta20210515,name=validate.v1beta20210515.sqldatabasecontainerstoredprocedures.documentdb.azure.com,admissionReviewVersions=v1beta1 +// +kubebuilder:webhook:path=/validate-documentdb-azure-com-v1beta20210515-sqldatabasecontainerstoredprocedure,mutating=false,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=documentdb.azure.com,resources=sqldatabasecontainerstoredprocedures,verbs=create;update,versions=v1beta20210515,name=validate.v1beta20210515.sqldatabasecontainerstoredprocedures.documentdb.azure.com,admissionReviewVersions=v1 var _ admission.Validator = &SqlDatabaseContainerStoredProcedure{} diff --git a/v2/api/documentdb/v1beta20210515/sql_database_container_throughput_setting_types_gen.go b/v2/api/documentdb/v1beta20210515/sql_database_container_throughput_setting_types_gen.go index 90bad43f33..c5f3d1055b 100644 --- a/v2/api/documentdb/v1beta20210515/sql_database_container_throughput_setting_types_gen.go +++ b/v2/api/documentdb/v1beta20210515/sql_database_container_throughput_setting_types_gen.go @@ -66,7 +66,7 @@ func (setting *SqlDatabaseContainerThroughputSetting) ConvertTo(hub conversion.H return setting.AssignPropertiesToSqlDatabaseContainerThroughputSetting(destination) } -// +kubebuilder:webhook:path=/mutate-documentdb-azure-com-v1beta20210515-sqldatabasecontainerthroughputsetting,mutating=true,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=documentdb.azure.com,resources=sqldatabasecontainerthroughputsettings,verbs=create;update,versions=v1beta20210515,name=default.v1beta20210515.sqldatabasecontainerthroughputsettings.documentdb.azure.com,admissionReviewVersions=v1beta1 +// +kubebuilder:webhook:path=/mutate-documentdb-azure-com-v1beta20210515-sqldatabasecontainerthroughputsetting,mutating=true,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=documentdb.azure.com,resources=sqldatabasecontainerthroughputsettings,verbs=create;update,versions=v1beta20210515,name=default.v1beta20210515.sqldatabasecontainerthroughputsettings.documentdb.azure.com,admissionReviewVersions=v1 var _ admission.Defaulter = &SqlDatabaseContainerThroughputSetting{} @@ -148,7 +148,7 @@ func (setting *SqlDatabaseContainerThroughputSetting) SetStatus(status genruntim return nil } -// +kubebuilder:webhook:path=/validate-documentdb-azure-com-v1beta20210515-sqldatabasecontainerthroughputsetting,mutating=false,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=documentdb.azure.com,resources=sqldatabasecontainerthroughputsettings,verbs=create;update,versions=v1beta20210515,name=validate.v1beta20210515.sqldatabasecontainerthroughputsettings.documentdb.azure.com,admissionReviewVersions=v1beta1 +// +kubebuilder:webhook:path=/validate-documentdb-azure-com-v1beta20210515-sqldatabasecontainerthroughputsetting,mutating=false,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=documentdb.azure.com,resources=sqldatabasecontainerthroughputsettings,verbs=create;update,versions=v1beta20210515,name=validate.v1beta20210515.sqldatabasecontainerthroughputsettings.documentdb.azure.com,admissionReviewVersions=v1 var _ admission.Validator = &SqlDatabaseContainerThroughputSetting{} diff --git a/v2/api/documentdb/v1beta20210515/sql_database_container_trigger_types_gen.go b/v2/api/documentdb/v1beta20210515/sql_database_container_trigger_types_gen.go index 97b0b9eab9..584c4cc952 100644 --- a/v2/api/documentdb/v1beta20210515/sql_database_container_trigger_types_gen.go +++ b/v2/api/documentdb/v1beta20210515/sql_database_container_trigger_types_gen.go @@ -66,7 +66,7 @@ func (trigger *SqlDatabaseContainerTrigger) ConvertTo(hub conversion.Hub) error return trigger.AssignPropertiesToSqlDatabaseContainerTrigger(destination) } -// +kubebuilder:webhook:path=/mutate-documentdb-azure-com-v1beta20210515-sqldatabasecontainertrigger,mutating=true,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=documentdb.azure.com,resources=sqldatabasecontainertriggers,verbs=create;update,versions=v1beta20210515,name=default.v1beta20210515.sqldatabasecontainertriggers.documentdb.azure.com,admissionReviewVersions=v1beta1 +// +kubebuilder:webhook:path=/mutate-documentdb-azure-com-v1beta20210515-sqldatabasecontainertrigger,mutating=true,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=documentdb.azure.com,resources=sqldatabasecontainertriggers,verbs=create;update,versions=v1beta20210515,name=default.v1beta20210515.sqldatabasecontainertriggers.documentdb.azure.com,admissionReviewVersions=v1 var _ admission.Defaulter = &SqlDatabaseContainerTrigger{} @@ -155,7 +155,7 @@ func (trigger *SqlDatabaseContainerTrigger) SetStatus(status genruntime.Converti return nil } -// +kubebuilder:webhook:path=/validate-documentdb-azure-com-v1beta20210515-sqldatabasecontainertrigger,mutating=false,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=documentdb.azure.com,resources=sqldatabasecontainertriggers,verbs=create;update,versions=v1beta20210515,name=validate.v1beta20210515.sqldatabasecontainertriggers.documentdb.azure.com,admissionReviewVersions=v1beta1 +// +kubebuilder:webhook:path=/validate-documentdb-azure-com-v1beta20210515-sqldatabasecontainertrigger,mutating=false,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=documentdb.azure.com,resources=sqldatabasecontainertriggers,verbs=create;update,versions=v1beta20210515,name=validate.v1beta20210515.sqldatabasecontainertriggers.documentdb.azure.com,admissionReviewVersions=v1 var _ admission.Validator = &SqlDatabaseContainerTrigger{} diff --git a/v2/api/documentdb/v1beta20210515/sql_database_container_types_gen.go b/v2/api/documentdb/v1beta20210515/sql_database_container_types_gen.go index 6b159d6fcc..ff2df5a3b7 100644 --- a/v2/api/documentdb/v1beta20210515/sql_database_container_types_gen.go +++ b/v2/api/documentdb/v1beta20210515/sql_database_container_types_gen.go @@ -66,7 +66,7 @@ func (container *SqlDatabaseContainer) ConvertTo(hub conversion.Hub) error { return container.AssignPropertiesToSqlDatabaseContainer(destination) } -// +kubebuilder:webhook:path=/mutate-documentdb-azure-com-v1beta20210515-sqldatabasecontainer,mutating=true,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=documentdb.azure.com,resources=sqldatabasecontainers,verbs=create;update,versions=v1beta20210515,name=default.v1beta20210515.sqldatabasecontainers.documentdb.azure.com,admissionReviewVersions=v1beta1 +// +kubebuilder:webhook:path=/mutate-documentdb-azure-com-v1beta20210515-sqldatabasecontainer,mutating=true,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=documentdb.azure.com,resources=sqldatabasecontainers,verbs=create;update,versions=v1beta20210515,name=default.v1beta20210515.sqldatabasecontainers.documentdb.azure.com,admissionReviewVersions=v1 var _ admission.Defaulter = &SqlDatabaseContainer{} @@ -155,7 +155,7 @@ func (container *SqlDatabaseContainer) SetStatus(status genruntime.ConvertibleSt return nil } -// +kubebuilder:webhook:path=/validate-documentdb-azure-com-v1beta20210515-sqldatabasecontainer,mutating=false,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=documentdb.azure.com,resources=sqldatabasecontainers,verbs=create;update,versions=v1beta20210515,name=validate.v1beta20210515.sqldatabasecontainers.documentdb.azure.com,admissionReviewVersions=v1beta1 +// +kubebuilder:webhook:path=/validate-documentdb-azure-com-v1beta20210515-sqldatabasecontainer,mutating=false,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=documentdb.azure.com,resources=sqldatabasecontainers,verbs=create;update,versions=v1beta20210515,name=validate.v1beta20210515.sqldatabasecontainers.documentdb.azure.com,admissionReviewVersions=v1 var _ admission.Validator = &SqlDatabaseContainer{} diff --git a/v2/api/documentdb/v1beta20210515/sql_database_container_user_defined_function_types_gen.go b/v2/api/documentdb/v1beta20210515/sql_database_container_user_defined_function_types_gen.go index f86e52f558..a348a54fa3 100644 --- a/v2/api/documentdb/v1beta20210515/sql_database_container_user_defined_function_types_gen.go +++ b/v2/api/documentdb/v1beta20210515/sql_database_container_user_defined_function_types_gen.go @@ -66,7 +66,7 @@ func (function *SqlDatabaseContainerUserDefinedFunction) ConvertTo(hub conversio return function.AssignPropertiesToSqlDatabaseContainerUserDefinedFunction(destination) } -// +kubebuilder:webhook:path=/mutate-documentdb-azure-com-v1beta20210515-sqldatabasecontaineruserdefinedfunction,mutating=true,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=documentdb.azure.com,resources=sqldatabasecontaineruserdefinedfunctions,verbs=create;update,versions=v1beta20210515,name=default.v1beta20210515.sqldatabasecontaineruserdefinedfunctions.documentdb.azure.com,admissionReviewVersions=v1beta1 +// +kubebuilder:webhook:path=/mutate-documentdb-azure-com-v1beta20210515-sqldatabasecontaineruserdefinedfunction,mutating=true,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=documentdb.azure.com,resources=sqldatabasecontaineruserdefinedfunctions,verbs=create;update,versions=v1beta20210515,name=default.v1beta20210515.sqldatabasecontaineruserdefinedfunctions.documentdb.azure.com,admissionReviewVersions=v1 var _ admission.Defaulter = &SqlDatabaseContainerUserDefinedFunction{} @@ -155,7 +155,7 @@ func (function *SqlDatabaseContainerUserDefinedFunction) SetStatus(status genrun return nil } -// +kubebuilder:webhook:path=/validate-documentdb-azure-com-v1beta20210515-sqldatabasecontaineruserdefinedfunction,mutating=false,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=documentdb.azure.com,resources=sqldatabasecontaineruserdefinedfunctions,verbs=create;update,versions=v1beta20210515,name=validate.v1beta20210515.sqldatabasecontaineruserdefinedfunctions.documentdb.azure.com,admissionReviewVersions=v1beta1 +// +kubebuilder:webhook:path=/validate-documentdb-azure-com-v1beta20210515-sqldatabasecontaineruserdefinedfunction,mutating=false,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=documentdb.azure.com,resources=sqldatabasecontaineruserdefinedfunctions,verbs=create;update,versions=v1beta20210515,name=validate.v1beta20210515.sqldatabasecontaineruserdefinedfunctions.documentdb.azure.com,admissionReviewVersions=v1 var _ admission.Validator = &SqlDatabaseContainerUserDefinedFunction{} diff --git a/v2/api/documentdb/v1beta20210515/sql_database_throughput_setting_types_gen.go b/v2/api/documentdb/v1beta20210515/sql_database_throughput_setting_types_gen.go index 8ade03f7f1..a578d3dbf4 100644 --- a/v2/api/documentdb/v1beta20210515/sql_database_throughput_setting_types_gen.go +++ b/v2/api/documentdb/v1beta20210515/sql_database_throughput_setting_types_gen.go @@ -66,7 +66,7 @@ func (setting *SqlDatabaseThroughputSetting) ConvertTo(hub conversion.Hub) error return setting.AssignPropertiesToSqlDatabaseThroughputSetting(destination) } -// +kubebuilder:webhook:path=/mutate-documentdb-azure-com-v1beta20210515-sqldatabasethroughputsetting,mutating=true,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=documentdb.azure.com,resources=sqldatabasethroughputsettings,verbs=create;update,versions=v1beta20210515,name=default.v1beta20210515.sqldatabasethroughputsettings.documentdb.azure.com,admissionReviewVersions=v1beta1 +// +kubebuilder:webhook:path=/mutate-documentdb-azure-com-v1beta20210515-sqldatabasethroughputsetting,mutating=true,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=documentdb.azure.com,resources=sqldatabasethroughputsettings,verbs=create;update,versions=v1beta20210515,name=default.v1beta20210515.sqldatabasethroughputsettings.documentdb.azure.com,admissionReviewVersions=v1 var _ admission.Defaulter = &SqlDatabaseThroughputSetting{} @@ -148,7 +148,7 @@ func (setting *SqlDatabaseThroughputSetting) SetStatus(status genruntime.Convert return nil } -// +kubebuilder:webhook:path=/validate-documentdb-azure-com-v1beta20210515-sqldatabasethroughputsetting,mutating=false,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=documentdb.azure.com,resources=sqldatabasethroughputsettings,verbs=create;update,versions=v1beta20210515,name=validate.v1beta20210515.sqldatabasethroughputsettings.documentdb.azure.com,admissionReviewVersions=v1beta1 +// +kubebuilder:webhook:path=/validate-documentdb-azure-com-v1beta20210515-sqldatabasethroughputsetting,mutating=false,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=documentdb.azure.com,resources=sqldatabasethroughputsettings,verbs=create;update,versions=v1beta20210515,name=validate.v1beta20210515.sqldatabasethroughputsettings.documentdb.azure.com,admissionReviewVersions=v1 var _ admission.Validator = &SqlDatabaseThroughputSetting{} diff --git a/v2/api/documentdb/v1beta20210515/sql_database_types_gen.go b/v2/api/documentdb/v1beta20210515/sql_database_types_gen.go index 2fa86afb47..6d77d98b61 100644 --- a/v2/api/documentdb/v1beta20210515/sql_database_types_gen.go +++ b/v2/api/documentdb/v1beta20210515/sql_database_types_gen.go @@ -66,7 +66,7 @@ func (database *SqlDatabase) ConvertTo(hub conversion.Hub) error { return database.AssignPropertiesToSqlDatabase(destination) } -// +kubebuilder:webhook:path=/mutate-documentdb-azure-com-v1beta20210515-sqldatabase,mutating=true,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=documentdb.azure.com,resources=sqldatabases,verbs=create;update,versions=v1beta20210515,name=default.v1beta20210515.sqldatabases.documentdb.azure.com,admissionReviewVersions=v1beta1 +// +kubebuilder:webhook:path=/mutate-documentdb-azure-com-v1beta20210515-sqldatabase,mutating=true,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=documentdb.azure.com,resources=sqldatabases,verbs=create;update,versions=v1beta20210515,name=default.v1beta20210515.sqldatabases.documentdb.azure.com,admissionReviewVersions=v1 var _ admission.Defaulter = &SqlDatabase{} @@ -155,7 +155,7 @@ func (database *SqlDatabase) SetStatus(status genruntime.ConvertibleStatus) erro return nil } -// +kubebuilder:webhook:path=/validate-documentdb-azure-com-v1beta20210515-sqldatabase,mutating=false,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=documentdb.azure.com,resources=sqldatabases,verbs=create;update,versions=v1beta20210515,name=validate.v1beta20210515.sqldatabases.documentdb.azure.com,admissionReviewVersions=v1beta1 +// +kubebuilder:webhook:path=/validate-documentdb-azure-com-v1beta20210515-sqldatabase,mutating=false,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=documentdb.azure.com,resources=sqldatabases,verbs=create;update,versions=v1beta20210515,name=validate.v1beta20210515.sqldatabases.documentdb.azure.com,admissionReviewVersions=v1 var _ admission.Validator = &SqlDatabase{} diff --git a/v2/api/eventgrid/v1alpha1api20200601/domain_types_gen.go b/v2/api/eventgrid/v1alpha1api20200601/domain_types_gen.go index 8d5effa318..c167c8da13 100644 --- a/v2/api/eventgrid/v1alpha1api20200601/domain_types_gen.go +++ b/v2/api/eventgrid/v1alpha1api20200601/domain_types_gen.go @@ -80,7 +80,7 @@ func (domain *Domain) ConvertTo(hub conversion.Hub) error { return nil } -// +kubebuilder:webhook:path=/mutate-eventgrid-azure-com-v1alpha1api20200601-domain,mutating=true,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=eventgrid.azure.com,resources=domains,verbs=create;update,versions=v1alpha1api20200601,name=default.v1alpha1api20200601.domains.eventgrid.azure.com,admissionReviewVersions=v1beta1 +// +kubebuilder:webhook:path=/mutate-eventgrid-azure-com-v1alpha1api20200601-domain,mutating=true,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=eventgrid.azure.com,resources=domains,verbs=create;update,versions=v1alpha1api20200601,name=default.v1alpha1api20200601.domains.eventgrid.azure.com,admissionReviewVersions=v1 var _ admission.Defaulter = &Domain{} @@ -169,7 +169,7 @@ func (domain *Domain) SetStatus(status genruntime.ConvertibleStatus) error { return nil } -// +kubebuilder:webhook:path=/validate-eventgrid-azure-com-v1alpha1api20200601-domain,mutating=false,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=eventgrid.azure.com,resources=domains,verbs=create;update,versions=v1alpha1api20200601,name=validate.v1alpha1api20200601.domains.eventgrid.azure.com,admissionReviewVersions=v1beta1 +// +kubebuilder:webhook:path=/validate-eventgrid-azure-com-v1alpha1api20200601-domain,mutating=false,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=eventgrid.azure.com,resources=domains,verbs=create;update,versions=v1alpha1api20200601,name=validate.v1alpha1api20200601.domains.eventgrid.azure.com,admissionReviewVersions=v1 var _ admission.Validator = &Domain{} diff --git a/v2/api/eventgrid/v1alpha1api20200601/domains_topic_types_gen.go b/v2/api/eventgrid/v1alpha1api20200601/domains_topic_types_gen.go index e4492f3d55..f7e8601fca 100644 --- a/v2/api/eventgrid/v1alpha1api20200601/domains_topic_types_gen.go +++ b/v2/api/eventgrid/v1alpha1api20200601/domains_topic_types_gen.go @@ -80,7 +80,7 @@ func (topic *DomainsTopic) ConvertTo(hub conversion.Hub) error { return nil } -// +kubebuilder:webhook:path=/mutate-eventgrid-azure-com-v1alpha1api20200601-domainstopic,mutating=true,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=eventgrid.azure.com,resources=domainstopics,verbs=create;update,versions=v1alpha1api20200601,name=default.v1alpha1api20200601.domainstopics.eventgrid.azure.com,admissionReviewVersions=v1beta1 +// +kubebuilder:webhook:path=/mutate-eventgrid-azure-com-v1alpha1api20200601-domainstopic,mutating=true,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=eventgrid.azure.com,resources=domainstopics,verbs=create;update,versions=v1alpha1api20200601,name=default.v1alpha1api20200601.domainstopics.eventgrid.azure.com,admissionReviewVersions=v1 var _ admission.Defaulter = &DomainsTopic{} @@ -169,7 +169,7 @@ func (topic *DomainsTopic) SetStatus(status genruntime.ConvertibleStatus) error return nil } -// +kubebuilder:webhook:path=/validate-eventgrid-azure-com-v1alpha1api20200601-domainstopic,mutating=false,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=eventgrid.azure.com,resources=domainstopics,verbs=create;update,versions=v1alpha1api20200601,name=validate.v1alpha1api20200601.domainstopics.eventgrid.azure.com,admissionReviewVersions=v1beta1 +// +kubebuilder:webhook:path=/validate-eventgrid-azure-com-v1alpha1api20200601-domainstopic,mutating=false,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=eventgrid.azure.com,resources=domainstopics,verbs=create;update,versions=v1alpha1api20200601,name=validate.v1alpha1api20200601.domainstopics.eventgrid.azure.com,admissionReviewVersions=v1 var _ admission.Validator = &DomainsTopic{} diff --git a/v2/api/eventgrid/v1alpha1api20200601/event_subscription_types_gen.go b/v2/api/eventgrid/v1alpha1api20200601/event_subscription_types_gen.go index 61c012493f..d60012d2d0 100644 --- a/v2/api/eventgrid/v1alpha1api20200601/event_subscription_types_gen.go +++ b/v2/api/eventgrid/v1alpha1api20200601/event_subscription_types_gen.go @@ -80,7 +80,7 @@ func (subscription *EventSubscription) ConvertTo(hub conversion.Hub) error { return nil } -// +kubebuilder:webhook:path=/mutate-eventgrid-azure-com-v1alpha1api20200601-eventsubscription,mutating=true,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=eventgrid.azure.com,resources=eventsubscriptions,verbs=create;update,versions=v1alpha1api20200601,name=default.v1alpha1api20200601.eventsubscriptions.eventgrid.azure.com,admissionReviewVersions=v1beta1 +// +kubebuilder:webhook:path=/mutate-eventgrid-azure-com-v1alpha1api20200601-eventsubscription,mutating=true,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=eventgrid.azure.com,resources=eventsubscriptions,verbs=create;update,versions=v1alpha1api20200601,name=default.v1alpha1api20200601.eventsubscriptions.eventgrid.azure.com,admissionReviewVersions=v1 var _ admission.Defaulter = &EventSubscription{} @@ -168,7 +168,7 @@ func (subscription *EventSubscription) SetStatus(status genruntime.ConvertibleSt return nil } -// +kubebuilder:webhook:path=/validate-eventgrid-azure-com-v1alpha1api20200601-eventsubscription,mutating=false,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=eventgrid.azure.com,resources=eventsubscriptions,verbs=create;update,versions=v1alpha1api20200601,name=validate.v1alpha1api20200601.eventsubscriptions.eventgrid.azure.com,admissionReviewVersions=v1beta1 +// +kubebuilder:webhook:path=/validate-eventgrid-azure-com-v1alpha1api20200601-eventsubscription,mutating=false,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=eventgrid.azure.com,resources=eventsubscriptions,verbs=create;update,versions=v1alpha1api20200601,name=validate.v1alpha1api20200601.eventsubscriptions.eventgrid.azure.com,admissionReviewVersions=v1 var _ admission.Validator = &EventSubscription{} diff --git a/v2/api/eventgrid/v1alpha1api20200601/topic_types_gen.go b/v2/api/eventgrid/v1alpha1api20200601/topic_types_gen.go index ed6f05f868..6d5a11739e 100644 --- a/v2/api/eventgrid/v1alpha1api20200601/topic_types_gen.go +++ b/v2/api/eventgrid/v1alpha1api20200601/topic_types_gen.go @@ -80,7 +80,7 @@ func (topic *Topic) ConvertTo(hub conversion.Hub) error { return nil } -// +kubebuilder:webhook:path=/mutate-eventgrid-azure-com-v1alpha1api20200601-topic,mutating=true,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=eventgrid.azure.com,resources=topics,verbs=create;update,versions=v1alpha1api20200601,name=default.v1alpha1api20200601.topics.eventgrid.azure.com,admissionReviewVersions=v1beta1 +// +kubebuilder:webhook:path=/mutate-eventgrid-azure-com-v1alpha1api20200601-topic,mutating=true,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=eventgrid.azure.com,resources=topics,verbs=create;update,versions=v1alpha1api20200601,name=default.v1alpha1api20200601.topics.eventgrid.azure.com,admissionReviewVersions=v1 var _ admission.Defaulter = &Topic{} @@ -169,7 +169,7 @@ func (topic *Topic) SetStatus(status genruntime.ConvertibleStatus) error { return nil } -// +kubebuilder:webhook:path=/validate-eventgrid-azure-com-v1alpha1api20200601-topic,mutating=false,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=eventgrid.azure.com,resources=topics,verbs=create;update,versions=v1alpha1api20200601,name=validate.v1alpha1api20200601.topics.eventgrid.azure.com,admissionReviewVersions=v1beta1 +// +kubebuilder:webhook:path=/validate-eventgrid-azure-com-v1alpha1api20200601-topic,mutating=false,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=eventgrid.azure.com,resources=topics,verbs=create;update,versions=v1alpha1api20200601,name=validate.v1alpha1api20200601.topics.eventgrid.azure.com,admissionReviewVersions=v1 var _ admission.Validator = &Topic{} diff --git a/v2/api/eventgrid/v1beta20200601/domain_types_gen.go b/v2/api/eventgrid/v1beta20200601/domain_types_gen.go index d34ca69335..982705bc3e 100644 --- a/v2/api/eventgrid/v1beta20200601/domain_types_gen.go +++ b/v2/api/eventgrid/v1beta20200601/domain_types_gen.go @@ -66,7 +66,7 @@ func (domain *Domain) ConvertTo(hub conversion.Hub) error { return domain.AssignPropertiesToDomain(destination) } -// +kubebuilder:webhook:path=/mutate-eventgrid-azure-com-v1beta20200601-domain,mutating=true,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=eventgrid.azure.com,resources=domains,verbs=create;update,versions=v1beta20200601,name=default.v1beta20200601.domains.eventgrid.azure.com,admissionReviewVersions=v1beta1 +// +kubebuilder:webhook:path=/mutate-eventgrid-azure-com-v1beta20200601-domain,mutating=true,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=eventgrid.azure.com,resources=domains,verbs=create;update,versions=v1beta20200601,name=default.v1beta20200601.domains.eventgrid.azure.com,admissionReviewVersions=v1 var _ admission.Defaulter = &Domain{} @@ -155,7 +155,7 @@ func (domain *Domain) SetStatus(status genruntime.ConvertibleStatus) error { return nil } -// +kubebuilder:webhook:path=/validate-eventgrid-azure-com-v1beta20200601-domain,mutating=false,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=eventgrid.azure.com,resources=domains,verbs=create;update,versions=v1beta20200601,name=validate.v1beta20200601.domains.eventgrid.azure.com,admissionReviewVersions=v1beta1 +// +kubebuilder:webhook:path=/validate-eventgrid-azure-com-v1beta20200601-domain,mutating=false,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=eventgrid.azure.com,resources=domains,verbs=create;update,versions=v1beta20200601,name=validate.v1beta20200601.domains.eventgrid.azure.com,admissionReviewVersions=v1 var _ admission.Validator = &Domain{} diff --git a/v2/api/eventgrid/v1beta20200601/domains_topic_types_gen.go b/v2/api/eventgrid/v1beta20200601/domains_topic_types_gen.go index 45aff4fb7f..caf4fdc385 100644 --- a/v2/api/eventgrid/v1beta20200601/domains_topic_types_gen.go +++ b/v2/api/eventgrid/v1beta20200601/domains_topic_types_gen.go @@ -66,7 +66,7 @@ func (topic *DomainsTopic) ConvertTo(hub conversion.Hub) error { return topic.AssignPropertiesToDomainsTopic(destination) } -// +kubebuilder:webhook:path=/mutate-eventgrid-azure-com-v1beta20200601-domainstopic,mutating=true,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=eventgrid.azure.com,resources=domainstopics,verbs=create;update,versions=v1beta20200601,name=default.v1beta20200601.domainstopics.eventgrid.azure.com,admissionReviewVersions=v1beta1 +// +kubebuilder:webhook:path=/mutate-eventgrid-azure-com-v1beta20200601-domainstopic,mutating=true,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=eventgrid.azure.com,resources=domainstopics,verbs=create;update,versions=v1beta20200601,name=default.v1beta20200601.domainstopics.eventgrid.azure.com,admissionReviewVersions=v1 var _ admission.Defaulter = &DomainsTopic{} @@ -155,7 +155,7 @@ func (topic *DomainsTopic) SetStatus(status genruntime.ConvertibleStatus) error return nil } -// +kubebuilder:webhook:path=/validate-eventgrid-azure-com-v1beta20200601-domainstopic,mutating=false,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=eventgrid.azure.com,resources=domainstopics,verbs=create;update,versions=v1beta20200601,name=validate.v1beta20200601.domainstopics.eventgrid.azure.com,admissionReviewVersions=v1beta1 +// +kubebuilder:webhook:path=/validate-eventgrid-azure-com-v1beta20200601-domainstopic,mutating=false,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=eventgrid.azure.com,resources=domainstopics,verbs=create;update,versions=v1beta20200601,name=validate.v1beta20200601.domainstopics.eventgrid.azure.com,admissionReviewVersions=v1 var _ admission.Validator = &DomainsTopic{} diff --git a/v2/api/eventgrid/v1beta20200601/event_subscription_types_gen.go b/v2/api/eventgrid/v1beta20200601/event_subscription_types_gen.go index d87b75c03d..40b0175ab5 100644 --- a/v2/api/eventgrid/v1beta20200601/event_subscription_types_gen.go +++ b/v2/api/eventgrid/v1beta20200601/event_subscription_types_gen.go @@ -66,7 +66,7 @@ func (subscription *EventSubscription) ConvertTo(hub conversion.Hub) error { return subscription.AssignPropertiesToEventSubscription(destination) } -// +kubebuilder:webhook:path=/mutate-eventgrid-azure-com-v1beta20200601-eventsubscription,mutating=true,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=eventgrid.azure.com,resources=eventsubscriptions,verbs=create;update,versions=v1beta20200601,name=default.v1beta20200601.eventsubscriptions.eventgrid.azure.com,admissionReviewVersions=v1beta1 +// +kubebuilder:webhook:path=/mutate-eventgrid-azure-com-v1beta20200601-eventsubscription,mutating=true,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=eventgrid.azure.com,resources=eventsubscriptions,verbs=create;update,versions=v1beta20200601,name=default.v1beta20200601.eventsubscriptions.eventgrid.azure.com,admissionReviewVersions=v1 var _ admission.Defaulter = &EventSubscription{} @@ -154,7 +154,7 @@ func (subscription *EventSubscription) SetStatus(status genruntime.ConvertibleSt return nil } -// +kubebuilder:webhook:path=/validate-eventgrid-azure-com-v1beta20200601-eventsubscription,mutating=false,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=eventgrid.azure.com,resources=eventsubscriptions,verbs=create;update,versions=v1beta20200601,name=validate.v1beta20200601.eventsubscriptions.eventgrid.azure.com,admissionReviewVersions=v1beta1 +// +kubebuilder:webhook:path=/validate-eventgrid-azure-com-v1beta20200601-eventsubscription,mutating=false,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=eventgrid.azure.com,resources=eventsubscriptions,verbs=create;update,versions=v1beta20200601,name=validate.v1beta20200601.eventsubscriptions.eventgrid.azure.com,admissionReviewVersions=v1 var _ admission.Validator = &EventSubscription{} diff --git a/v2/api/eventgrid/v1beta20200601/topic_types_gen.go b/v2/api/eventgrid/v1beta20200601/topic_types_gen.go index 17537218b3..2ee58766ef 100644 --- a/v2/api/eventgrid/v1beta20200601/topic_types_gen.go +++ b/v2/api/eventgrid/v1beta20200601/topic_types_gen.go @@ -66,7 +66,7 @@ func (topic *Topic) ConvertTo(hub conversion.Hub) error { return topic.AssignPropertiesToTopic(destination) } -// +kubebuilder:webhook:path=/mutate-eventgrid-azure-com-v1beta20200601-topic,mutating=true,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=eventgrid.azure.com,resources=topics,verbs=create;update,versions=v1beta20200601,name=default.v1beta20200601.topics.eventgrid.azure.com,admissionReviewVersions=v1beta1 +// +kubebuilder:webhook:path=/mutate-eventgrid-azure-com-v1beta20200601-topic,mutating=true,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=eventgrid.azure.com,resources=topics,verbs=create;update,versions=v1beta20200601,name=default.v1beta20200601.topics.eventgrid.azure.com,admissionReviewVersions=v1 var _ admission.Defaulter = &Topic{} @@ -155,7 +155,7 @@ func (topic *Topic) SetStatus(status genruntime.ConvertibleStatus) error { return nil } -// +kubebuilder:webhook:path=/validate-eventgrid-azure-com-v1beta20200601-topic,mutating=false,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=eventgrid.azure.com,resources=topics,verbs=create;update,versions=v1beta20200601,name=validate.v1beta20200601.topics.eventgrid.azure.com,admissionReviewVersions=v1beta1 +// +kubebuilder:webhook:path=/validate-eventgrid-azure-com-v1beta20200601-topic,mutating=false,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=eventgrid.azure.com,resources=topics,verbs=create;update,versions=v1beta20200601,name=validate.v1beta20200601.topics.eventgrid.azure.com,admissionReviewVersions=v1 var _ admission.Validator = &Topic{} diff --git a/v2/api/eventhub/v1alpha1api20211101/namespace_types_gen.go b/v2/api/eventhub/v1alpha1api20211101/namespace_types_gen.go index e05c48b759..5cb5518b21 100644 --- a/v2/api/eventhub/v1alpha1api20211101/namespace_types_gen.go +++ b/v2/api/eventhub/v1alpha1api20211101/namespace_types_gen.go @@ -80,7 +80,7 @@ func (namespace *Namespace) ConvertTo(hub conversion.Hub) error { return nil } -// +kubebuilder:webhook:path=/mutate-eventhub-azure-com-v1alpha1api20211101-namespace,mutating=true,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=eventhub.azure.com,resources=namespaces,verbs=create;update,versions=v1alpha1api20211101,name=default.v1alpha1api20211101.namespaces.eventhub.azure.com,admissionReviewVersions=v1beta1 +// +kubebuilder:webhook:path=/mutate-eventhub-azure-com-v1alpha1api20211101-namespace,mutating=true,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=eventhub.azure.com,resources=namespaces,verbs=create;update,versions=v1alpha1api20211101,name=default.v1alpha1api20211101.namespaces.eventhub.azure.com,admissionReviewVersions=v1 var _ admission.Defaulter = &Namespace{} @@ -169,7 +169,7 @@ func (namespace *Namespace) SetStatus(status genruntime.ConvertibleStatus) error return nil } -// +kubebuilder:webhook:path=/validate-eventhub-azure-com-v1alpha1api20211101-namespace,mutating=false,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=eventhub.azure.com,resources=namespaces,verbs=create;update,versions=v1alpha1api20211101,name=validate.v1alpha1api20211101.namespaces.eventhub.azure.com,admissionReviewVersions=v1beta1 +// +kubebuilder:webhook:path=/validate-eventhub-azure-com-v1alpha1api20211101-namespace,mutating=false,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=eventhub.azure.com,resources=namespaces,verbs=create;update,versions=v1alpha1api20211101,name=validate.v1alpha1api20211101.namespaces.eventhub.azure.com,admissionReviewVersions=v1 var _ admission.Validator = &Namespace{} diff --git a/v2/api/eventhub/v1alpha1api20211101/namespaces_authorization_rule_types_gen.go b/v2/api/eventhub/v1alpha1api20211101/namespaces_authorization_rule_types_gen.go index e70c4fd634..9dfafbba87 100644 --- a/v2/api/eventhub/v1alpha1api20211101/namespaces_authorization_rule_types_gen.go +++ b/v2/api/eventhub/v1alpha1api20211101/namespaces_authorization_rule_types_gen.go @@ -80,7 +80,7 @@ func (rule *NamespacesAuthorizationRule) ConvertTo(hub conversion.Hub) error { return nil } -// +kubebuilder:webhook:path=/mutate-eventhub-azure-com-v1alpha1api20211101-namespacesauthorizationrule,mutating=true,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=eventhub.azure.com,resources=namespacesauthorizationrules,verbs=create;update,versions=v1alpha1api20211101,name=default.v1alpha1api20211101.namespacesauthorizationrules.eventhub.azure.com,admissionReviewVersions=v1beta1 +// +kubebuilder:webhook:path=/mutate-eventhub-azure-com-v1alpha1api20211101-namespacesauthorizationrule,mutating=true,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=eventhub.azure.com,resources=namespacesauthorizationrules,verbs=create;update,versions=v1alpha1api20211101,name=default.v1alpha1api20211101.namespacesauthorizationrules.eventhub.azure.com,admissionReviewVersions=v1 var _ admission.Defaulter = &NamespacesAuthorizationRule{} @@ -169,7 +169,7 @@ func (rule *NamespacesAuthorizationRule) SetStatus(status genruntime.Convertible return nil } -// +kubebuilder:webhook:path=/validate-eventhub-azure-com-v1alpha1api20211101-namespacesauthorizationrule,mutating=false,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=eventhub.azure.com,resources=namespacesauthorizationrules,verbs=create;update,versions=v1alpha1api20211101,name=validate.v1alpha1api20211101.namespacesauthorizationrules.eventhub.azure.com,admissionReviewVersions=v1beta1 +// +kubebuilder:webhook:path=/validate-eventhub-azure-com-v1alpha1api20211101-namespacesauthorizationrule,mutating=false,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=eventhub.azure.com,resources=namespacesauthorizationrules,verbs=create;update,versions=v1alpha1api20211101,name=validate.v1alpha1api20211101.namespacesauthorizationrules.eventhub.azure.com,admissionReviewVersions=v1 var _ admission.Validator = &NamespacesAuthorizationRule{} diff --git a/v2/api/eventhub/v1alpha1api20211101/namespaces_eventhub_types_gen.go b/v2/api/eventhub/v1alpha1api20211101/namespaces_eventhub_types_gen.go index c71c67da2c..3ac139095d 100644 --- a/v2/api/eventhub/v1alpha1api20211101/namespaces_eventhub_types_gen.go +++ b/v2/api/eventhub/v1alpha1api20211101/namespaces_eventhub_types_gen.go @@ -80,7 +80,7 @@ func (eventhub *NamespacesEventhub) ConvertTo(hub conversion.Hub) error { return nil } -// +kubebuilder:webhook:path=/mutate-eventhub-azure-com-v1alpha1api20211101-namespaceseventhub,mutating=true,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=eventhub.azure.com,resources=namespaceseventhubs,verbs=create;update,versions=v1alpha1api20211101,name=default.v1alpha1api20211101.namespaceseventhubs.eventhub.azure.com,admissionReviewVersions=v1beta1 +// +kubebuilder:webhook:path=/mutate-eventhub-azure-com-v1alpha1api20211101-namespaceseventhub,mutating=true,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=eventhub.azure.com,resources=namespaceseventhubs,verbs=create;update,versions=v1alpha1api20211101,name=default.v1alpha1api20211101.namespaceseventhubs.eventhub.azure.com,admissionReviewVersions=v1 var _ admission.Defaulter = &NamespacesEventhub{} @@ -169,7 +169,7 @@ func (eventhub *NamespacesEventhub) SetStatus(status genruntime.ConvertibleStatu return nil } -// +kubebuilder:webhook:path=/validate-eventhub-azure-com-v1alpha1api20211101-namespaceseventhub,mutating=false,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=eventhub.azure.com,resources=namespaceseventhubs,verbs=create;update,versions=v1alpha1api20211101,name=validate.v1alpha1api20211101.namespaceseventhubs.eventhub.azure.com,admissionReviewVersions=v1beta1 +// +kubebuilder:webhook:path=/validate-eventhub-azure-com-v1alpha1api20211101-namespaceseventhub,mutating=false,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=eventhub.azure.com,resources=namespaceseventhubs,verbs=create;update,versions=v1alpha1api20211101,name=validate.v1alpha1api20211101.namespaceseventhubs.eventhub.azure.com,admissionReviewVersions=v1 var _ admission.Validator = &NamespacesEventhub{} diff --git a/v2/api/eventhub/v1alpha1api20211101/namespaces_eventhubs_authorization_rule_types_gen.go b/v2/api/eventhub/v1alpha1api20211101/namespaces_eventhubs_authorization_rule_types_gen.go index 9039ead883..64794005ce 100644 --- a/v2/api/eventhub/v1alpha1api20211101/namespaces_eventhubs_authorization_rule_types_gen.go +++ b/v2/api/eventhub/v1alpha1api20211101/namespaces_eventhubs_authorization_rule_types_gen.go @@ -80,7 +80,7 @@ func (rule *NamespacesEventhubsAuthorizationRule) ConvertTo(hub conversion.Hub) return nil } -// +kubebuilder:webhook:path=/mutate-eventhub-azure-com-v1alpha1api20211101-namespaceseventhubsauthorizationrule,mutating=true,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=eventhub.azure.com,resources=namespaceseventhubsauthorizationrules,verbs=create;update,versions=v1alpha1api20211101,name=default.v1alpha1api20211101.namespaceseventhubsauthorizationrules.eventhub.azure.com,admissionReviewVersions=v1beta1 +// +kubebuilder:webhook:path=/mutate-eventhub-azure-com-v1alpha1api20211101-namespaceseventhubsauthorizationrule,mutating=true,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=eventhub.azure.com,resources=namespaceseventhubsauthorizationrules,verbs=create;update,versions=v1alpha1api20211101,name=default.v1alpha1api20211101.namespaceseventhubsauthorizationrules.eventhub.azure.com,admissionReviewVersions=v1 var _ admission.Defaulter = &NamespacesEventhubsAuthorizationRule{} @@ -169,7 +169,7 @@ func (rule *NamespacesEventhubsAuthorizationRule) SetStatus(status genruntime.Co return nil } -// +kubebuilder:webhook:path=/validate-eventhub-azure-com-v1alpha1api20211101-namespaceseventhubsauthorizationrule,mutating=false,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=eventhub.azure.com,resources=namespaceseventhubsauthorizationrules,verbs=create;update,versions=v1alpha1api20211101,name=validate.v1alpha1api20211101.namespaceseventhubsauthorizationrules.eventhub.azure.com,admissionReviewVersions=v1beta1 +// +kubebuilder:webhook:path=/validate-eventhub-azure-com-v1alpha1api20211101-namespaceseventhubsauthorizationrule,mutating=false,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=eventhub.azure.com,resources=namespaceseventhubsauthorizationrules,verbs=create;update,versions=v1alpha1api20211101,name=validate.v1alpha1api20211101.namespaceseventhubsauthorizationrules.eventhub.azure.com,admissionReviewVersions=v1 var _ admission.Validator = &NamespacesEventhubsAuthorizationRule{} diff --git a/v2/api/eventhub/v1alpha1api20211101/namespaces_eventhubs_consumer_group_types_gen.go b/v2/api/eventhub/v1alpha1api20211101/namespaces_eventhubs_consumer_group_types_gen.go index 4d28871c77..64cdd89957 100644 --- a/v2/api/eventhub/v1alpha1api20211101/namespaces_eventhubs_consumer_group_types_gen.go +++ b/v2/api/eventhub/v1alpha1api20211101/namespaces_eventhubs_consumer_group_types_gen.go @@ -80,7 +80,7 @@ func (group *NamespacesEventhubsConsumerGroup) ConvertTo(hub conversion.Hub) err return nil } -// +kubebuilder:webhook:path=/mutate-eventhub-azure-com-v1alpha1api20211101-namespaceseventhubsconsumergroup,mutating=true,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=eventhub.azure.com,resources=namespaceseventhubsconsumergroups,verbs=create;update,versions=v1alpha1api20211101,name=default.v1alpha1api20211101.namespaceseventhubsconsumergroups.eventhub.azure.com,admissionReviewVersions=v1beta1 +// +kubebuilder:webhook:path=/mutate-eventhub-azure-com-v1alpha1api20211101-namespaceseventhubsconsumergroup,mutating=true,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=eventhub.azure.com,resources=namespaceseventhubsconsumergroups,verbs=create;update,versions=v1alpha1api20211101,name=default.v1alpha1api20211101.namespaceseventhubsconsumergroups.eventhub.azure.com,admissionReviewVersions=v1 var _ admission.Defaulter = &NamespacesEventhubsConsumerGroup{} @@ -169,7 +169,7 @@ func (group *NamespacesEventhubsConsumerGroup) SetStatus(status genruntime.Conve return nil } -// +kubebuilder:webhook:path=/validate-eventhub-azure-com-v1alpha1api20211101-namespaceseventhubsconsumergroup,mutating=false,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=eventhub.azure.com,resources=namespaceseventhubsconsumergroups,verbs=create;update,versions=v1alpha1api20211101,name=validate.v1alpha1api20211101.namespaceseventhubsconsumergroups.eventhub.azure.com,admissionReviewVersions=v1beta1 +// +kubebuilder:webhook:path=/validate-eventhub-azure-com-v1alpha1api20211101-namespaceseventhubsconsumergroup,mutating=false,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=eventhub.azure.com,resources=namespaceseventhubsconsumergroups,verbs=create;update,versions=v1alpha1api20211101,name=validate.v1alpha1api20211101.namespaceseventhubsconsumergroups.eventhub.azure.com,admissionReviewVersions=v1 var _ admission.Validator = &NamespacesEventhubsConsumerGroup{} diff --git a/v2/api/eventhub/v1beta20211101/namespace_types_gen.go b/v2/api/eventhub/v1beta20211101/namespace_types_gen.go index 6544a38172..6c581a1f6f 100644 --- a/v2/api/eventhub/v1beta20211101/namespace_types_gen.go +++ b/v2/api/eventhub/v1beta20211101/namespace_types_gen.go @@ -66,7 +66,7 @@ func (namespace *Namespace) ConvertTo(hub conversion.Hub) error { return namespace.AssignPropertiesToNamespace(destination) } -// +kubebuilder:webhook:path=/mutate-eventhub-azure-com-v1beta20211101-namespace,mutating=true,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=eventhub.azure.com,resources=namespaces,verbs=create;update,versions=v1beta20211101,name=default.v1beta20211101.namespaces.eventhub.azure.com,admissionReviewVersions=v1beta1 +// +kubebuilder:webhook:path=/mutate-eventhub-azure-com-v1beta20211101-namespace,mutating=true,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=eventhub.azure.com,resources=namespaces,verbs=create;update,versions=v1beta20211101,name=default.v1beta20211101.namespaces.eventhub.azure.com,admissionReviewVersions=v1 var _ admission.Defaulter = &Namespace{} @@ -155,7 +155,7 @@ func (namespace *Namespace) SetStatus(status genruntime.ConvertibleStatus) error return nil } -// +kubebuilder:webhook:path=/validate-eventhub-azure-com-v1beta20211101-namespace,mutating=false,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=eventhub.azure.com,resources=namespaces,verbs=create;update,versions=v1beta20211101,name=validate.v1beta20211101.namespaces.eventhub.azure.com,admissionReviewVersions=v1beta1 +// +kubebuilder:webhook:path=/validate-eventhub-azure-com-v1beta20211101-namespace,mutating=false,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=eventhub.azure.com,resources=namespaces,verbs=create;update,versions=v1beta20211101,name=validate.v1beta20211101.namespaces.eventhub.azure.com,admissionReviewVersions=v1 var _ admission.Validator = &Namespace{} diff --git a/v2/api/eventhub/v1beta20211101/namespaces_authorization_rule_types_gen.go b/v2/api/eventhub/v1beta20211101/namespaces_authorization_rule_types_gen.go index 87cf221d75..2745b77c8a 100644 --- a/v2/api/eventhub/v1beta20211101/namespaces_authorization_rule_types_gen.go +++ b/v2/api/eventhub/v1beta20211101/namespaces_authorization_rule_types_gen.go @@ -66,7 +66,7 @@ func (rule *NamespacesAuthorizationRule) ConvertTo(hub conversion.Hub) error { return rule.AssignPropertiesToNamespacesAuthorizationRule(destination) } -// +kubebuilder:webhook:path=/mutate-eventhub-azure-com-v1beta20211101-namespacesauthorizationrule,mutating=true,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=eventhub.azure.com,resources=namespacesauthorizationrules,verbs=create;update,versions=v1beta20211101,name=default.v1beta20211101.namespacesauthorizationrules.eventhub.azure.com,admissionReviewVersions=v1beta1 +// +kubebuilder:webhook:path=/mutate-eventhub-azure-com-v1beta20211101-namespacesauthorizationrule,mutating=true,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=eventhub.azure.com,resources=namespacesauthorizationrules,verbs=create;update,versions=v1beta20211101,name=default.v1beta20211101.namespacesauthorizationrules.eventhub.azure.com,admissionReviewVersions=v1 var _ admission.Defaulter = &NamespacesAuthorizationRule{} @@ -155,7 +155,7 @@ func (rule *NamespacesAuthorizationRule) SetStatus(status genruntime.Convertible return nil } -// +kubebuilder:webhook:path=/validate-eventhub-azure-com-v1beta20211101-namespacesauthorizationrule,mutating=false,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=eventhub.azure.com,resources=namespacesauthorizationrules,verbs=create;update,versions=v1beta20211101,name=validate.v1beta20211101.namespacesauthorizationrules.eventhub.azure.com,admissionReviewVersions=v1beta1 +// +kubebuilder:webhook:path=/validate-eventhub-azure-com-v1beta20211101-namespacesauthorizationrule,mutating=false,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=eventhub.azure.com,resources=namespacesauthorizationrules,verbs=create;update,versions=v1beta20211101,name=validate.v1beta20211101.namespacesauthorizationrules.eventhub.azure.com,admissionReviewVersions=v1 var _ admission.Validator = &NamespacesAuthorizationRule{} diff --git a/v2/api/eventhub/v1beta20211101/namespaces_eventhub_types_gen.go b/v2/api/eventhub/v1beta20211101/namespaces_eventhub_types_gen.go index aef6f34ef8..1a1978e91e 100644 --- a/v2/api/eventhub/v1beta20211101/namespaces_eventhub_types_gen.go +++ b/v2/api/eventhub/v1beta20211101/namespaces_eventhub_types_gen.go @@ -66,7 +66,7 @@ func (eventhub *NamespacesEventhub) ConvertTo(hub conversion.Hub) error { return eventhub.AssignPropertiesToNamespacesEventhub(destination) } -// +kubebuilder:webhook:path=/mutate-eventhub-azure-com-v1beta20211101-namespaceseventhub,mutating=true,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=eventhub.azure.com,resources=namespaceseventhubs,verbs=create;update,versions=v1beta20211101,name=default.v1beta20211101.namespaceseventhubs.eventhub.azure.com,admissionReviewVersions=v1beta1 +// +kubebuilder:webhook:path=/mutate-eventhub-azure-com-v1beta20211101-namespaceseventhub,mutating=true,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=eventhub.azure.com,resources=namespaceseventhubs,verbs=create;update,versions=v1beta20211101,name=default.v1beta20211101.namespaceseventhubs.eventhub.azure.com,admissionReviewVersions=v1 var _ admission.Defaulter = &NamespacesEventhub{} @@ -155,7 +155,7 @@ func (eventhub *NamespacesEventhub) SetStatus(status genruntime.ConvertibleStatu return nil } -// +kubebuilder:webhook:path=/validate-eventhub-azure-com-v1beta20211101-namespaceseventhub,mutating=false,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=eventhub.azure.com,resources=namespaceseventhubs,verbs=create;update,versions=v1beta20211101,name=validate.v1beta20211101.namespaceseventhubs.eventhub.azure.com,admissionReviewVersions=v1beta1 +// +kubebuilder:webhook:path=/validate-eventhub-azure-com-v1beta20211101-namespaceseventhub,mutating=false,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=eventhub.azure.com,resources=namespaceseventhubs,verbs=create;update,versions=v1beta20211101,name=validate.v1beta20211101.namespaceseventhubs.eventhub.azure.com,admissionReviewVersions=v1 var _ admission.Validator = &NamespacesEventhub{} diff --git a/v2/api/eventhub/v1beta20211101/namespaces_eventhubs_authorization_rule_types_gen.go b/v2/api/eventhub/v1beta20211101/namespaces_eventhubs_authorization_rule_types_gen.go index 3b3c8bb698..373a73cfb7 100644 --- a/v2/api/eventhub/v1beta20211101/namespaces_eventhubs_authorization_rule_types_gen.go +++ b/v2/api/eventhub/v1beta20211101/namespaces_eventhubs_authorization_rule_types_gen.go @@ -66,7 +66,7 @@ func (rule *NamespacesEventhubsAuthorizationRule) ConvertTo(hub conversion.Hub) return rule.AssignPropertiesToNamespacesEventhubsAuthorizationRule(destination) } -// +kubebuilder:webhook:path=/mutate-eventhub-azure-com-v1beta20211101-namespaceseventhubsauthorizationrule,mutating=true,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=eventhub.azure.com,resources=namespaceseventhubsauthorizationrules,verbs=create;update,versions=v1beta20211101,name=default.v1beta20211101.namespaceseventhubsauthorizationrules.eventhub.azure.com,admissionReviewVersions=v1beta1 +// +kubebuilder:webhook:path=/mutate-eventhub-azure-com-v1beta20211101-namespaceseventhubsauthorizationrule,mutating=true,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=eventhub.azure.com,resources=namespaceseventhubsauthorizationrules,verbs=create;update,versions=v1beta20211101,name=default.v1beta20211101.namespaceseventhubsauthorizationrules.eventhub.azure.com,admissionReviewVersions=v1 var _ admission.Defaulter = &NamespacesEventhubsAuthorizationRule{} @@ -155,7 +155,7 @@ func (rule *NamespacesEventhubsAuthorizationRule) SetStatus(status genruntime.Co return nil } -// +kubebuilder:webhook:path=/validate-eventhub-azure-com-v1beta20211101-namespaceseventhubsauthorizationrule,mutating=false,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=eventhub.azure.com,resources=namespaceseventhubsauthorizationrules,verbs=create;update,versions=v1beta20211101,name=validate.v1beta20211101.namespaceseventhubsauthorizationrules.eventhub.azure.com,admissionReviewVersions=v1beta1 +// +kubebuilder:webhook:path=/validate-eventhub-azure-com-v1beta20211101-namespaceseventhubsauthorizationrule,mutating=false,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=eventhub.azure.com,resources=namespaceseventhubsauthorizationrules,verbs=create;update,versions=v1beta20211101,name=validate.v1beta20211101.namespaceseventhubsauthorizationrules.eventhub.azure.com,admissionReviewVersions=v1 var _ admission.Validator = &NamespacesEventhubsAuthorizationRule{} diff --git a/v2/api/eventhub/v1beta20211101/namespaces_eventhubs_consumer_group_types_gen.go b/v2/api/eventhub/v1beta20211101/namespaces_eventhubs_consumer_group_types_gen.go index bb9ff2333d..bba939ca39 100644 --- a/v2/api/eventhub/v1beta20211101/namespaces_eventhubs_consumer_group_types_gen.go +++ b/v2/api/eventhub/v1beta20211101/namespaces_eventhubs_consumer_group_types_gen.go @@ -66,7 +66,7 @@ func (group *NamespacesEventhubsConsumerGroup) ConvertTo(hub conversion.Hub) err return group.AssignPropertiesToNamespacesEventhubsConsumerGroup(destination) } -// +kubebuilder:webhook:path=/mutate-eventhub-azure-com-v1beta20211101-namespaceseventhubsconsumergroup,mutating=true,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=eventhub.azure.com,resources=namespaceseventhubsconsumergroups,verbs=create;update,versions=v1beta20211101,name=default.v1beta20211101.namespaceseventhubsconsumergroups.eventhub.azure.com,admissionReviewVersions=v1beta1 +// +kubebuilder:webhook:path=/mutate-eventhub-azure-com-v1beta20211101-namespaceseventhubsconsumergroup,mutating=true,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=eventhub.azure.com,resources=namespaceseventhubsconsumergroups,verbs=create;update,versions=v1beta20211101,name=default.v1beta20211101.namespaceseventhubsconsumergroups.eventhub.azure.com,admissionReviewVersions=v1 var _ admission.Defaulter = &NamespacesEventhubsConsumerGroup{} @@ -155,7 +155,7 @@ func (group *NamespacesEventhubsConsumerGroup) SetStatus(status genruntime.Conve return nil } -// +kubebuilder:webhook:path=/validate-eventhub-azure-com-v1beta20211101-namespaceseventhubsconsumergroup,mutating=false,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=eventhub.azure.com,resources=namespaceseventhubsconsumergroups,verbs=create;update,versions=v1beta20211101,name=validate.v1beta20211101.namespaceseventhubsconsumergroups.eventhub.azure.com,admissionReviewVersions=v1beta1 +// +kubebuilder:webhook:path=/validate-eventhub-azure-com-v1beta20211101-namespaceseventhubsconsumergroup,mutating=false,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=eventhub.azure.com,resources=namespaceseventhubsconsumergroups,verbs=create;update,versions=v1beta20211101,name=validate.v1beta20211101.namespaceseventhubsconsumergroups.eventhub.azure.com,admissionReviewVersions=v1 var _ admission.Validator = &NamespacesEventhubsConsumerGroup{} diff --git a/v2/api/insights/v1alpha1api20180501preview/webtest_types_gen.go b/v2/api/insights/v1alpha1api20180501preview/webtest_types_gen.go index 0b55e58d06..5011cfd6aa 100644 --- a/v2/api/insights/v1alpha1api20180501preview/webtest_types_gen.go +++ b/v2/api/insights/v1alpha1api20180501preview/webtest_types_gen.go @@ -81,7 +81,7 @@ func (webtest *Webtest) ConvertTo(hub conversion.Hub) error { return nil } -// +kubebuilder:webhook:path=/mutate-insights-azure-com-v1alpha1api20180501preview-webtest,mutating=true,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=insights.azure.com,resources=webtests,verbs=create;update,versions=v1alpha1api20180501preview,name=default.v1alpha1api20180501preview.webtests.insights.azure.com,admissionReviewVersions=v1beta1 +// +kubebuilder:webhook:path=/mutate-insights-azure-com-v1alpha1api20180501preview-webtest,mutating=true,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=insights.azure.com,resources=webtests,verbs=create;update,versions=v1alpha1api20180501preview,name=default.v1alpha1api20180501preview.webtests.insights.azure.com,admissionReviewVersions=v1 var _ admission.Defaulter = &Webtest{} @@ -170,7 +170,7 @@ func (webtest *Webtest) SetStatus(status genruntime.ConvertibleStatus) error { return nil } -// +kubebuilder:webhook:path=/validate-insights-azure-com-v1alpha1api20180501preview-webtest,mutating=false,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=insights.azure.com,resources=webtests,verbs=create;update,versions=v1alpha1api20180501preview,name=validate.v1alpha1api20180501preview.webtests.insights.azure.com,admissionReviewVersions=v1beta1 +// +kubebuilder:webhook:path=/validate-insights-azure-com-v1alpha1api20180501preview-webtest,mutating=false,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=insights.azure.com,resources=webtests,verbs=create;update,versions=v1alpha1api20180501preview,name=validate.v1alpha1api20180501preview.webtests.insights.azure.com,admissionReviewVersions=v1 var _ admission.Validator = &Webtest{} diff --git a/v2/api/insights/v1alpha1api20200202/component_types_gen.go b/v2/api/insights/v1alpha1api20200202/component_types_gen.go index e088385e8c..06df907bdc 100644 --- a/v2/api/insights/v1alpha1api20200202/component_types_gen.go +++ b/v2/api/insights/v1alpha1api20200202/component_types_gen.go @@ -81,7 +81,7 @@ func (component *Component) ConvertTo(hub conversion.Hub) error { return nil } -// +kubebuilder:webhook:path=/mutate-insights-azure-com-v1alpha1api20200202-component,mutating=true,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=insights.azure.com,resources=components,verbs=create;update,versions=v1alpha1api20200202,name=default.v1alpha1api20200202.components.insights.azure.com,admissionReviewVersions=v1beta1 +// +kubebuilder:webhook:path=/mutate-insights-azure-com-v1alpha1api20200202-component,mutating=true,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=insights.azure.com,resources=components,verbs=create;update,versions=v1alpha1api20200202,name=default.v1alpha1api20200202.components.insights.azure.com,admissionReviewVersions=v1 var _ admission.Defaulter = &Component{} @@ -170,7 +170,7 @@ func (component *Component) SetStatus(status genruntime.ConvertibleStatus) error return nil } -// +kubebuilder:webhook:path=/validate-insights-azure-com-v1alpha1api20200202-component,mutating=false,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=insights.azure.com,resources=components,verbs=create;update,versions=v1alpha1api20200202,name=validate.v1alpha1api20200202.components.insights.azure.com,admissionReviewVersions=v1beta1 +// +kubebuilder:webhook:path=/validate-insights-azure-com-v1alpha1api20200202-component,mutating=false,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=insights.azure.com,resources=components,verbs=create;update,versions=v1alpha1api20200202,name=validate.v1alpha1api20200202.components.insights.azure.com,admissionReviewVersions=v1 var _ admission.Validator = &Component{} diff --git a/v2/api/insights/v1beta20180501preview/webtest_types_gen.go b/v2/api/insights/v1beta20180501preview/webtest_types_gen.go index ef60cb7d73..5d314125d5 100644 --- a/v2/api/insights/v1beta20180501preview/webtest_types_gen.go +++ b/v2/api/insights/v1beta20180501preview/webtest_types_gen.go @@ -67,7 +67,7 @@ func (webtest *Webtest) ConvertTo(hub conversion.Hub) error { return webtest.AssignPropertiesToWebtest(destination) } -// +kubebuilder:webhook:path=/mutate-insights-azure-com-v1beta20180501preview-webtest,mutating=true,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=insights.azure.com,resources=webtests,verbs=create;update,versions=v1beta20180501preview,name=default.v1beta20180501preview.webtests.insights.azure.com,admissionReviewVersions=v1beta1 +// +kubebuilder:webhook:path=/mutate-insights-azure-com-v1beta20180501preview-webtest,mutating=true,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=insights.azure.com,resources=webtests,verbs=create;update,versions=v1beta20180501preview,name=default.v1beta20180501preview.webtests.insights.azure.com,admissionReviewVersions=v1 var _ admission.Defaulter = &Webtest{} @@ -156,7 +156,7 @@ func (webtest *Webtest) SetStatus(status genruntime.ConvertibleStatus) error { return nil } -// +kubebuilder:webhook:path=/validate-insights-azure-com-v1beta20180501preview-webtest,mutating=false,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=insights.azure.com,resources=webtests,verbs=create;update,versions=v1beta20180501preview,name=validate.v1beta20180501preview.webtests.insights.azure.com,admissionReviewVersions=v1beta1 +// +kubebuilder:webhook:path=/validate-insights-azure-com-v1beta20180501preview-webtest,mutating=false,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=insights.azure.com,resources=webtests,verbs=create;update,versions=v1beta20180501preview,name=validate.v1beta20180501preview.webtests.insights.azure.com,admissionReviewVersions=v1 var _ admission.Validator = &Webtest{} diff --git a/v2/api/insights/v1beta20200202/component_types_gen.go b/v2/api/insights/v1beta20200202/component_types_gen.go index 41cc9440d2..7dc04cf997 100644 --- a/v2/api/insights/v1beta20200202/component_types_gen.go +++ b/v2/api/insights/v1beta20200202/component_types_gen.go @@ -67,7 +67,7 @@ func (component *Component) ConvertTo(hub conversion.Hub) error { return component.AssignPropertiesToComponent(destination) } -// +kubebuilder:webhook:path=/mutate-insights-azure-com-v1beta20200202-component,mutating=true,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=insights.azure.com,resources=components,verbs=create;update,versions=v1beta20200202,name=default.v1beta20200202.components.insights.azure.com,admissionReviewVersions=v1beta1 +// +kubebuilder:webhook:path=/mutate-insights-azure-com-v1beta20200202-component,mutating=true,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=insights.azure.com,resources=components,verbs=create;update,versions=v1beta20200202,name=default.v1beta20200202.components.insights.azure.com,admissionReviewVersions=v1 var _ admission.Defaulter = &Component{} @@ -156,7 +156,7 @@ func (component *Component) SetStatus(status genruntime.ConvertibleStatus) error return nil } -// +kubebuilder:webhook:path=/validate-insights-azure-com-v1beta20200202-component,mutating=false,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=insights.azure.com,resources=components,verbs=create;update,versions=v1beta20200202,name=validate.v1beta20200202.components.insights.azure.com,admissionReviewVersions=v1beta1 +// +kubebuilder:webhook:path=/validate-insights-azure-com-v1beta20200202-component,mutating=false,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=insights.azure.com,resources=components,verbs=create;update,versions=v1beta20200202,name=validate.v1beta20200202.components.insights.azure.com,admissionReviewVersions=v1 var _ admission.Validator = &Component{} diff --git a/v2/api/keyvault/v1beta20210401preview/vault_types_gen.go b/v2/api/keyvault/v1beta20210401preview/vault_types_gen.go index 88b1919715..5000082b92 100644 --- a/v2/api/keyvault/v1beta20210401preview/vault_types_gen.go +++ b/v2/api/keyvault/v1beta20210401preview/vault_types_gen.go @@ -66,7 +66,7 @@ func (vault *Vault) ConvertTo(hub conversion.Hub) error { return vault.AssignPropertiesToVault(destination) } -// +kubebuilder:webhook:path=/mutate-keyvault-azure-com-v1beta20210401preview-vault,mutating=true,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=keyvault.azure.com,resources=vaults,verbs=create;update,versions=v1beta20210401preview,name=default.v1beta20210401preview.vaults.keyvault.azure.com,admissionReviewVersions=v1beta1 +// +kubebuilder:webhook:path=/mutate-keyvault-azure-com-v1beta20210401preview-vault,mutating=true,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=keyvault.azure.com,resources=vaults,verbs=create;update,versions=v1beta20210401preview,name=default.v1beta20210401preview.vaults.keyvault.azure.com,admissionReviewVersions=v1 var _ admission.Defaulter = &Vault{} @@ -155,7 +155,7 @@ func (vault *Vault) SetStatus(status genruntime.ConvertibleStatus) error { return nil } -// +kubebuilder:webhook:path=/validate-keyvault-azure-com-v1beta20210401preview-vault,mutating=false,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=keyvault.azure.com,resources=vaults,verbs=create;update,versions=v1beta20210401preview,name=validate.v1beta20210401preview.vaults.keyvault.azure.com,admissionReviewVersions=v1beta1 +// +kubebuilder:webhook:path=/validate-keyvault-azure-com-v1beta20210401preview-vault,mutating=false,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=keyvault.azure.com,resources=vaults,verbs=create;update,versions=v1beta20210401preview,name=validate.v1beta20210401preview.vaults.keyvault.azure.com,admissionReviewVersions=v1 var _ admission.Validator = &Vault{} diff --git a/v2/api/machinelearningservices/v1beta20210701/workspace_types_gen.go b/v2/api/machinelearningservices/v1beta20210701/workspace_types_gen.go index cc62094c1e..438ec84a2c 100644 --- a/v2/api/machinelearningservices/v1beta20210701/workspace_types_gen.go +++ b/v2/api/machinelearningservices/v1beta20210701/workspace_types_gen.go @@ -67,7 +67,7 @@ func (workspace *Workspace) ConvertTo(hub conversion.Hub) error { return workspace.AssignPropertiesToWorkspace(destination) } -// +kubebuilder:webhook:path=/mutate-machinelearningservices-azure-com-v1beta20210701-workspace,mutating=true,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=machinelearningservices.azure.com,resources=workspaces,verbs=create;update,versions=v1beta20210701,name=default.v1beta20210701.workspaces.machinelearningservices.azure.com,admissionReviewVersions=v1beta1 +// +kubebuilder:webhook:path=/mutate-machinelearningservices-azure-com-v1beta20210701-workspace,mutating=true,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=machinelearningservices.azure.com,resources=workspaces,verbs=create;update,versions=v1beta20210701,name=default.v1beta20210701.workspaces.machinelearningservices.azure.com,admissionReviewVersions=v1 var _ admission.Defaulter = &Workspace{} @@ -156,7 +156,7 @@ func (workspace *Workspace) SetStatus(status genruntime.ConvertibleStatus) error return nil } -// +kubebuilder:webhook:path=/validate-machinelearningservices-azure-com-v1beta20210701-workspace,mutating=false,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=machinelearningservices.azure.com,resources=workspaces,verbs=create;update,versions=v1beta20210701,name=validate.v1beta20210701.workspaces.machinelearningservices.azure.com,admissionReviewVersions=v1beta1 +// +kubebuilder:webhook:path=/validate-machinelearningservices-azure-com-v1beta20210701-workspace,mutating=false,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=machinelearningservices.azure.com,resources=workspaces,verbs=create;update,versions=v1beta20210701,name=validate.v1beta20210701.workspaces.machinelearningservices.azure.com,admissionReviewVersions=v1 var _ admission.Validator = &Workspace{} diff --git a/v2/api/machinelearningservices/v1beta20210701/workspaces_compute_types_gen.go b/v2/api/machinelearningservices/v1beta20210701/workspaces_compute_types_gen.go index 80bb78932a..484fe6c440 100644 --- a/v2/api/machinelearningservices/v1beta20210701/workspaces_compute_types_gen.go +++ b/v2/api/machinelearningservices/v1beta20210701/workspaces_compute_types_gen.go @@ -67,7 +67,7 @@ func (compute *WorkspacesCompute) ConvertTo(hub conversion.Hub) error { return compute.AssignPropertiesToWorkspacesCompute(destination) } -// +kubebuilder:webhook:path=/mutate-machinelearningservices-azure-com-v1beta20210701-workspacescompute,mutating=true,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=machinelearningservices.azure.com,resources=workspacescomputes,verbs=create;update,versions=v1beta20210701,name=default.v1beta20210701.workspacescomputes.machinelearningservices.azure.com,admissionReviewVersions=v1beta1 +// +kubebuilder:webhook:path=/mutate-machinelearningservices-azure-com-v1beta20210701-workspacescompute,mutating=true,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=machinelearningservices.azure.com,resources=workspacescomputes,verbs=create;update,versions=v1beta20210701,name=default.v1beta20210701.workspacescomputes.machinelearningservices.azure.com,admissionReviewVersions=v1 var _ admission.Defaulter = &WorkspacesCompute{} @@ -156,7 +156,7 @@ func (compute *WorkspacesCompute) SetStatus(status genruntime.ConvertibleStatus) return nil } -// +kubebuilder:webhook:path=/validate-machinelearningservices-azure-com-v1beta20210701-workspacescompute,mutating=false,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=machinelearningservices.azure.com,resources=workspacescomputes,verbs=create;update,versions=v1beta20210701,name=validate.v1beta20210701.workspacescomputes.machinelearningservices.azure.com,admissionReviewVersions=v1beta1 +// +kubebuilder:webhook:path=/validate-machinelearningservices-azure-com-v1beta20210701-workspacescompute,mutating=false,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=machinelearningservices.azure.com,resources=workspacescomputes,verbs=create;update,versions=v1beta20210701,name=validate.v1beta20210701.workspacescomputes.machinelearningservices.azure.com,admissionReviewVersions=v1 var _ admission.Validator = &WorkspacesCompute{} diff --git a/v2/api/machinelearningservices/v1beta20210701/workspaces_connection_types_gen.go b/v2/api/machinelearningservices/v1beta20210701/workspaces_connection_types_gen.go index 82a93cac15..450d8ffaf4 100644 --- a/v2/api/machinelearningservices/v1beta20210701/workspaces_connection_types_gen.go +++ b/v2/api/machinelearningservices/v1beta20210701/workspaces_connection_types_gen.go @@ -66,7 +66,7 @@ func (connection *WorkspacesConnection) ConvertTo(hub conversion.Hub) error { return connection.AssignPropertiesToWorkspacesConnection(destination) } -// +kubebuilder:webhook:path=/mutate-machinelearningservices-azure-com-v1beta20210701-workspacesconnection,mutating=true,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=machinelearningservices.azure.com,resources=workspacesconnections,verbs=create;update,versions=v1beta20210701,name=default.v1beta20210701.workspacesconnections.machinelearningservices.azure.com,admissionReviewVersions=v1beta1 +// +kubebuilder:webhook:path=/mutate-machinelearningservices-azure-com-v1beta20210701-workspacesconnection,mutating=true,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=machinelearningservices.azure.com,resources=workspacesconnections,verbs=create;update,versions=v1beta20210701,name=default.v1beta20210701.workspacesconnections.machinelearningservices.azure.com,admissionReviewVersions=v1 var _ admission.Defaulter = &WorkspacesConnection{} @@ -155,7 +155,7 @@ func (connection *WorkspacesConnection) SetStatus(status genruntime.ConvertibleS return nil } -// +kubebuilder:webhook:path=/validate-machinelearningservices-azure-com-v1beta20210701-workspacesconnection,mutating=false,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=machinelearningservices.azure.com,resources=workspacesconnections,verbs=create;update,versions=v1beta20210701,name=validate.v1beta20210701.workspacesconnections.machinelearningservices.azure.com,admissionReviewVersions=v1beta1 +// +kubebuilder:webhook:path=/validate-machinelearningservices-azure-com-v1beta20210701-workspacesconnection,mutating=false,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=machinelearningservices.azure.com,resources=workspacesconnections,verbs=create;update,versions=v1beta20210701,name=validate.v1beta20210701.workspacesconnections.machinelearningservices.azure.com,admissionReviewVersions=v1 var _ admission.Validator = &WorkspacesConnection{} diff --git a/v2/api/managedidentity/v1alpha1api20181130/user_assigned_identity_types_gen.go b/v2/api/managedidentity/v1alpha1api20181130/user_assigned_identity_types_gen.go index 94475bdf24..6ec44ef50b 100644 --- a/v2/api/managedidentity/v1alpha1api20181130/user_assigned_identity_types_gen.go +++ b/v2/api/managedidentity/v1alpha1api20181130/user_assigned_identity_types_gen.go @@ -80,7 +80,7 @@ func (identity *UserAssignedIdentity) ConvertTo(hub conversion.Hub) error { return nil } -// +kubebuilder:webhook:path=/mutate-managedidentity-azure-com-v1alpha1api20181130-userassignedidentity,mutating=true,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=managedidentity.azure.com,resources=userassignedidentities,verbs=create;update,versions=v1alpha1api20181130,name=default.v1alpha1api20181130.userassignedidentities.managedidentity.azure.com,admissionReviewVersions=v1beta1 +// +kubebuilder:webhook:path=/mutate-managedidentity-azure-com-v1alpha1api20181130-userassignedidentity,mutating=true,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=managedidentity.azure.com,resources=userassignedidentities,verbs=create;update,versions=v1alpha1api20181130,name=default.v1alpha1api20181130.userassignedidentities.managedidentity.azure.com,admissionReviewVersions=v1 var _ admission.Defaulter = &UserAssignedIdentity{} @@ -169,7 +169,7 @@ func (identity *UserAssignedIdentity) SetStatus(status genruntime.ConvertibleSta return nil } -// +kubebuilder:webhook:path=/validate-managedidentity-azure-com-v1alpha1api20181130-userassignedidentity,mutating=false,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=managedidentity.azure.com,resources=userassignedidentities,verbs=create;update,versions=v1alpha1api20181130,name=validate.v1alpha1api20181130.userassignedidentities.managedidentity.azure.com,admissionReviewVersions=v1beta1 +// +kubebuilder:webhook:path=/validate-managedidentity-azure-com-v1alpha1api20181130-userassignedidentity,mutating=false,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=managedidentity.azure.com,resources=userassignedidentities,verbs=create;update,versions=v1alpha1api20181130,name=validate.v1alpha1api20181130.userassignedidentities.managedidentity.azure.com,admissionReviewVersions=v1 var _ admission.Validator = &UserAssignedIdentity{} diff --git a/v2/api/managedidentity/v1beta20181130/user_assigned_identity_types_gen.go b/v2/api/managedidentity/v1beta20181130/user_assigned_identity_types_gen.go index ec84da44cc..938ddc4140 100644 --- a/v2/api/managedidentity/v1beta20181130/user_assigned_identity_types_gen.go +++ b/v2/api/managedidentity/v1beta20181130/user_assigned_identity_types_gen.go @@ -66,7 +66,7 @@ func (identity *UserAssignedIdentity) ConvertTo(hub conversion.Hub) error { return identity.AssignPropertiesToUserAssignedIdentity(destination) } -// +kubebuilder:webhook:path=/mutate-managedidentity-azure-com-v1beta20181130-userassignedidentity,mutating=true,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=managedidentity.azure.com,resources=userassignedidentities,verbs=create;update,versions=v1beta20181130,name=default.v1beta20181130.userassignedidentities.managedidentity.azure.com,admissionReviewVersions=v1beta1 +// +kubebuilder:webhook:path=/mutate-managedidentity-azure-com-v1beta20181130-userassignedidentity,mutating=true,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=managedidentity.azure.com,resources=userassignedidentities,verbs=create;update,versions=v1beta20181130,name=default.v1beta20181130.userassignedidentities.managedidentity.azure.com,admissionReviewVersions=v1 var _ admission.Defaulter = &UserAssignedIdentity{} @@ -155,7 +155,7 @@ func (identity *UserAssignedIdentity) SetStatus(status genruntime.ConvertibleSta return nil } -// +kubebuilder:webhook:path=/validate-managedidentity-azure-com-v1beta20181130-userassignedidentity,mutating=false,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=managedidentity.azure.com,resources=userassignedidentities,verbs=create;update,versions=v1beta20181130,name=validate.v1beta20181130.userassignedidentities.managedidentity.azure.com,admissionReviewVersions=v1beta1 +// +kubebuilder:webhook:path=/validate-managedidentity-azure-com-v1beta20181130-userassignedidentity,mutating=false,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=managedidentity.azure.com,resources=userassignedidentities,verbs=create;update,versions=v1beta20181130,name=validate.v1beta20181130.userassignedidentities.managedidentity.azure.com,admissionReviewVersions=v1 var _ admission.Validator = &UserAssignedIdentity{} diff --git a/v2/api/network/v1alpha1api20201101/load_balancer_types_gen.go b/v2/api/network/v1alpha1api20201101/load_balancer_types_gen.go index fb6044cbc8..915b2d59ce 100644 --- a/v2/api/network/v1alpha1api20201101/load_balancer_types_gen.go +++ b/v2/api/network/v1alpha1api20201101/load_balancer_types_gen.go @@ -80,7 +80,7 @@ func (balancer *LoadBalancer) ConvertTo(hub conversion.Hub) error { return nil } -// +kubebuilder:webhook:path=/mutate-network-azure-com-v1alpha1api20201101-loadbalancer,mutating=true,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=network.azure.com,resources=loadbalancers,verbs=create;update,versions=v1alpha1api20201101,name=default.v1alpha1api20201101.loadbalancers.network.azure.com,admissionReviewVersions=v1beta1 +// +kubebuilder:webhook:path=/mutate-network-azure-com-v1alpha1api20201101-loadbalancer,mutating=true,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=network.azure.com,resources=loadbalancers,verbs=create;update,versions=v1alpha1api20201101,name=default.v1alpha1api20201101.loadbalancers.network.azure.com,admissionReviewVersions=v1 var _ admission.Defaulter = &LoadBalancer{} @@ -169,7 +169,7 @@ func (balancer *LoadBalancer) SetStatus(status genruntime.ConvertibleStatus) err return nil } -// +kubebuilder:webhook:path=/validate-network-azure-com-v1alpha1api20201101-loadbalancer,mutating=false,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=network.azure.com,resources=loadbalancers,verbs=create;update,versions=v1alpha1api20201101,name=validate.v1alpha1api20201101.loadbalancers.network.azure.com,admissionReviewVersions=v1beta1 +// +kubebuilder:webhook:path=/validate-network-azure-com-v1alpha1api20201101-loadbalancer,mutating=false,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=network.azure.com,resources=loadbalancers,verbs=create;update,versions=v1alpha1api20201101,name=validate.v1alpha1api20201101.loadbalancers.network.azure.com,admissionReviewVersions=v1 var _ admission.Validator = &LoadBalancer{} diff --git a/v2/api/network/v1alpha1api20201101/network_interface_types_gen.go b/v2/api/network/v1alpha1api20201101/network_interface_types_gen.go index 9de5e287c6..3f9144faab 100644 --- a/v2/api/network/v1alpha1api20201101/network_interface_types_gen.go +++ b/v2/api/network/v1alpha1api20201101/network_interface_types_gen.go @@ -80,7 +80,7 @@ func (networkInterface *NetworkInterface) ConvertTo(hub conversion.Hub) error { return nil } -// +kubebuilder:webhook:path=/mutate-network-azure-com-v1alpha1api20201101-networkinterface,mutating=true,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=network.azure.com,resources=networkinterfaces,verbs=create;update,versions=v1alpha1api20201101,name=default.v1alpha1api20201101.networkinterfaces.network.azure.com,admissionReviewVersions=v1beta1 +// +kubebuilder:webhook:path=/mutate-network-azure-com-v1alpha1api20201101-networkinterface,mutating=true,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=network.azure.com,resources=networkinterfaces,verbs=create;update,versions=v1alpha1api20201101,name=default.v1alpha1api20201101.networkinterfaces.network.azure.com,admissionReviewVersions=v1 var _ admission.Defaulter = &NetworkInterface{} @@ -169,7 +169,7 @@ func (networkInterface *NetworkInterface) SetStatus(status genruntime.Convertibl return nil } -// +kubebuilder:webhook:path=/validate-network-azure-com-v1alpha1api20201101-networkinterface,mutating=false,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=network.azure.com,resources=networkinterfaces,verbs=create;update,versions=v1alpha1api20201101,name=validate.v1alpha1api20201101.networkinterfaces.network.azure.com,admissionReviewVersions=v1beta1 +// +kubebuilder:webhook:path=/validate-network-azure-com-v1alpha1api20201101-networkinterface,mutating=false,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=network.azure.com,resources=networkinterfaces,verbs=create;update,versions=v1alpha1api20201101,name=validate.v1alpha1api20201101.networkinterfaces.network.azure.com,admissionReviewVersions=v1 var _ admission.Validator = &NetworkInterface{} diff --git a/v2/api/network/v1alpha1api20201101/network_security_group_types_gen.go b/v2/api/network/v1alpha1api20201101/network_security_group_types_gen.go index 7c4bc7d842..ad9c85fefe 100644 --- a/v2/api/network/v1alpha1api20201101/network_security_group_types_gen.go +++ b/v2/api/network/v1alpha1api20201101/network_security_group_types_gen.go @@ -80,7 +80,7 @@ func (group *NetworkSecurityGroup) ConvertTo(hub conversion.Hub) error { return nil } -// +kubebuilder:webhook:path=/mutate-network-azure-com-v1alpha1api20201101-networksecuritygroup,mutating=true,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=network.azure.com,resources=networksecuritygroups,verbs=create;update,versions=v1alpha1api20201101,name=default.v1alpha1api20201101.networksecuritygroups.network.azure.com,admissionReviewVersions=v1beta1 +// +kubebuilder:webhook:path=/mutate-network-azure-com-v1alpha1api20201101-networksecuritygroup,mutating=true,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=network.azure.com,resources=networksecuritygroups,verbs=create;update,versions=v1alpha1api20201101,name=default.v1alpha1api20201101.networksecuritygroups.network.azure.com,admissionReviewVersions=v1 var _ admission.Defaulter = &NetworkSecurityGroup{} @@ -169,7 +169,7 @@ func (group *NetworkSecurityGroup) SetStatus(status genruntime.ConvertibleStatus return nil } -// +kubebuilder:webhook:path=/validate-network-azure-com-v1alpha1api20201101-networksecuritygroup,mutating=false,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=network.azure.com,resources=networksecuritygroups,verbs=create;update,versions=v1alpha1api20201101,name=validate.v1alpha1api20201101.networksecuritygroups.network.azure.com,admissionReviewVersions=v1beta1 +// +kubebuilder:webhook:path=/validate-network-azure-com-v1alpha1api20201101-networksecuritygroup,mutating=false,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=network.azure.com,resources=networksecuritygroups,verbs=create;update,versions=v1alpha1api20201101,name=validate.v1alpha1api20201101.networksecuritygroups.network.azure.com,admissionReviewVersions=v1 var _ admission.Validator = &NetworkSecurityGroup{} diff --git a/v2/api/network/v1alpha1api20201101/network_security_groups_security_rule_types_gen.go b/v2/api/network/v1alpha1api20201101/network_security_groups_security_rule_types_gen.go index 5575c456a6..c37585d67a 100644 --- a/v2/api/network/v1alpha1api20201101/network_security_groups_security_rule_types_gen.go +++ b/v2/api/network/v1alpha1api20201101/network_security_groups_security_rule_types_gen.go @@ -80,7 +80,7 @@ func (rule *NetworkSecurityGroupsSecurityRule) ConvertTo(hub conversion.Hub) err return nil } -// +kubebuilder:webhook:path=/mutate-network-azure-com-v1alpha1api20201101-networksecuritygroupssecurityrule,mutating=true,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=network.azure.com,resources=networksecuritygroupssecurityrules,verbs=create;update,versions=v1alpha1api20201101,name=default.v1alpha1api20201101.networksecuritygroupssecurityrules.network.azure.com,admissionReviewVersions=v1beta1 +// +kubebuilder:webhook:path=/mutate-network-azure-com-v1alpha1api20201101-networksecuritygroupssecurityrule,mutating=true,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=network.azure.com,resources=networksecuritygroupssecurityrules,verbs=create;update,versions=v1alpha1api20201101,name=default.v1alpha1api20201101.networksecuritygroupssecurityrules.network.azure.com,admissionReviewVersions=v1 var _ admission.Defaulter = &NetworkSecurityGroupsSecurityRule{} @@ -169,7 +169,7 @@ func (rule *NetworkSecurityGroupsSecurityRule) SetStatus(status genruntime.Conve return nil } -// +kubebuilder:webhook:path=/validate-network-azure-com-v1alpha1api20201101-networksecuritygroupssecurityrule,mutating=false,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=network.azure.com,resources=networksecuritygroupssecurityrules,verbs=create;update,versions=v1alpha1api20201101,name=validate.v1alpha1api20201101.networksecuritygroupssecurityrules.network.azure.com,admissionReviewVersions=v1beta1 +// +kubebuilder:webhook:path=/validate-network-azure-com-v1alpha1api20201101-networksecuritygroupssecurityrule,mutating=false,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=network.azure.com,resources=networksecuritygroupssecurityrules,verbs=create;update,versions=v1alpha1api20201101,name=validate.v1alpha1api20201101.networksecuritygroupssecurityrules.network.azure.com,admissionReviewVersions=v1 var _ admission.Validator = &NetworkSecurityGroupsSecurityRule{} diff --git a/v2/api/network/v1alpha1api20201101/public_ip_address_types_gen.go b/v2/api/network/v1alpha1api20201101/public_ip_address_types_gen.go index b9d35bc4bf..f694e6c4cd 100644 --- a/v2/api/network/v1alpha1api20201101/public_ip_address_types_gen.go +++ b/v2/api/network/v1alpha1api20201101/public_ip_address_types_gen.go @@ -80,7 +80,7 @@ func (address *PublicIPAddress) ConvertTo(hub conversion.Hub) error { return nil } -// +kubebuilder:webhook:path=/mutate-network-azure-com-v1alpha1api20201101-publicipaddress,mutating=true,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=network.azure.com,resources=publicipaddresses,verbs=create;update,versions=v1alpha1api20201101,name=default.v1alpha1api20201101.publicipaddresses.network.azure.com,admissionReviewVersions=v1beta1 +// +kubebuilder:webhook:path=/mutate-network-azure-com-v1alpha1api20201101-publicipaddress,mutating=true,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=network.azure.com,resources=publicipaddresses,verbs=create;update,versions=v1alpha1api20201101,name=default.v1alpha1api20201101.publicipaddresses.network.azure.com,admissionReviewVersions=v1 var _ admission.Defaulter = &PublicIPAddress{} @@ -169,7 +169,7 @@ func (address *PublicIPAddress) SetStatus(status genruntime.ConvertibleStatus) e return nil } -// +kubebuilder:webhook:path=/validate-network-azure-com-v1alpha1api20201101-publicipaddress,mutating=false,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=network.azure.com,resources=publicipaddresses,verbs=create;update,versions=v1alpha1api20201101,name=validate.v1alpha1api20201101.publicipaddresses.network.azure.com,admissionReviewVersions=v1beta1 +// +kubebuilder:webhook:path=/validate-network-azure-com-v1alpha1api20201101-publicipaddress,mutating=false,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=network.azure.com,resources=publicipaddresses,verbs=create;update,versions=v1alpha1api20201101,name=validate.v1alpha1api20201101.publicipaddresses.network.azure.com,admissionReviewVersions=v1 var _ admission.Validator = &PublicIPAddress{} diff --git a/v2/api/network/v1alpha1api20201101/virtual_network_gateway_types_gen.go b/v2/api/network/v1alpha1api20201101/virtual_network_gateway_types_gen.go index be65812e9b..f1cb75a02c 100644 --- a/v2/api/network/v1alpha1api20201101/virtual_network_gateway_types_gen.go +++ b/v2/api/network/v1alpha1api20201101/virtual_network_gateway_types_gen.go @@ -80,7 +80,7 @@ func (gateway *VirtualNetworkGateway) ConvertTo(hub conversion.Hub) error { return nil } -// +kubebuilder:webhook:path=/mutate-network-azure-com-v1alpha1api20201101-virtualnetworkgateway,mutating=true,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=network.azure.com,resources=virtualnetworkgateways,verbs=create;update,versions=v1alpha1api20201101,name=default.v1alpha1api20201101.virtualnetworkgateways.network.azure.com,admissionReviewVersions=v1beta1 +// +kubebuilder:webhook:path=/mutate-network-azure-com-v1alpha1api20201101-virtualnetworkgateway,mutating=true,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=network.azure.com,resources=virtualnetworkgateways,verbs=create;update,versions=v1alpha1api20201101,name=default.v1alpha1api20201101.virtualnetworkgateways.network.azure.com,admissionReviewVersions=v1 var _ admission.Defaulter = &VirtualNetworkGateway{} @@ -169,7 +169,7 @@ func (gateway *VirtualNetworkGateway) SetStatus(status genruntime.ConvertibleSta return nil } -// +kubebuilder:webhook:path=/validate-network-azure-com-v1alpha1api20201101-virtualnetworkgateway,mutating=false,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=network.azure.com,resources=virtualnetworkgateways,verbs=create;update,versions=v1alpha1api20201101,name=validate.v1alpha1api20201101.virtualnetworkgateways.network.azure.com,admissionReviewVersions=v1beta1 +// +kubebuilder:webhook:path=/validate-network-azure-com-v1alpha1api20201101-virtualnetworkgateway,mutating=false,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=network.azure.com,resources=virtualnetworkgateways,verbs=create;update,versions=v1alpha1api20201101,name=validate.v1alpha1api20201101.virtualnetworkgateways.network.azure.com,admissionReviewVersions=v1 var _ admission.Validator = &VirtualNetworkGateway{} diff --git a/v2/api/network/v1alpha1api20201101/virtual_network_types_gen.go b/v2/api/network/v1alpha1api20201101/virtual_network_types_gen.go index bd94a3d5b7..aa1766d67a 100644 --- a/v2/api/network/v1alpha1api20201101/virtual_network_types_gen.go +++ b/v2/api/network/v1alpha1api20201101/virtual_network_types_gen.go @@ -80,7 +80,7 @@ func (network *VirtualNetwork) ConvertTo(hub conversion.Hub) error { return nil } -// +kubebuilder:webhook:path=/mutate-network-azure-com-v1alpha1api20201101-virtualnetwork,mutating=true,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=network.azure.com,resources=virtualnetworks,verbs=create;update,versions=v1alpha1api20201101,name=default.v1alpha1api20201101.virtualnetworks.network.azure.com,admissionReviewVersions=v1beta1 +// +kubebuilder:webhook:path=/mutate-network-azure-com-v1alpha1api20201101-virtualnetwork,mutating=true,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=network.azure.com,resources=virtualnetworks,verbs=create;update,versions=v1alpha1api20201101,name=default.v1alpha1api20201101.virtualnetworks.network.azure.com,admissionReviewVersions=v1 var _ admission.Defaulter = &VirtualNetwork{} @@ -169,7 +169,7 @@ func (network *VirtualNetwork) SetStatus(status genruntime.ConvertibleStatus) er return nil } -// +kubebuilder:webhook:path=/validate-network-azure-com-v1alpha1api20201101-virtualnetwork,mutating=false,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=network.azure.com,resources=virtualnetworks,verbs=create;update,versions=v1alpha1api20201101,name=validate.v1alpha1api20201101.virtualnetworks.network.azure.com,admissionReviewVersions=v1beta1 +// +kubebuilder:webhook:path=/validate-network-azure-com-v1alpha1api20201101-virtualnetwork,mutating=false,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=network.azure.com,resources=virtualnetworks,verbs=create;update,versions=v1alpha1api20201101,name=validate.v1alpha1api20201101.virtualnetworks.network.azure.com,admissionReviewVersions=v1 var _ admission.Validator = &VirtualNetwork{} diff --git a/v2/api/network/v1alpha1api20201101/virtual_networks_subnet_types_gen.go b/v2/api/network/v1alpha1api20201101/virtual_networks_subnet_types_gen.go index 9098225b8b..3546e10565 100644 --- a/v2/api/network/v1alpha1api20201101/virtual_networks_subnet_types_gen.go +++ b/v2/api/network/v1alpha1api20201101/virtual_networks_subnet_types_gen.go @@ -80,7 +80,7 @@ func (subnet *VirtualNetworksSubnet) ConvertTo(hub conversion.Hub) error { return nil } -// +kubebuilder:webhook:path=/mutate-network-azure-com-v1alpha1api20201101-virtualnetworkssubnet,mutating=true,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=network.azure.com,resources=virtualnetworkssubnets,verbs=create;update,versions=v1alpha1api20201101,name=default.v1alpha1api20201101.virtualnetworkssubnets.network.azure.com,admissionReviewVersions=v1beta1 +// +kubebuilder:webhook:path=/mutate-network-azure-com-v1alpha1api20201101-virtualnetworkssubnet,mutating=true,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=network.azure.com,resources=virtualnetworkssubnets,verbs=create;update,versions=v1alpha1api20201101,name=default.v1alpha1api20201101.virtualnetworkssubnets.network.azure.com,admissionReviewVersions=v1 var _ admission.Defaulter = &VirtualNetworksSubnet{} @@ -169,7 +169,7 @@ func (subnet *VirtualNetworksSubnet) SetStatus(status genruntime.ConvertibleStat return nil } -// +kubebuilder:webhook:path=/validate-network-azure-com-v1alpha1api20201101-virtualnetworkssubnet,mutating=false,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=network.azure.com,resources=virtualnetworkssubnets,verbs=create;update,versions=v1alpha1api20201101,name=validate.v1alpha1api20201101.virtualnetworkssubnets.network.azure.com,admissionReviewVersions=v1beta1 +// +kubebuilder:webhook:path=/validate-network-azure-com-v1alpha1api20201101-virtualnetworkssubnet,mutating=false,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=network.azure.com,resources=virtualnetworkssubnets,verbs=create;update,versions=v1alpha1api20201101,name=validate.v1alpha1api20201101.virtualnetworkssubnets.network.azure.com,admissionReviewVersions=v1 var _ admission.Validator = &VirtualNetworksSubnet{} diff --git a/v2/api/network/v1alpha1api20201101/virtual_networks_virtual_network_peering_types_gen.go b/v2/api/network/v1alpha1api20201101/virtual_networks_virtual_network_peering_types_gen.go index f3e25ba8f4..c59afdbe51 100644 --- a/v2/api/network/v1alpha1api20201101/virtual_networks_virtual_network_peering_types_gen.go +++ b/v2/api/network/v1alpha1api20201101/virtual_networks_virtual_network_peering_types_gen.go @@ -80,7 +80,7 @@ func (peering *VirtualNetworksVirtualNetworkPeering) ConvertTo(hub conversion.Hu return nil } -// +kubebuilder:webhook:path=/mutate-network-azure-com-v1alpha1api20201101-virtualnetworksvirtualnetworkpeering,mutating=true,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=network.azure.com,resources=virtualnetworksvirtualnetworkpeerings,verbs=create;update,versions=v1alpha1api20201101,name=default.v1alpha1api20201101.virtualnetworksvirtualnetworkpeerings.network.azure.com,admissionReviewVersions=v1beta1 +// +kubebuilder:webhook:path=/mutate-network-azure-com-v1alpha1api20201101-virtualnetworksvirtualnetworkpeering,mutating=true,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=network.azure.com,resources=virtualnetworksvirtualnetworkpeerings,verbs=create;update,versions=v1alpha1api20201101,name=default.v1alpha1api20201101.virtualnetworksvirtualnetworkpeerings.network.azure.com,admissionReviewVersions=v1 var _ admission.Defaulter = &VirtualNetworksVirtualNetworkPeering{} @@ -169,7 +169,7 @@ func (peering *VirtualNetworksVirtualNetworkPeering) SetStatus(status genruntime return nil } -// +kubebuilder:webhook:path=/validate-network-azure-com-v1alpha1api20201101-virtualnetworksvirtualnetworkpeering,mutating=false,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=network.azure.com,resources=virtualnetworksvirtualnetworkpeerings,verbs=create;update,versions=v1alpha1api20201101,name=validate.v1alpha1api20201101.virtualnetworksvirtualnetworkpeerings.network.azure.com,admissionReviewVersions=v1beta1 +// +kubebuilder:webhook:path=/validate-network-azure-com-v1alpha1api20201101-virtualnetworksvirtualnetworkpeering,mutating=false,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=network.azure.com,resources=virtualnetworksvirtualnetworkpeerings,verbs=create;update,versions=v1alpha1api20201101,name=validate.v1alpha1api20201101.virtualnetworksvirtualnetworkpeerings.network.azure.com,admissionReviewVersions=v1 var _ admission.Validator = &VirtualNetworksVirtualNetworkPeering{} diff --git a/v2/api/network/v1beta20201101/load_balancer_types_gen.go b/v2/api/network/v1beta20201101/load_balancer_types_gen.go index d6d5d322b5..6c7b36c6d3 100644 --- a/v2/api/network/v1beta20201101/load_balancer_types_gen.go +++ b/v2/api/network/v1beta20201101/load_balancer_types_gen.go @@ -66,7 +66,7 @@ func (balancer *LoadBalancer) ConvertTo(hub conversion.Hub) error { return balancer.AssignPropertiesToLoadBalancer(destination) } -// +kubebuilder:webhook:path=/mutate-network-azure-com-v1beta20201101-loadbalancer,mutating=true,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=network.azure.com,resources=loadbalancers,verbs=create;update,versions=v1beta20201101,name=default.v1beta20201101.loadbalancers.network.azure.com,admissionReviewVersions=v1beta1 +// +kubebuilder:webhook:path=/mutate-network-azure-com-v1beta20201101-loadbalancer,mutating=true,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=network.azure.com,resources=loadbalancers,verbs=create;update,versions=v1beta20201101,name=default.v1beta20201101.loadbalancers.network.azure.com,admissionReviewVersions=v1 var _ admission.Defaulter = &LoadBalancer{} @@ -155,7 +155,7 @@ func (balancer *LoadBalancer) SetStatus(status genruntime.ConvertibleStatus) err return nil } -// +kubebuilder:webhook:path=/validate-network-azure-com-v1beta20201101-loadbalancer,mutating=false,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=network.azure.com,resources=loadbalancers,verbs=create;update,versions=v1beta20201101,name=validate.v1beta20201101.loadbalancers.network.azure.com,admissionReviewVersions=v1beta1 +// +kubebuilder:webhook:path=/validate-network-azure-com-v1beta20201101-loadbalancer,mutating=false,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=network.azure.com,resources=loadbalancers,verbs=create;update,versions=v1beta20201101,name=validate.v1beta20201101.loadbalancers.network.azure.com,admissionReviewVersions=v1 var _ admission.Validator = &LoadBalancer{} diff --git a/v2/api/network/v1beta20201101/network_interface_types_gen.go b/v2/api/network/v1beta20201101/network_interface_types_gen.go index 621915e0a6..fca921b71f 100644 --- a/v2/api/network/v1beta20201101/network_interface_types_gen.go +++ b/v2/api/network/v1beta20201101/network_interface_types_gen.go @@ -66,7 +66,7 @@ func (networkInterface *NetworkInterface) ConvertTo(hub conversion.Hub) error { return networkInterface.AssignPropertiesToNetworkInterface(destination) } -// +kubebuilder:webhook:path=/mutate-network-azure-com-v1beta20201101-networkinterface,mutating=true,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=network.azure.com,resources=networkinterfaces,verbs=create;update,versions=v1beta20201101,name=default.v1beta20201101.networkinterfaces.network.azure.com,admissionReviewVersions=v1beta1 +// +kubebuilder:webhook:path=/mutate-network-azure-com-v1beta20201101-networkinterface,mutating=true,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=network.azure.com,resources=networkinterfaces,verbs=create;update,versions=v1beta20201101,name=default.v1beta20201101.networkinterfaces.network.azure.com,admissionReviewVersions=v1 var _ admission.Defaulter = &NetworkInterface{} @@ -155,7 +155,7 @@ func (networkInterface *NetworkInterface) SetStatus(status genruntime.Convertibl return nil } -// +kubebuilder:webhook:path=/validate-network-azure-com-v1beta20201101-networkinterface,mutating=false,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=network.azure.com,resources=networkinterfaces,verbs=create;update,versions=v1beta20201101,name=validate.v1beta20201101.networkinterfaces.network.azure.com,admissionReviewVersions=v1beta1 +// +kubebuilder:webhook:path=/validate-network-azure-com-v1beta20201101-networkinterface,mutating=false,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=network.azure.com,resources=networkinterfaces,verbs=create;update,versions=v1beta20201101,name=validate.v1beta20201101.networkinterfaces.network.azure.com,admissionReviewVersions=v1 var _ admission.Validator = &NetworkInterface{} diff --git a/v2/api/network/v1beta20201101/network_security_group_types_gen.go b/v2/api/network/v1beta20201101/network_security_group_types_gen.go index 7ca28a61d8..b8ccc03034 100644 --- a/v2/api/network/v1beta20201101/network_security_group_types_gen.go +++ b/v2/api/network/v1beta20201101/network_security_group_types_gen.go @@ -66,7 +66,7 @@ func (group *NetworkSecurityGroup) ConvertTo(hub conversion.Hub) error { return group.AssignPropertiesToNetworkSecurityGroup(destination) } -// +kubebuilder:webhook:path=/mutate-network-azure-com-v1beta20201101-networksecuritygroup,mutating=true,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=network.azure.com,resources=networksecuritygroups,verbs=create;update,versions=v1beta20201101,name=default.v1beta20201101.networksecuritygroups.network.azure.com,admissionReviewVersions=v1beta1 +// +kubebuilder:webhook:path=/mutate-network-azure-com-v1beta20201101-networksecuritygroup,mutating=true,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=network.azure.com,resources=networksecuritygroups,verbs=create;update,versions=v1beta20201101,name=default.v1beta20201101.networksecuritygroups.network.azure.com,admissionReviewVersions=v1 var _ admission.Defaulter = &NetworkSecurityGroup{} @@ -155,7 +155,7 @@ func (group *NetworkSecurityGroup) SetStatus(status genruntime.ConvertibleStatus return nil } -// +kubebuilder:webhook:path=/validate-network-azure-com-v1beta20201101-networksecuritygroup,mutating=false,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=network.azure.com,resources=networksecuritygroups,verbs=create;update,versions=v1beta20201101,name=validate.v1beta20201101.networksecuritygroups.network.azure.com,admissionReviewVersions=v1beta1 +// +kubebuilder:webhook:path=/validate-network-azure-com-v1beta20201101-networksecuritygroup,mutating=false,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=network.azure.com,resources=networksecuritygroups,verbs=create;update,versions=v1beta20201101,name=validate.v1beta20201101.networksecuritygroups.network.azure.com,admissionReviewVersions=v1 var _ admission.Validator = &NetworkSecurityGroup{} diff --git a/v2/api/network/v1beta20201101/network_security_groups_security_rule_types_gen.go b/v2/api/network/v1beta20201101/network_security_groups_security_rule_types_gen.go index 616c60b147..2425e48edb 100644 --- a/v2/api/network/v1beta20201101/network_security_groups_security_rule_types_gen.go +++ b/v2/api/network/v1beta20201101/network_security_groups_security_rule_types_gen.go @@ -66,7 +66,7 @@ func (rule *NetworkSecurityGroupsSecurityRule) ConvertTo(hub conversion.Hub) err return rule.AssignPropertiesToNetworkSecurityGroupsSecurityRule(destination) } -// +kubebuilder:webhook:path=/mutate-network-azure-com-v1beta20201101-networksecuritygroupssecurityrule,mutating=true,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=network.azure.com,resources=networksecuritygroupssecurityrules,verbs=create;update,versions=v1beta20201101,name=default.v1beta20201101.networksecuritygroupssecurityrules.network.azure.com,admissionReviewVersions=v1beta1 +// +kubebuilder:webhook:path=/mutate-network-azure-com-v1beta20201101-networksecuritygroupssecurityrule,mutating=true,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=network.azure.com,resources=networksecuritygroupssecurityrules,verbs=create;update,versions=v1beta20201101,name=default.v1beta20201101.networksecuritygroupssecurityrules.network.azure.com,admissionReviewVersions=v1 var _ admission.Defaulter = &NetworkSecurityGroupsSecurityRule{} @@ -155,7 +155,7 @@ func (rule *NetworkSecurityGroupsSecurityRule) SetStatus(status genruntime.Conve return nil } -// +kubebuilder:webhook:path=/validate-network-azure-com-v1beta20201101-networksecuritygroupssecurityrule,mutating=false,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=network.azure.com,resources=networksecuritygroupssecurityrules,verbs=create;update,versions=v1beta20201101,name=validate.v1beta20201101.networksecuritygroupssecurityrules.network.azure.com,admissionReviewVersions=v1beta1 +// +kubebuilder:webhook:path=/validate-network-azure-com-v1beta20201101-networksecuritygroupssecurityrule,mutating=false,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=network.azure.com,resources=networksecuritygroupssecurityrules,verbs=create;update,versions=v1beta20201101,name=validate.v1beta20201101.networksecuritygroupssecurityrules.network.azure.com,admissionReviewVersions=v1 var _ admission.Validator = &NetworkSecurityGroupsSecurityRule{} diff --git a/v2/api/network/v1beta20201101/public_ip_address_types_gen.go b/v2/api/network/v1beta20201101/public_ip_address_types_gen.go index 1e1d2aa591..0c4bfa77c7 100644 --- a/v2/api/network/v1beta20201101/public_ip_address_types_gen.go +++ b/v2/api/network/v1beta20201101/public_ip_address_types_gen.go @@ -66,7 +66,7 @@ func (address *PublicIPAddress) ConvertTo(hub conversion.Hub) error { return address.AssignPropertiesToPublicIPAddress(destination) } -// +kubebuilder:webhook:path=/mutate-network-azure-com-v1beta20201101-publicipaddress,mutating=true,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=network.azure.com,resources=publicipaddresses,verbs=create;update,versions=v1beta20201101,name=default.v1beta20201101.publicipaddresses.network.azure.com,admissionReviewVersions=v1beta1 +// +kubebuilder:webhook:path=/mutate-network-azure-com-v1beta20201101-publicipaddress,mutating=true,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=network.azure.com,resources=publicipaddresses,verbs=create;update,versions=v1beta20201101,name=default.v1beta20201101.publicipaddresses.network.azure.com,admissionReviewVersions=v1 var _ admission.Defaulter = &PublicIPAddress{} @@ -155,7 +155,7 @@ func (address *PublicIPAddress) SetStatus(status genruntime.ConvertibleStatus) e return nil } -// +kubebuilder:webhook:path=/validate-network-azure-com-v1beta20201101-publicipaddress,mutating=false,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=network.azure.com,resources=publicipaddresses,verbs=create;update,versions=v1beta20201101,name=validate.v1beta20201101.publicipaddresses.network.azure.com,admissionReviewVersions=v1beta1 +// +kubebuilder:webhook:path=/validate-network-azure-com-v1beta20201101-publicipaddress,mutating=false,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=network.azure.com,resources=publicipaddresses,verbs=create;update,versions=v1beta20201101,name=validate.v1beta20201101.publicipaddresses.network.azure.com,admissionReviewVersions=v1 var _ admission.Validator = &PublicIPAddress{} diff --git a/v2/api/network/v1beta20201101/route_table_types_gen.go b/v2/api/network/v1beta20201101/route_table_types_gen.go index af4eed6ba6..b923602e14 100644 --- a/v2/api/network/v1beta20201101/route_table_types_gen.go +++ b/v2/api/network/v1beta20201101/route_table_types_gen.go @@ -66,7 +66,7 @@ func (table *RouteTable) ConvertTo(hub conversion.Hub) error { return table.AssignPropertiesToRouteTable(destination) } -// +kubebuilder:webhook:path=/mutate-network-azure-com-v1beta20201101-routetable,mutating=true,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=network.azure.com,resources=routetables,verbs=create;update,versions=v1beta20201101,name=default.v1beta20201101.routetables.network.azure.com,admissionReviewVersions=v1beta1 +// +kubebuilder:webhook:path=/mutate-network-azure-com-v1beta20201101-routetable,mutating=true,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=network.azure.com,resources=routetables,verbs=create;update,versions=v1beta20201101,name=default.v1beta20201101.routetables.network.azure.com,admissionReviewVersions=v1 var _ admission.Defaulter = &RouteTable{} @@ -155,7 +155,7 @@ func (table *RouteTable) SetStatus(status genruntime.ConvertibleStatus) error { return nil } -// +kubebuilder:webhook:path=/validate-network-azure-com-v1beta20201101-routetable,mutating=false,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=network.azure.com,resources=routetables,verbs=create;update,versions=v1beta20201101,name=validate.v1beta20201101.routetables.network.azure.com,admissionReviewVersions=v1beta1 +// +kubebuilder:webhook:path=/validate-network-azure-com-v1beta20201101-routetable,mutating=false,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=network.azure.com,resources=routetables,verbs=create;update,versions=v1beta20201101,name=validate.v1beta20201101.routetables.network.azure.com,admissionReviewVersions=v1 var _ admission.Validator = &RouteTable{} diff --git a/v2/api/network/v1beta20201101/route_tables_route_types_gen.go b/v2/api/network/v1beta20201101/route_tables_route_types_gen.go index 5df00bafea..acc6236276 100644 --- a/v2/api/network/v1beta20201101/route_tables_route_types_gen.go +++ b/v2/api/network/v1beta20201101/route_tables_route_types_gen.go @@ -66,7 +66,7 @@ func (route *RouteTablesRoute) ConvertTo(hub conversion.Hub) error { return route.AssignPropertiesToRouteTablesRoute(destination) } -// +kubebuilder:webhook:path=/mutate-network-azure-com-v1beta20201101-routetablesroute,mutating=true,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=network.azure.com,resources=routetablesroutes,verbs=create;update,versions=v1beta20201101,name=default.v1beta20201101.routetablesroutes.network.azure.com,admissionReviewVersions=v1beta1 +// +kubebuilder:webhook:path=/mutate-network-azure-com-v1beta20201101-routetablesroute,mutating=true,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=network.azure.com,resources=routetablesroutes,verbs=create;update,versions=v1beta20201101,name=default.v1beta20201101.routetablesroutes.network.azure.com,admissionReviewVersions=v1 var _ admission.Defaulter = &RouteTablesRoute{} @@ -155,7 +155,7 @@ func (route *RouteTablesRoute) SetStatus(status genruntime.ConvertibleStatus) er return nil } -// +kubebuilder:webhook:path=/validate-network-azure-com-v1beta20201101-routetablesroute,mutating=false,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=network.azure.com,resources=routetablesroutes,verbs=create;update,versions=v1beta20201101,name=validate.v1beta20201101.routetablesroutes.network.azure.com,admissionReviewVersions=v1beta1 +// +kubebuilder:webhook:path=/validate-network-azure-com-v1beta20201101-routetablesroute,mutating=false,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=network.azure.com,resources=routetablesroutes,verbs=create;update,versions=v1beta20201101,name=validate.v1beta20201101.routetablesroutes.network.azure.com,admissionReviewVersions=v1 var _ admission.Validator = &RouteTablesRoute{} diff --git a/v2/api/network/v1beta20201101/virtual_network_gateway_types_gen.go b/v2/api/network/v1beta20201101/virtual_network_gateway_types_gen.go index 2cde9c54f5..fa60299c22 100644 --- a/v2/api/network/v1beta20201101/virtual_network_gateway_types_gen.go +++ b/v2/api/network/v1beta20201101/virtual_network_gateway_types_gen.go @@ -66,7 +66,7 @@ func (gateway *VirtualNetworkGateway) ConvertTo(hub conversion.Hub) error { return gateway.AssignPropertiesToVirtualNetworkGateway(destination) } -// +kubebuilder:webhook:path=/mutate-network-azure-com-v1beta20201101-virtualnetworkgateway,mutating=true,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=network.azure.com,resources=virtualnetworkgateways,verbs=create;update,versions=v1beta20201101,name=default.v1beta20201101.virtualnetworkgateways.network.azure.com,admissionReviewVersions=v1beta1 +// +kubebuilder:webhook:path=/mutate-network-azure-com-v1beta20201101-virtualnetworkgateway,mutating=true,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=network.azure.com,resources=virtualnetworkgateways,verbs=create;update,versions=v1beta20201101,name=default.v1beta20201101.virtualnetworkgateways.network.azure.com,admissionReviewVersions=v1 var _ admission.Defaulter = &VirtualNetworkGateway{} @@ -155,7 +155,7 @@ func (gateway *VirtualNetworkGateway) SetStatus(status genruntime.ConvertibleSta return nil } -// +kubebuilder:webhook:path=/validate-network-azure-com-v1beta20201101-virtualnetworkgateway,mutating=false,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=network.azure.com,resources=virtualnetworkgateways,verbs=create;update,versions=v1beta20201101,name=validate.v1beta20201101.virtualnetworkgateways.network.azure.com,admissionReviewVersions=v1beta1 +// +kubebuilder:webhook:path=/validate-network-azure-com-v1beta20201101-virtualnetworkgateway,mutating=false,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=network.azure.com,resources=virtualnetworkgateways,verbs=create;update,versions=v1beta20201101,name=validate.v1beta20201101.virtualnetworkgateways.network.azure.com,admissionReviewVersions=v1 var _ admission.Validator = &VirtualNetworkGateway{} diff --git a/v2/api/network/v1beta20201101/virtual_network_types_gen.go b/v2/api/network/v1beta20201101/virtual_network_types_gen.go index c46656a1c5..422b32c63c 100644 --- a/v2/api/network/v1beta20201101/virtual_network_types_gen.go +++ b/v2/api/network/v1beta20201101/virtual_network_types_gen.go @@ -66,7 +66,7 @@ func (network *VirtualNetwork) ConvertTo(hub conversion.Hub) error { return network.AssignPropertiesToVirtualNetwork(destination) } -// +kubebuilder:webhook:path=/mutate-network-azure-com-v1beta20201101-virtualnetwork,mutating=true,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=network.azure.com,resources=virtualnetworks,verbs=create;update,versions=v1beta20201101,name=default.v1beta20201101.virtualnetworks.network.azure.com,admissionReviewVersions=v1beta1 +// +kubebuilder:webhook:path=/mutate-network-azure-com-v1beta20201101-virtualnetwork,mutating=true,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=network.azure.com,resources=virtualnetworks,verbs=create;update,versions=v1beta20201101,name=default.v1beta20201101.virtualnetworks.network.azure.com,admissionReviewVersions=v1 var _ admission.Defaulter = &VirtualNetwork{} @@ -155,7 +155,7 @@ func (network *VirtualNetwork) SetStatus(status genruntime.ConvertibleStatus) er return nil } -// +kubebuilder:webhook:path=/validate-network-azure-com-v1beta20201101-virtualnetwork,mutating=false,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=network.azure.com,resources=virtualnetworks,verbs=create;update,versions=v1beta20201101,name=validate.v1beta20201101.virtualnetworks.network.azure.com,admissionReviewVersions=v1beta1 +// +kubebuilder:webhook:path=/validate-network-azure-com-v1beta20201101-virtualnetwork,mutating=false,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=network.azure.com,resources=virtualnetworks,verbs=create;update,versions=v1beta20201101,name=validate.v1beta20201101.virtualnetworks.network.azure.com,admissionReviewVersions=v1 var _ admission.Validator = &VirtualNetwork{} diff --git a/v2/api/network/v1beta20201101/virtual_networks_subnet_types_gen.go b/v2/api/network/v1beta20201101/virtual_networks_subnet_types_gen.go index 473e2152e8..644fc6aa62 100644 --- a/v2/api/network/v1beta20201101/virtual_networks_subnet_types_gen.go +++ b/v2/api/network/v1beta20201101/virtual_networks_subnet_types_gen.go @@ -66,7 +66,7 @@ func (subnet *VirtualNetworksSubnet) ConvertTo(hub conversion.Hub) error { return subnet.AssignPropertiesToVirtualNetworksSubnet(destination) } -// +kubebuilder:webhook:path=/mutate-network-azure-com-v1beta20201101-virtualnetworkssubnet,mutating=true,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=network.azure.com,resources=virtualnetworkssubnets,verbs=create;update,versions=v1beta20201101,name=default.v1beta20201101.virtualnetworkssubnets.network.azure.com,admissionReviewVersions=v1beta1 +// +kubebuilder:webhook:path=/mutate-network-azure-com-v1beta20201101-virtualnetworkssubnet,mutating=true,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=network.azure.com,resources=virtualnetworkssubnets,verbs=create;update,versions=v1beta20201101,name=default.v1beta20201101.virtualnetworkssubnets.network.azure.com,admissionReviewVersions=v1 var _ admission.Defaulter = &VirtualNetworksSubnet{} @@ -155,7 +155,7 @@ func (subnet *VirtualNetworksSubnet) SetStatus(status genruntime.ConvertibleStat return nil } -// +kubebuilder:webhook:path=/validate-network-azure-com-v1beta20201101-virtualnetworkssubnet,mutating=false,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=network.azure.com,resources=virtualnetworkssubnets,verbs=create;update,versions=v1beta20201101,name=validate.v1beta20201101.virtualnetworkssubnets.network.azure.com,admissionReviewVersions=v1beta1 +// +kubebuilder:webhook:path=/validate-network-azure-com-v1beta20201101-virtualnetworkssubnet,mutating=false,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=network.azure.com,resources=virtualnetworkssubnets,verbs=create;update,versions=v1beta20201101,name=validate.v1beta20201101.virtualnetworkssubnets.network.azure.com,admissionReviewVersions=v1 var _ admission.Validator = &VirtualNetworksSubnet{} diff --git a/v2/api/network/v1beta20201101/virtual_networks_virtual_network_peering_types_gen.go b/v2/api/network/v1beta20201101/virtual_networks_virtual_network_peering_types_gen.go index 53e17f7063..1305160640 100644 --- a/v2/api/network/v1beta20201101/virtual_networks_virtual_network_peering_types_gen.go +++ b/v2/api/network/v1beta20201101/virtual_networks_virtual_network_peering_types_gen.go @@ -66,7 +66,7 @@ func (peering *VirtualNetworksVirtualNetworkPeering) ConvertTo(hub conversion.Hu return peering.AssignPropertiesToVirtualNetworksVirtualNetworkPeering(destination) } -// +kubebuilder:webhook:path=/mutate-network-azure-com-v1beta20201101-virtualnetworksvirtualnetworkpeering,mutating=true,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=network.azure.com,resources=virtualnetworksvirtualnetworkpeerings,verbs=create;update,versions=v1beta20201101,name=default.v1beta20201101.virtualnetworksvirtualnetworkpeerings.network.azure.com,admissionReviewVersions=v1beta1 +// +kubebuilder:webhook:path=/mutate-network-azure-com-v1beta20201101-virtualnetworksvirtualnetworkpeering,mutating=true,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=network.azure.com,resources=virtualnetworksvirtualnetworkpeerings,verbs=create;update,versions=v1beta20201101,name=default.v1beta20201101.virtualnetworksvirtualnetworkpeerings.network.azure.com,admissionReviewVersions=v1 var _ admission.Defaulter = &VirtualNetworksVirtualNetworkPeering{} @@ -155,7 +155,7 @@ func (peering *VirtualNetworksVirtualNetworkPeering) SetStatus(status genruntime return nil } -// +kubebuilder:webhook:path=/validate-network-azure-com-v1beta20201101-virtualnetworksvirtualnetworkpeering,mutating=false,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=network.azure.com,resources=virtualnetworksvirtualnetworkpeerings,verbs=create;update,versions=v1beta20201101,name=validate.v1beta20201101.virtualnetworksvirtualnetworkpeerings.network.azure.com,admissionReviewVersions=v1beta1 +// +kubebuilder:webhook:path=/validate-network-azure-com-v1beta20201101-virtualnetworksvirtualnetworkpeering,mutating=false,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=network.azure.com,resources=virtualnetworksvirtualnetworkpeerings,verbs=create;update,versions=v1beta20201101,name=validate.v1beta20201101.virtualnetworksvirtualnetworkpeerings.network.azure.com,admissionReviewVersions=v1 var _ admission.Validator = &VirtualNetworksVirtualNetworkPeering{} diff --git a/v2/api/operationalinsights/v1alpha1api20210601/workspace_types_gen.go b/v2/api/operationalinsights/v1alpha1api20210601/workspace_types_gen.go index 27ebadf532..4a0823c16e 100644 --- a/v2/api/operationalinsights/v1alpha1api20210601/workspace_types_gen.go +++ b/v2/api/operationalinsights/v1alpha1api20210601/workspace_types_gen.go @@ -81,7 +81,7 @@ func (workspace *Workspace) ConvertTo(hub conversion.Hub) error { return nil } -// +kubebuilder:webhook:path=/mutate-operationalinsights-azure-com-v1alpha1api20210601-workspace,mutating=true,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=operationalinsights.azure.com,resources=workspaces,verbs=create;update,versions=v1alpha1api20210601,name=default.v1alpha1api20210601.workspaces.operationalinsights.azure.com,admissionReviewVersions=v1beta1 +// +kubebuilder:webhook:path=/mutate-operationalinsights-azure-com-v1alpha1api20210601-workspace,mutating=true,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=operationalinsights.azure.com,resources=workspaces,verbs=create;update,versions=v1alpha1api20210601,name=default.v1alpha1api20210601.workspaces.operationalinsights.azure.com,admissionReviewVersions=v1 var _ admission.Defaulter = &Workspace{} @@ -170,7 +170,7 @@ func (workspace *Workspace) SetStatus(status genruntime.ConvertibleStatus) error return nil } -// +kubebuilder:webhook:path=/validate-operationalinsights-azure-com-v1alpha1api20210601-workspace,mutating=false,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=operationalinsights.azure.com,resources=workspaces,verbs=create;update,versions=v1alpha1api20210601,name=validate.v1alpha1api20210601.workspaces.operationalinsights.azure.com,admissionReviewVersions=v1beta1 +// +kubebuilder:webhook:path=/validate-operationalinsights-azure-com-v1alpha1api20210601-workspace,mutating=false,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=operationalinsights.azure.com,resources=workspaces,verbs=create;update,versions=v1alpha1api20210601,name=validate.v1alpha1api20210601.workspaces.operationalinsights.azure.com,admissionReviewVersions=v1 var _ admission.Validator = &Workspace{} diff --git a/v2/api/operationalinsights/v1beta20210601/workspace_types_gen.go b/v2/api/operationalinsights/v1beta20210601/workspace_types_gen.go index f9b7b77e75..72e9c2ebd4 100644 --- a/v2/api/operationalinsights/v1beta20210601/workspace_types_gen.go +++ b/v2/api/operationalinsights/v1beta20210601/workspace_types_gen.go @@ -67,7 +67,7 @@ func (workspace *Workspace) ConvertTo(hub conversion.Hub) error { return workspace.AssignPropertiesToWorkspace(destination) } -// +kubebuilder:webhook:path=/mutate-operationalinsights-azure-com-v1beta20210601-workspace,mutating=true,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=operationalinsights.azure.com,resources=workspaces,verbs=create;update,versions=v1beta20210601,name=default.v1beta20210601.workspaces.operationalinsights.azure.com,admissionReviewVersions=v1beta1 +// +kubebuilder:webhook:path=/mutate-operationalinsights-azure-com-v1beta20210601-workspace,mutating=true,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=operationalinsights.azure.com,resources=workspaces,verbs=create;update,versions=v1beta20210601,name=default.v1beta20210601.workspaces.operationalinsights.azure.com,admissionReviewVersions=v1 var _ admission.Defaulter = &Workspace{} @@ -156,7 +156,7 @@ func (workspace *Workspace) SetStatus(status genruntime.ConvertibleStatus) error return nil } -// +kubebuilder:webhook:path=/validate-operationalinsights-azure-com-v1beta20210601-workspace,mutating=false,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=operationalinsights.azure.com,resources=workspaces,verbs=create;update,versions=v1beta20210601,name=validate.v1beta20210601.workspaces.operationalinsights.azure.com,admissionReviewVersions=v1beta1 +// +kubebuilder:webhook:path=/validate-operationalinsights-azure-com-v1beta20210601-workspace,mutating=false,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=operationalinsights.azure.com,resources=workspaces,verbs=create;update,versions=v1beta20210601,name=validate.v1beta20210601.workspaces.operationalinsights.azure.com,admissionReviewVersions=v1 var _ admission.Validator = &Workspace{} diff --git a/v2/api/resources/v1beta20200601/resourcegroup_types.go b/v2/api/resources/v1beta20200601/resourcegroup_types.go index edad72c8d8..30d8669d16 100644 --- a/v2/api/resources/v1beta20200601/resourcegroup_types.go +++ b/v2/api/resources/v1beta20200601/resourcegroup_types.go @@ -38,7 +38,7 @@ type ResourceGroup struct { Status ResourceGroupStatus `json:"status,omitempty"` } -// +kubebuilder:webhook:path=/mutate-resources-azure-com-v1beta20200601-resourcegroup,mutating=true,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=resources.azure.com,resources=resourcegroups,verbs=create;update,versions=v1beta20200601,name=default.v1beta20200601.resourcegroups.resources.azure.com,admissionReviewVersions=v1beta1 +// +kubebuilder:webhook:path=/mutate-resources-azure-com-v1beta20200601-resourcegroup,mutating=true,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=resources.azure.com,resources=resourcegroups,verbs=create;update,versions=v1beta20200601,name=default.v1beta20200601.resourcegroups.resources.azure.com,admissionReviewVersions=v1 var _ admission.Defaulter = &ResourceGroup{} diff --git a/v2/api/servicebus/v1alpha1api20210101preview/namespace_types_gen.go b/v2/api/servicebus/v1alpha1api20210101preview/namespace_types_gen.go index 6f568042fb..76893b8662 100644 --- a/v2/api/servicebus/v1alpha1api20210101preview/namespace_types_gen.go +++ b/v2/api/servicebus/v1alpha1api20210101preview/namespace_types_gen.go @@ -80,7 +80,7 @@ func (namespace *Namespace) ConvertTo(hub conversion.Hub) error { return nil } -// +kubebuilder:webhook:path=/mutate-servicebus-azure-com-v1alpha1api20210101preview-namespace,mutating=true,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=servicebus.azure.com,resources=namespaces,verbs=create;update,versions=v1alpha1api20210101preview,name=default.v1alpha1api20210101preview.namespaces.servicebus.azure.com,admissionReviewVersions=v1beta1 +// +kubebuilder:webhook:path=/mutate-servicebus-azure-com-v1alpha1api20210101preview-namespace,mutating=true,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=servicebus.azure.com,resources=namespaces,verbs=create;update,versions=v1alpha1api20210101preview,name=default.v1alpha1api20210101preview.namespaces.servicebus.azure.com,admissionReviewVersions=v1 var _ admission.Defaulter = &Namespace{} @@ -169,7 +169,7 @@ func (namespace *Namespace) SetStatus(status genruntime.ConvertibleStatus) error return nil } -// +kubebuilder:webhook:path=/validate-servicebus-azure-com-v1alpha1api20210101preview-namespace,mutating=false,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=servicebus.azure.com,resources=namespaces,verbs=create;update,versions=v1alpha1api20210101preview,name=validate.v1alpha1api20210101preview.namespaces.servicebus.azure.com,admissionReviewVersions=v1beta1 +// +kubebuilder:webhook:path=/validate-servicebus-azure-com-v1alpha1api20210101preview-namespace,mutating=false,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=servicebus.azure.com,resources=namespaces,verbs=create;update,versions=v1alpha1api20210101preview,name=validate.v1alpha1api20210101preview.namespaces.servicebus.azure.com,admissionReviewVersions=v1 var _ admission.Validator = &Namespace{} diff --git a/v2/api/servicebus/v1alpha1api20210101preview/namespaces_queue_types_gen.go b/v2/api/servicebus/v1alpha1api20210101preview/namespaces_queue_types_gen.go index 17739d7173..3d9d16da3f 100644 --- a/v2/api/servicebus/v1alpha1api20210101preview/namespaces_queue_types_gen.go +++ b/v2/api/servicebus/v1alpha1api20210101preview/namespaces_queue_types_gen.go @@ -80,7 +80,7 @@ func (queue *NamespacesQueue) ConvertTo(hub conversion.Hub) error { return nil } -// +kubebuilder:webhook:path=/mutate-servicebus-azure-com-v1alpha1api20210101preview-namespacesqueue,mutating=true,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=servicebus.azure.com,resources=namespacesqueues,verbs=create;update,versions=v1alpha1api20210101preview,name=default.v1alpha1api20210101preview.namespacesqueues.servicebus.azure.com,admissionReviewVersions=v1beta1 +// +kubebuilder:webhook:path=/mutate-servicebus-azure-com-v1alpha1api20210101preview-namespacesqueue,mutating=true,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=servicebus.azure.com,resources=namespacesqueues,verbs=create;update,versions=v1alpha1api20210101preview,name=default.v1alpha1api20210101preview.namespacesqueues.servicebus.azure.com,admissionReviewVersions=v1 var _ admission.Defaulter = &NamespacesQueue{} @@ -169,7 +169,7 @@ func (queue *NamespacesQueue) SetStatus(status genruntime.ConvertibleStatus) err return nil } -// +kubebuilder:webhook:path=/validate-servicebus-azure-com-v1alpha1api20210101preview-namespacesqueue,mutating=false,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=servicebus.azure.com,resources=namespacesqueues,verbs=create;update,versions=v1alpha1api20210101preview,name=validate.v1alpha1api20210101preview.namespacesqueues.servicebus.azure.com,admissionReviewVersions=v1beta1 +// +kubebuilder:webhook:path=/validate-servicebus-azure-com-v1alpha1api20210101preview-namespacesqueue,mutating=false,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=servicebus.azure.com,resources=namespacesqueues,verbs=create;update,versions=v1alpha1api20210101preview,name=validate.v1alpha1api20210101preview.namespacesqueues.servicebus.azure.com,admissionReviewVersions=v1 var _ admission.Validator = &NamespacesQueue{} diff --git a/v2/api/servicebus/v1alpha1api20210101preview/namespaces_topic_types_gen.go b/v2/api/servicebus/v1alpha1api20210101preview/namespaces_topic_types_gen.go index f51ad2d557..4157ddf85e 100644 --- a/v2/api/servicebus/v1alpha1api20210101preview/namespaces_topic_types_gen.go +++ b/v2/api/servicebus/v1alpha1api20210101preview/namespaces_topic_types_gen.go @@ -80,7 +80,7 @@ func (topic *NamespacesTopic) ConvertTo(hub conversion.Hub) error { return nil } -// +kubebuilder:webhook:path=/mutate-servicebus-azure-com-v1alpha1api20210101preview-namespacestopic,mutating=true,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=servicebus.azure.com,resources=namespacestopics,verbs=create;update,versions=v1alpha1api20210101preview,name=default.v1alpha1api20210101preview.namespacestopics.servicebus.azure.com,admissionReviewVersions=v1beta1 +// +kubebuilder:webhook:path=/mutate-servicebus-azure-com-v1alpha1api20210101preview-namespacestopic,mutating=true,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=servicebus.azure.com,resources=namespacestopics,verbs=create;update,versions=v1alpha1api20210101preview,name=default.v1alpha1api20210101preview.namespacestopics.servicebus.azure.com,admissionReviewVersions=v1 var _ admission.Defaulter = &NamespacesTopic{} @@ -169,7 +169,7 @@ func (topic *NamespacesTopic) SetStatus(status genruntime.ConvertibleStatus) err return nil } -// +kubebuilder:webhook:path=/validate-servicebus-azure-com-v1alpha1api20210101preview-namespacestopic,mutating=false,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=servicebus.azure.com,resources=namespacestopics,verbs=create;update,versions=v1alpha1api20210101preview,name=validate.v1alpha1api20210101preview.namespacestopics.servicebus.azure.com,admissionReviewVersions=v1beta1 +// +kubebuilder:webhook:path=/validate-servicebus-azure-com-v1alpha1api20210101preview-namespacestopic,mutating=false,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=servicebus.azure.com,resources=namespacestopics,verbs=create;update,versions=v1alpha1api20210101preview,name=validate.v1alpha1api20210101preview.namespacestopics.servicebus.azure.com,admissionReviewVersions=v1 var _ admission.Validator = &NamespacesTopic{} diff --git a/v2/api/servicebus/v1beta20210101preview/namespace_types_gen.go b/v2/api/servicebus/v1beta20210101preview/namespace_types_gen.go index 95d81edb90..018e593fae 100644 --- a/v2/api/servicebus/v1beta20210101preview/namespace_types_gen.go +++ b/v2/api/servicebus/v1beta20210101preview/namespace_types_gen.go @@ -66,7 +66,7 @@ func (namespace *Namespace) ConvertTo(hub conversion.Hub) error { return namespace.AssignPropertiesToNamespace(destination) } -// +kubebuilder:webhook:path=/mutate-servicebus-azure-com-v1beta20210101preview-namespace,mutating=true,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=servicebus.azure.com,resources=namespaces,verbs=create;update,versions=v1beta20210101preview,name=default.v1beta20210101preview.namespaces.servicebus.azure.com,admissionReviewVersions=v1beta1 +// +kubebuilder:webhook:path=/mutate-servicebus-azure-com-v1beta20210101preview-namespace,mutating=true,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=servicebus.azure.com,resources=namespaces,verbs=create;update,versions=v1beta20210101preview,name=default.v1beta20210101preview.namespaces.servicebus.azure.com,admissionReviewVersions=v1 var _ admission.Defaulter = &Namespace{} @@ -155,7 +155,7 @@ func (namespace *Namespace) SetStatus(status genruntime.ConvertibleStatus) error return nil } -// +kubebuilder:webhook:path=/validate-servicebus-azure-com-v1beta20210101preview-namespace,mutating=false,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=servicebus.azure.com,resources=namespaces,verbs=create;update,versions=v1beta20210101preview,name=validate.v1beta20210101preview.namespaces.servicebus.azure.com,admissionReviewVersions=v1beta1 +// +kubebuilder:webhook:path=/validate-servicebus-azure-com-v1beta20210101preview-namespace,mutating=false,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=servicebus.azure.com,resources=namespaces,verbs=create;update,versions=v1beta20210101preview,name=validate.v1beta20210101preview.namespaces.servicebus.azure.com,admissionReviewVersions=v1 var _ admission.Validator = &Namespace{} diff --git a/v2/api/servicebus/v1beta20210101preview/namespaces_queue_types_gen.go b/v2/api/servicebus/v1beta20210101preview/namespaces_queue_types_gen.go index 7ec5cea299..4c209980d5 100644 --- a/v2/api/servicebus/v1beta20210101preview/namespaces_queue_types_gen.go +++ b/v2/api/servicebus/v1beta20210101preview/namespaces_queue_types_gen.go @@ -66,7 +66,7 @@ func (queue *NamespacesQueue) ConvertTo(hub conversion.Hub) error { return queue.AssignPropertiesToNamespacesQueue(destination) } -// +kubebuilder:webhook:path=/mutate-servicebus-azure-com-v1beta20210101preview-namespacesqueue,mutating=true,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=servicebus.azure.com,resources=namespacesqueues,verbs=create;update,versions=v1beta20210101preview,name=default.v1beta20210101preview.namespacesqueues.servicebus.azure.com,admissionReviewVersions=v1beta1 +// +kubebuilder:webhook:path=/mutate-servicebus-azure-com-v1beta20210101preview-namespacesqueue,mutating=true,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=servicebus.azure.com,resources=namespacesqueues,verbs=create;update,versions=v1beta20210101preview,name=default.v1beta20210101preview.namespacesqueues.servicebus.azure.com,admissionReviewVersions=v1 var _ admission.Defaulter = &NamespacesQueue{} @@ -155,7 +155,7 @@ func (queue *NamespacesQueue) SetStatus(status genruntime.ConvertibleStatus) err return nil } -// +kubebuilder:webhook:path=/validate-servicebus-azure-com-v1beta20210101preview-namespacesqueue,mutating=false,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=servicebus.azure.com,resources=namespacesqueues,verbs=create;update,versions=v1beta20210101preview,name=validate.v1beta20210101preview.namespacesqueues.servicebus.azure.com,admissionReviewVersions=v1beta1 +// +kubebuilder:webhook:path=/validate-servicebus-azure-com-v1beta20210101preview-namespacesqueue,mutating=false,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=servicebus.azure.com,resources=namespacesqueues,verbs=create;update,versions=v1beta20210101preview,name=validate.v1beta20210101preview.namespacesqueues.servicebus.azure.com,admissionReviewVersions=v1 var _ admission.Validator = &NamespacesQueue{} diff --git a/v2/api/servicebus/v1beta20210101preview/namespaces_topic_types_gen.go b/v2/api/servicebus/v1beta20210101preview/namespaces_topic_types_gen.go index 24a5457953..91311b97ec 100644 --- a/v2/api/servicebus/v1beta20210101preview/namespaces_topic_types_gen.go +++ b/v2/api/servicebus/v1beta20210101preview/namespaces_topic_types_gen.go @@ -66,7 +66,7 @@ func (topic *NamespacesTopic) ConvertTo(hub conversion.Hub) error { return topic.AssignPropertiesToNamespacesTopic(destination) } -// +kubebuilder:webhook:path=/mutate-servicebus-azure-com-v1beta20210101preview-namespacestopic,mutating=true,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=servicebus.azure.com,resources=namespacestopics,verbs=create;update,versions=v1beta20210101preview,name=default.v1beta20210101preview.namespacestopics.servicebus.azure.com,admissionReviewVersions=v1beta1 +// +kubebuilder:webhook:path=/mutate-servicebus-azure-com-v1beta20210101preview-namespacestopic,mutating=true,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=servicebus.azure.com,resources=namespacestopics,verbs=create;update,versions=v1beta20210101preview,name=default.v1beta20210101preview.namespacestopics.servicebus.azure.com,admissionReviewVersions=v1 var _ admission.Defaulter = &NamespacesTopic{} @@ -155,7 +155,7 @@ func (topic *NamespacesTopic) SetStatus(status genruntime.ConvertibleStatus) err return nil } -// +kubebuilder:webhook:path=/validate-servicebus-azure-com-v1beta20210101preview-namespacestopic,mutating=false,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=servicebus.azure.com,resources=namespacestopics,verbs=create;update,versions=v1beta20210101preview,name=validate.v1beta20210101preview.namespacestopics.servicebus.azure.com,admissionReviewVersions=v1beta1 +// +kubebuilder:webhook:path=/validate-servicebus-azure-com-v1beta20210101preview-namespacestopic,mutating=false,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=servicebus.azure.com,resources=namespacestopics,verbs=create;update,versions=v1beta20210101preview,name=validate.v1beta20210101preview.namespacestopics.servicebus.azure.com,admissionReviewVersions=v1 var _ admission.Validator = &NamespacesTopic{} diff --git a/v2/api/signalrservice/v1alpha1api20211001/signal_r_types_gen.go b/v2/api/signalrservice/v1alpha1api20211001/signal_r_types_gen.go index b71a84eca4..82bfcb4355 100644 --- a/v2/api/signalrservice/v1alpha1api20211001/signal_r_types_gen.go +++ b/v2/api/signalrservice/v1alpha1api20211001/signal_r_types_gen.go @@ -81,7 +81,7 @@ func (signalR *SignalR) ConvertTo(hub conversion.Hub) error { return nil } -// +kubebuilder:webhook:path=/mutate-signalrservice-azure-com-v1alpha1api20211001-signalr,mutating=true,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=signalrservice.azure.com,resources=signalrs,verbs=create;update,versions=v1alpha1api20211001,name=default.v1alpha1api20211001.signalrs.signalrservice.azure.com,admissionReviewVersions=v1beta1 +// +kubebuilder:webhook:path=/mutate-signalrservice-azure-com-v1alpha1api20211001-signalr,mutating=true,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=signalrservice.azure.com,resources=signalrs,verbs=create;update,versions=v1alpha1api20211001,name=default.v1alpha1api20211001.signalrs.signalrservice.azure.com,admissionReviewVersions=v1 var _ admission.Defaulter = &SignalR{} @@ -170,7 +170,7 @@ func (signalR *SignalR) SetStatus(status genruntime.ConvertibleStatus) error { return nil } -// +kubebuilder:webhook:path=/validate-signalrservice-azure-com-v1alpha1api20211001-signalr,mutating=false,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=signalrservice.azure.com,resources=signalrs,verbs=create;update,versions=v1alpha1api20211001,name=validate.v1alpha1api20211001.signalrs.signalrservice.azure.com,admissionReviewVersions=v1beta1 +// +kubebuilder:webhook:path=/validate-signalrservice-azure-com-v1alpha1api20211001-signalr,mutating=false,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=signalrservice.azure.com,resources=signalrs,verbs=create;update,versions=v1alpha1api20211001,name=validate.v1alpha1api20211001.signalrs.signalrservice.azure.com,admissionReviewVersions=v1 var _ admission.Validator = &SignalR{} diff --git a/v2/api/signalrservice/v1beta20211001/signal_r_types_gen.go b/v2/api/signalrservice/v1beta20211001/signal_r_types_gen.go index d9f4d3e8cc..ea0e5ad442 100644 --- a/v2/api/signalrservice/v1beta20211001/signal_r_types_gen.go +++ b/v2/api/signalrservice/v1beta20211001/signal_r_types_gen.go @@ -67,7 +67,7 @@ func (signalR *SignalR) ConvertTo(hub conversion.Hub) error { return signalR.AssignPropertiesToSignalR(destination) } -// +kubebuilder:webhook:path=/mutate-signalrservice-azure-com-v1beta20211001-signalr,mutating=true,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=signalrservice.azure.com,resources=signalrs,verbs=create;update,versions=v1beta20211001,name=default.v1beta20211001.signalrs.signalrservice.azure.com,admissionReviewVersions=v1beta1 +// +kubebuilder:webhook:path=/mutate-signalrservice-azure-com-v1beta20211001-signalr,mutating=true,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=signalrservice.azure.com,resources=signalrs,verbs=create;update,versions=v1beta20211001,name=default.v1beta20211001.signalrs.signalrservice.azure.com,admissionReviewVersions=v1 var _ admission.Defaulter = &SignalR{} @@ -156,7 +156,7 @@ func (signalR *SignalR) SetStatus(status genruntime.ConvertibleStatus) error { return nil } -// +kubebuilder:webhook:path=/validate-signalrservice-azure-com-v1beta20211001-signalr,mutating=false,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=signalrservice.azure.com,resources=signalrs,verbs=create;update,versions=v1beta20211001,name=validate.v1beta20211001.signalrs.signalrservice.azure.com,admissionReviewVersions=v1beta1 +// +kubebuilder:webhook:path=/validate-signalrservice-azure-com-v1beta20211001-signalr,mutating=false,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=signalrservice.azure.com,resources=signalrs,verbs=create;update,versions=v1beta20211001,name=validate.v1beta20211001.signalrs.signalrservice.azure.com,admissionReviewVersions=v1 var _ admission.Validator = &SignalR{} diff --git a/v2/api/storage/v1alpha1api20210401/storage_account_types_gen.go b/v2/api/storage/v1alpha1api20210401/storage_account_types_gen.go index 4350ee8a65..0c8b1892f3 100644 --- a/v2/api/storage/v1alpha1api20210401/storage_account_types_gen.go +++ b/v2/api/storage/v1alpha1api20210401/storage_account_types_gen.go @@ -80,7 +80,7 @@ func (account *StorageAccount) ConvertTo(hub conversion.Hub) error { return nil } -// +kubebuilder:webhook:path=/mutate-storage-azure-com-v1alpha1api20210401-storageaccount,mutating=true,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=storage.azure.com,resources=storageaccounts,verbs=create;update,versions=v1alpha1api20210401,name=default.v1alpha1api20210401.storageaccounts.storage.azure.com,admissionReviewVersions=v1beta1 +// +kubebuilder:webhook:path=/mutate-storage-azure-com-v1alpha1api20210401-storageaccount,mutating=true,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=storage.azure.com,resources=storageaccounts,verbs=create;update,versions=v1alpha1api20210401,name=default.v1alpha1api20210401.storageaccounts.storage.azure.com,admissionReviewVersions=v1 var _ admission.Defaulter = &StorageAccount{} @@ -169,7 +169,7 @@ func (account *StorageAccount) SetStatus(status genruntime.ConvertibleStatus) er return nil } -// +kubebuilder:webhook:path=/validate-storage-azure-com-v1alpha1api20210401-storageaccount,mutating=false,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=storage.azure.com,resources=storageaccounts,verbs=create;update,versions=v1alpha1api20210401,name=validate.v1alpha1api20210401.storageaccounts.storage.azure.com,admissionReviewVersions=v1beta1 +// +kubebuilder:webhook:path=/validate-storage-azure-com-v1alpha1api20210401-storageaccount,mutating=false,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=storage.azure.com,resources=storageaccounts,verbs=create;update,versions=v1alpha1api20210401,name=validate.v1alpha1api20210401.storageaccounts.storage.azure.com,admissionReviewVersions=v1 var _ admission.Validator = &StorageAccount{} diff --git a/v2/api/storage/v1alpha1api20210401/storage_accounts_blob_service_types_gen.go b/v2/api/storage/v1alpha1api20210401/storage_accounts_blob_service_types_gen.go index 3aa415622d..db79ede699 100644 --- a/v2/api/storage/v1alpha1api20210401/storage_accounts_blob_service_types_gen.go +++ b/v2/api/storage/v1alpha1api20210401/storage_accounts_blob_service_types_gen.go @@ -80,7 +80,7 @@ func (service *StorageAccountsBlobService) ConvertTo(hub conversion.Hub) error { return nil } -// +kubebuilder:webhook:path=/mutate-storage-azure-com-v1alpha1api20210401-storageaccountsblobservice,mutating=true,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=storage.azure.com,resources=storageaccountsblobservices,verbs=create;update,versions=v1alpha1api20210401,name=default.v1alpha1api20210401.storageaccountsblobservices.storage.azure.com,admissionReviewVersions=v1beta1 +// +kubebuilder:webhook:path=/mutate-storage-azure-com-v1alpha1api20210401-storageaccountsblobservice,mutating=true,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=storage.azure.com,resources=storageaccountsblobservices,verbs=create;update,versions=v1alpha1api20210401,name=default.v1alpha1api20210401.storageaccountsblobservices.storage.azure.com,admissionReviewVersions=v1 var _ admission.Defaulter = &StorageAccountsBlobService{} @@ -162,7 +162,7 @@ func (service *StorageAccountsBlobService) SetStatus(status genruntime.Convertib return nil } -// +kubebuilder:webhook:path=/validate-storage-azure-com-v1alpha1api20210401-storageaccountsblobservice,mutating=false,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=storage.azure.com,resources=storageaccountsblobservices,verbs=create;update,versions=v1alpha1api20210401,name=validate.v1alpha1api20210401.storageaccountsblobservices.storage.azure.com,admissionReviewVersions=v1beta1 +// +kubebuilder:webhook:path=/validate-storage-azure-com-v1alpha1api20210401-storageaccountsblobservice,mutating=false,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=storage.azure.com,resources=storageaccountsblobservices,verbs=create;update,versions=v1alpha1api20210401,name=validate.v1alpha1api20210401.storageaccountsblobservices.storage.azure.com,admissionReviewVersions=v1 var _ admission.Validator = &StorageAccountsBlobService{} diff --git a/v2/api/storage/v1alpha1api20210401/storage_accounts_blob_services_container_types_gen.go b/v2/api/storage/v1alpha1api20210401/storage_accounts_blob_services_container_types_gen.go index a85ee6adf0..a22009d8b6 100644 --- a/v2/api/storage/v1alpha1api20210401/storage_accounts_blob_services_container_types_gen.go +++ b/v2/api/storage/v1alpha1api20210401/storage_accounts_blob_services_container_types_gen.go @@ -80,7 +80,7 @@ func (container *StorageAccountsBlobServicesContainer) ConvertTo(hub conversion. return nil } -// +kubebuilder:webhook:path=/mutate-storage-azure-com-v1alpha1api20210401-storageaccountsblobservicescontainer,mutating=true,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=storage.azure.com,resources=storageaccountsblobservicescontainers,verbs=create;update,versions=v1alpha1api20210401,name=default.v1alpha1api20210401.storageaccountsblobservicescontainers.storage.azure.com,admissionReviewVersions=v1beta1 +// +kubebuilder:webhook:path=/mutate-storage-azure-com-v1alpha1api20210401-storageaccountsblobservicescontainer,mutating=true,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=storage.azure.com,resources=storageaccountsblobservicescontainers,verbs=create;update,versions=v1alpha1api20210401,name=default.v1alpha1api20210401.storageaccountsblobservicescontainers.storage.azure.com,admissionReviewVersions=v1 var _ admission.Defaulter = &StorageAccountsBlobServicesContainer{} @@ -169,7 +169,7 @@ func (container *StorageAccountsBlobServicesContainer) SetStatus(status genrunti return nil } -// +kubebuilder:webhook:path=/validate-storage-azure-com-v1alpha1api20210401-storageaccountsblobservicescontainer,mutating=false,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=storage.azure.com,resources=storageaccountsblobservicescontainers,verbs=create;update,versions=v1alpha1api20210401,name=validate.v1alpha1api20210401.storageaccountsblobservicescontainers.storage.azure.com,admissionReviewVersions=v1beta1 +// +kubebuilder:webhook:path=/validate-storage-azure-com-v1alpha1api20210401-storageaccountsblobservicescontainer,mutating=false,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=storage.azure.com,resources=storageaccountsblobservicescontainers,verbs=create;update,versions=v1alpha1api20210401,name=validate.v1alpha1api20210401.storageaccountsblobservicescontainers.storage.azure.com,admissionReviewVersions=v1 var _ admission.Validator = &StorageAccountsBlobServicesContainer{} diff --git a/v2/api/storage/v1alpha1api20210401/storage_accounts_management_policy_types_gen.go b/v2/api/storage/v1alpha1api20210401/storage_accounts_management_policy_types_gen.go index 0af9faf3b0..9bb23bbfa2 100644 --- a/v2/api/storage/v1alpha1api20210401/storage_accounts_management_policy_types_gen.go +++ b/v2/api/storage/v1alpha1api20210401/storage_accounts_management_policy_types_gen.go @@ -80,7 +80,7 @@ func (policy *StorageAccountsManagementPolicy) ConvertTo(hub conversion.Hub) err return nil } -// +kubebuilder:webhook:path=/mutate-storage-azure-com-v1alpha1api20210401-storageaccountsmanagementpolicy,mutating=true,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=storage.azure.com,resources=storageaccountsmanagementpolicies,verbs=create;update,versions=v1alpha1api20210401,name=default.v1alpha1api20210401.storageaccountsmanagementpolicies.storage.azure.com,admissionReviewVersions=v1beta1 +// +kubebuilder:webhook:path=/mutate-storage-azure-com-v1alpha1api20210401-storageaccountsmanagementpolicy,mutating=true,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=storage.azure.com,resources=storageaccountsmanagementpolicies,verbs=create;update,versions=v1alpha1api20210401,name=default.v1alpha1api20210401.storageaccountsmanagementpolicies.storage.azure.com,admissionReviewVersions=v1 var _ admission.Defaulter = &StorageAccountsManagementPolicy{} @@ -162,7 +162,7 @@ func (policy *StorageAccountsManagementPolicy) SetStatus(status genruntime.Conve return nil } -// +kubebuilder:webhook:path=/validate-storage-azure-com-v1alpha1api20210401-storageaccountsmanagementpolicy,mutating=false,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=storage.azure.com,resources=storageaccountsmanagementpolicies,verbs=create;update,versions=v1alpha1api20210401,name=validate.v1alpha1api20210401.storageaccountsmanagementpolicies.storage.azure.com,admissionReviewVersions=v1beta1 +// +kubebuilder:webhook:path=/validate-storage-azure-com-v1alpha1api20210401-storageaccountsmanagementpolicy,mutating=false,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=storage.azure.com,resources=storageaccountsmanagementpolicies,verbs=create;update,versions=v1alpha1api20210401,name=validate.v1alpha1api20210401.storageaccountsmanagementpolicies.storage.azure.com,admissionReviewVersions=v1 var _ admission.Validator = &StorageAccountsManagementPolicy{} diff --git a/v2/api/storage/v1alpha1api20210401/storage_accounts_queue_service_types_gen.go b/v2/api/storage/v1alpha1api20210401/storage_accounts_queue_service_types_gen.go index e7d9c3de78..ce82cdbceb 100644 --- a/v2/api/storage/v1alpha1api20210401/storage_accounts_queue_service_types_gen.go +++ b/v2/api/storage/v1alpha1api20210401/storage_accounts_queue_service_types_gen.go @@ -80,7 +80,7 @@ func (service *StorageAccountsQueueService) ConvertTo(hub conversion.Hub) error return nil } -// +kubebuilder:webhook:path=/mutate-storage-azure-com-v1alpha1api20210401-storageaccountsqueueservice,mutating=true,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=storage.azure.com,resources=storageaccountsqueueservices,verbs=create;update,versions=v1alpha1api20210401,name=default.v1alpha1api20210401.storageaccountsqueueservices.storage.azure.com,admissionReviewVersions=v1beta1 +// +kubebuilder:webhook:path=/mutate-storage-azure-com-v1alpha1api20210401-storageaccountsqueueservice,mutating=true,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=storage.azure.com,resources=storageaccountsqueueservices,verbs=create;update,versions=v1alpha1api20210401,name=default.v1alpha1api20210401.storageaccountsqueueservices.storage.azure.com,admissionReviewVersions=v1 var _ admission.Defaulter = &StorageAccountsQueueService{} @@ -162,7 +162,7 @@ func (service *StorageAccountsQueueService) SetStatus(status genruntime.Converti return nil } -// +kubebuilder:webhook:path=/validate-storage-azure-com-v1alpha1api20210401-storageaccountsqueueservice,mutating=false,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=storage.azure.com,resources=storageaccountsqueueservices,verbs=create;update,versions=v1alpha1api20210401,name=validate.v1alpha1api20210401.storageaccountsqueueservices.storage.azure.com,admissionReviewVersions=v1beta1 +// +kubebuilder:webhook:path=/validate-storage-azure-com-v1alpha1api20210401-storageaccountsqueueservice,mutating=false,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=storage.azure.com,resources=storageaccountsqueueservices,verbs=create;update,versions=v1alpha1api20210401,name=validate.v1alpha1api20210401.storageaccountsqueueservices.storage.azure.com,admissionReviewVersions=v1 var _ admission.Validator = &StorageAccountsQueueService{} diff --git a/v2/api/storage/v1alpha1api20210401/storage_accounts_queue_services_queue_types_gen.go b/v2/api/storage/v1alpha1api20210401/storage_accounts_queue_services_queue_types_gen.go index 74aaf093f6..a7fc6f9a51 100644 --- a/v2/api/storage/v1alpha1api20210401/storage_accounts_queue_services_queue_types_gen.go +++ b/v2/api/storage/v1alpha1api20210401/storage_accounts_queue_services_queue_types_gen.go @@ -80,7 +80,7 @@ func (queue *StorageAccountsQueueServicesQueue) ConvertTo(hub conversion.Hub) er return nil } -// +kubebuilder:webhook:path=/mutate-storage-azure-com-v1alpha1api20210401-storageaccountsqueueservicesqueue,mutating=true,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=storage.azure.com,resources=storageaccountsqueueservicesqueues,verbs=create;update,versions=v1alpha1api20210401,name=default.v1alpha1api20210401.storageaccountsqueueservicesqueues.storage.azure.com,admissionReviewVersions=v1beta1 +// +kubebuilder:webhook:path=/mutate-storage-azure-com-v1alpha1api20210401-storageaccountsqueueservicesqueue,mutating=true,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=storage.azure.com,resources=storageaccountsqueueservicesqueues,verbs=create;update,versions=v1alpha1api20210401,name=default.v1alpha1api20210401.storageaccountsqueueservicesqueues.storage.azure.com,admissionReviewVersions=v1 var _ admission.Defaulter = &StorageAccountsQueueServicesQueue{} @@ -169,7 +169,7 @@ func (queue *StorageAccountsQueueServicesQueue) SetStatus(status genruntime.Conv return nil } -// +kubebuilder:webhook:path=/validate-storage-azure-com-v1alpha1api20210401-storageaccountsqueueservicesqueue,mutating=false,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=storage.azure.com,resources=storageaccountsqueueservicesqueues,verbs=create;update,versions=v1alpha1api20210401,name=validate.v1alpha1api20210401.storageaccountsqueueservicesqueues.storage.azure.com,admissionReviewVersions=v1beta1 +// +kubebuilder:webhook:path=/validate-storage-azure-com-v1alpha1api20210401-storageaccountsqueueservicesqueue,mutating=false,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=storage.azure.com,resources=storageaccountsqueueservicesqueues,verbs=create;update,versions=v1alpha1api20210401,name=validate.v1alpha1api20210401.storageaccountsqueueservicesqueues.storage.azure.com,admissionReviewVersions=v1 var _ admission.Validator = &StorageAccountsQueueServicesQueue{} diff --git a/v2/api/storage/v1beta20210401/storage_account_types_gen.go b/v2/api/storage/v1beta20210401/storage_account_types_gen.go index 35f05d2572..c6fd7f25d4 100644 --- a/v2/api/storage/v1beta20210401/storage_account_types_gen.go +++ b/v2/api/storage/v1beta20210401/storage_account_types_gen.go @@ -66,7 +66,7 @@ func (account *StorageAccount) ConvertTo(hub conversion.Hub) error { return account.AssignPropertiesToStorageAccount(destination) } -// +kubebuilder:webhook:path=/mutate-storage-azure-com-v1beta20210401-storageaccount,mutating=true,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=storage.azure.com,resources=storageaccounts,verbs=create;update,versions=v1beta20210401,name=default.v1beta20210401.storageaccounts.storage.azure.com,admissionReviewVersions=v1beta1 +// +kubebuilder:webhook:path=/mutate-storage-azure-com-v1beta20210401-storageaccount,mutating=true,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=storage.azure.com,resources=storageaccounts,verbs=create;update,versions=v1beta20210401,name=default.v1beta20210401.storageaccounts.storage.azure.com,admissionReviewVersions=v1 var _ admission.Defaulter = &StorageAccount{} @@ -155,7 +155,7 @@ func (account *StorageAccount) SetStatus(status genruntime.ConvertibleStatus) er return nil } -// +kubebuilder:webhook:path=/validate-storage-azure-com-v1beta20210401-storageaccount,mutating=false,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=storage.azure.com,resources=storageaccounts,verbs=create;update,versions=v1beta20210401,name=validate.v1beta20210401.storageaccounts.storage.azure.com,admissionReviewVersions=v1beta1 +// +kubebuilder:webhook:path=/validate-storage-azure-com-v1beta20210401-storageaccount,mutating=false,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=storage.azure.com,resources=storageaccounts,verbs=create;update,versions=v1beta20210401,name=validate.v1beta20210401.storageaccounts.storage.azure.com,admissionReviewVersions=v1 var _ admission.Validator = &StorageAccount{} diff --git a/v2/api/storage/v1beta20210401/storage_accounts_blob_service_types_gen.go b/v2/api/storage/v1beta20210401/storage_accounts_blob_service_types_gen.go index 15b9af4177..15f8a7ec4b 100644 --- a/v2/api/storage/v1beta20210401/storage_accounts_blob_service_types_gen.go +++ b/v2/api/storage/v1beta20210401/storage_accounts_blob_service_types_gen.go @@ -66,7 +66,7 @@ func (service *StorageAccountsBlobService) ConvertTo(hub conversion.Hub) error { return service.AssignPropertiesToStorageAccountsBlobService(destination) } -// +kubebuilder:webhook:path=/mutate-storage-azure-com-v1beta20210401-storageaccountsblobservice,mutating=true,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=storage.azure.com,resources=storageaccountsblobservices,verbs=create;update,versions=v1beta20210401,name=default.v1beta20210401.storageaccountsblobservices.storage.azure.com,admissionReviewVersions=v1beta1 +// +kubebuilder:webhook:path=/mutate-storage-azure-com-v1beta20210401-storageaccountsblobservice,mutating=true,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=storage.azure.com,resources=storageaccountsblobservices,verbs=create;update,versions=v1beta20210401,name=default.v1beta20210401.storageaccountsblobservices.storage.azure.com,admissionReviewVersions=v1 var _ admission.Defaulter = &StorageAccountsBlobService{} @@ -148,7 +148,7 @@ func (service *StorageAccountsBlobService) SetStatus(status genruntime.Convertib return nil } -// +kubebuilder:webhook:path=/validate-storage-azure-com-v1beta20210401-storageaccountsblobservice,mutating=false,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=storage.azure.com,resources=storageaccountsblobservices,verbs=create;update,versions=v1beta20210401,name=validate.v1beta20210401.storageaccountsblobservices.storage.azure.com,admissionReviewVersions=v1beta1 +// +kubebuilder:webhook:path=/validate-storage-azure-com-v1beta20210401-storageaccountsblobservice,mutating=false,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=storage.azure.com,resources=storageaccountsblobservices,verbs=create;update,versions=v1beta20210401,name=validate.v1beta20210401.storageaccountsblobservices.storage.azure.com,admissionReviewVersions=v1 var _ admission.Validator = &StorageAccountsBlobService{} diff --git a/v2/api/storage/v1beta20210401/storage_accounts_blob_services_container_types_gen.go b/v2/api/storage/v1beta20210401/storage_accounts_blob_services_container_types_gen.go index 67b4f08e36..a39ea74653 100644 --- a/v2/api/storage/v1beta20210401/storage_accounts_blob_services_container_types_gen.go +++ b/v2/api/storage/v1beta20210401/storage_accounts_blob_services_container_types_gen.go @@ -66,7 +66,7 @@ func (container *StorageAccountsBlobServicesContainer) ConvertTo(hub conversion. return container.AssignPropertiesToStorageAccountsBlobServicesContainer(destination) } -// +kubebuilder:webhook:path=/mutate-storage-azure-com-v1beta20210401-storageaccountsblobservicescontainer,mutating=true,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=storage.azure.com,resources=storageaccountsblobservicescontainers,verbs=create;update,versions=v1beta20210401,name=default.v1beta20210401.storageaccountsblobservicescontainers.storage.azure.com,admissionReviewVersions=v1beta1 +// +kubebuilder:webhook:path=/mutate-storage-azure-com-v1beta20210401-storageaccountsblobservicescontainer,mutating=true,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=storage.azure.com,resources=storageaccountsblobservicescontainers,verbs=create;update,versions=v1beta20210401,name=default.v1beta20210401.storageaccountsblobservicescontainers.storage.azure.com,admissionReviewVersions=v1 var _ admission.Defaulter = &StorageAccountsBlobServicesContainer{} @@ -155,7 +155,7 @@ func (container *StorageAccountsBlobServicesContainer) SetStatus(status genrunti return nil } -// +kubebuilder:webhook:path=/validate-storage-azure-com-v1beta20210401-storageaccountsblobservicescontainer,mutating=false,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=storage.azure.com,resources=storageaccountsblobservicescontainers,verbs=create;update,versions=v1beta20210401,name=validate.v1beta20210401.storageaccountsblobservicescontainers.storage.azure.com,admissionReviewVersions=v1beta1 +// +kubebuilder:webhook:path=/validate-storage-azure-com-v1beta20210401-storageaccountsblobservicescontainer,mutating=false,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=storage.azure.com,resources=storageaccountsblobservicescontainers,verbs=create;update,versions=v1beta20210401,name=validate.v1beta20210401.storageaccountsblobservicescontainers.storage.azure.com,admissionReviewVersions=v1 var _ admission.Validator = &StorageAccountsBlobServicesContainer{} diff --git a/v2/api/storage/v1beta20210401/storage_accounts_management_policy_types_gen.go b/v2/api/storage/v1beta20210401/storage_accounts_management_policy_types_gen.go index 916e4b136e..c85197d807 100644 --- a/v2/api/storage/v1beta20210401/storage_accounts_management_policy_types_gen.go +++ b/v2/api/storage/v1beta20210401/storage_accounts_management_policy_types_gen.go @@ -66,7 +66,7 @@ func (policy *StorageAccountsManagementPolicy) ConvertTo(hub conversion.Hub) err return policy.AssignPropertiesToStorageAccountsManagementPolicy(destination) } -// +kubebuilder:webhook:path=/mutate-storage-azure-com-v1beta20210401-storageaccountsmanagementpolicy,mutating=true,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=storage.azure.com,resources=storageaccountsmanagementpolicies,verbs=create;update,versions=v1beta20210401,name=default.v1beta20210401.storageaccountsmanagementpolicies.storage.azure.com,admissionReviewVersions=v1beta1 +// +kubebuilder:webhook:path=/mutate-storage-azure-com-v1beta20210401-storageaccountsmanagementpolicy,mutating=true,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=storage.azure.com,resources=storageaccountsmanagementpolicies,verbs=create;update,versions=v1beta20210401,name=default.v1beta20210401.storageaccountsmanagementpolicies.storage.azure.com,admissionReviewVersions=v1 var _ admission.Defaulter = &StorageAccountsManagementPolicy{} @@ -148,7 +148,7 @@ func (policy *StorageAccountsManagementPolicy) SetStatus(status genruntime.Conve return nil } -// +kubebuilder:webhook:path=/validate-storage-azure-com-v1beta20210401-storageaccountsmanagementpolicy,mutating=false,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=storage.azure.com,resources=storageaccountsmanagementpolicies,verbs=create;update,versions=v1beta20210401,name=validate.v1beta20210401.storageaccountsmanagementpolicies.storage.azure.com,admissionReviewVersions=v1beta1 +// +kubebuilder:webhook:path=/validate-storage-azure-com-v1beta20210401-storageaccountsmanagementpolicy,mutating=false,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=storage.azure.com,resources=storageaccountsmanagementpolicies,verbs=create;update,versions=v1beta20210401,name=validate.v1beta20210401.storageaccountsmanagementpolicies.storage.azure.com,admissionReviewVersions=v1 var _ admission.Validator = &StorageAccountsManagementPolicy{} diff --git a/v2/api/storage/v1beta20210401/storage_accounts_queue_service_types_gen.go b/v2/api/storage/v1beta20210401/storage_accounts_queue_service_types_gen.go index e64dee58a1..3ac688042c 100644 --- a/v2/api/storage/v1beta20210401/storage_accounts_queue_service_types_gen.go +++ b/v2/api/storage/v1beta20210401/storage_accounts_queue_service_types_gen.go @@ -66,7 +66,7 @@ func (service *StorageAccountsQueueService) ConvertTo(hub conversion.Hub) error return service.AssignPropertiesToStorageAccountsQueueService(destination) } -// +kubebuilder:webhook:path=/mutate-storage-azure-com-v1beta20210401-storageaccountsqueueservice,mutating=true,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=storage.azure.com,resources=storageaccountsqueueservices,verbs=create;update,versions=v1beta20210401,name=default.v1beta20210401.storageaccountsqueueservices.storage.azure.com,admissionReviewVersions=v1beta1 +// +kubebuilder:webhook:path=/mutate-storage-azure-com-v1beta20210401-storageaccountsqueueservice,mutating=true,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=storage.azure.com,resources=storageaccountsqueueservices,verbs=create;update,versions=v1beta20210401,name=default.v1beta20210401.storageaccountsqueueservices.storage.azure.com,admissionReviewVersions=v1 var _ admission.Defaulter = &StorageAccountsQueueService{} @@ -148,7 +148,7 @@ func (service *StorageAccountsQueueService) SetStatus(status genruntime.Converti return nil } -// +kubebuilder:webhook:path=/validate-storage-azure-com-v1beta20210401-storageaccountsqueueservice,mutating=false,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=storage.azure.com,resources=storageaccountsqueueservices,verbs=create;update,versions=v1beta20210401,name=validate.v1beta20210401.storageaccountsqueueservices.storage.azure.com,admissionReviewVersions=v1beta1 +// +kubebuilder:webhook:path=/validate-storage-azure-com-v1beta20210401-storageaccountsqueueservice,mutating=false,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=storage.azure.com,resources=storageaccountsqueueservices,verbs=create;update,versions=v1beta20210401,name=validate.v1beta20210401.storageaccountsqueueservices.storage.azure.com,admissionReviewVersions=v1 var _ admission.Validator = &StorageAccountsQueueService{} diff --git a/v2/api/storage/v1beta20210401/storage_accounts_queue_services_queue_types_gen.go b/v2/api/storage/v1beta20210401/storage_accounts_queue_services_queue_types_gen.go index fb4bc779cd..795f1c852a 100644 --- a/v2/api/storage/v1beta20210401/storage_accounts_queue_services_queue_types_gen.go +++ b/v2/api/storage/v1beta20210401/storage_accounts_queue_services_queue_types_gen.go @@ -66,7 +66,7 @@ func (queue *StorageAccountsQueueServicesQueue) ConvertTo(hub conversion.Hub) er return queue.AssignPropertiesToStorageAccountsQueueServicesQueue(destination) } -// +kubebuilder:webhook:path=/mutate-storage-azure-com-v1beta20210401-storageaccountsqueueservicesqueue,mutating=true,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=storage.azure.com,resources=storageaccountsqueueservicesqueues,verbs=create;update,versions=v1beta20210401,name=default.v1beta20210401.storageaccountsqueueservicesqueues.storage.azure.com,admissionReviewVersions=v1beta1 +// +kubebuilder:webhook:path=/mutate-storage-azure-com-v1beta20210401-storageaccountsqueueservicesqueue,mutating=true,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=storage.azure.com,resources=storageaccountsqueueservicesqueues,verbs=create;update,versions=v1beta20210401,name=default.v1beta20210401.storageaccountsqueueservicesqueues.storage.azure.com,admissionReviewVersions=v1 var _ admission.Defaulter = &StorageAccountsQueueServicesQueue{} @@ -155,7 +155,7 @@ func (queue *StorageAccountsQueueServicesQueue) SetStatus(status genruntime.Conv return nil } -// +kubebuilder:webhook:path=/validate-storage-azure-com-v1beta20210401-storageaccountsqueueservicesqueue,mutating=false,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=storage.azure.com,resources=storageaccountsqueueservicesqueues,verbs=create;update,versions=v1beta20210401,name=validate.v1beta20210401.storageaccountsqueueservicesqueues.storage.azure.com,admissionReviewVersions=v1beta1 +// +kubebuilder:webhook:path=/validate-storage-azure-com-v1beta20210401-storageaccountsqueueservicesqueue,mutating=false,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=storage.azure.com,resources=storageaccountsqueueservicesqueues,verbs=create;update,versions=v1beta20210401,name=validate.v1beta20210401.storageaccountsqueueservicesqueues.storage.azure.com,admissionReviewVersions=v1 var _ admission.Validator = &StorageAccountsQueueServicesQueue{} diff --git a/v2/tools/generator/internal/codegen/testdata/ArmResource/Arm_oneof_resource_conversion_on_arm_type_only_azure.golden b/v2/tools/generator/internal/codegen/testdata/ArmResource/Arm_oneof_resource_conversion_on_arm_type_only_azure.golden index 0750283dce..e2076ac052 100644 --- a/v2/tools/generator/internal/codegen/testdata/ArmResource/Arm_oneof_resource_conversion_on_arm_type_only_azure.golden +++ b/v2/tools/generator/internal/codegen/testdata/ArmResource/Arm_oneof_resource_conversion_on_arm_type_only_azure.golden @@ -65,7 +65,7 @@ func (resource *FakeResource) ConvertTo(hub conversion.Hub) error { return resource.AssignPropertiesToFakeResource(destination) } -// +kubebuilder:webhook:path=/mutate-test-azure-com-v1beta20200101-fakeresource,mutating=true,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=test.azure.com,resources=fakeresources,verbs=create;update,versions=v1beta20200101,name=default.v1beta20200101.fakeresources.test.azure.com,admissionReviewVersions=v1beta1 +// +kubebuilder:webhook:path=/mutate-test-azure-com-v1beta20200101-fakeresource,mutating=true,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=test.azure.com,resources=fakeresources,verbs=create;update,versions=v1beta20200101,name=default.v1beta20200101.fakeresources.test.azure.com,admissionReviewVersions=v1 var _ admission.Defaulter = &FakeResource{} @@ -125,7 +125,7 @@ func (resource *FakeResource) Owner() *genruntime.ResourceReference { } } -// +kubebuilder:webhook:path=/validate-test-azure-com-v1beta20200101-fakeresource,mutating=false,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=test.azure.com,resources=fakeresources,verbs=create;update,versions=v1beta20200101,name=validate.v1beta20200101.fakeresources.test.azure.com,admissionReviewVersions=v1beta1 +// +kubebuilder:webhook:path=/validate-test-azure-com-v1beta20200101-fakeresource,mutating=false,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=test.azure.com,resources=fakeresources,verbs=create;update,versions=v1beta20200101,name=validate.v1beta20200101.fakeresources.test.azure.com,admissionReviewVersions=v1 var _ admission.Validator = &FakeResource{} diff --git a/v2/tools/generator/internal/codegen/testdata/ArmResource/Arm_test_dependent_resource_and_ownership_azure.golden b/v2/tools/generator/internal/codegen/testdata/ArmResource/Arm_test_dependent_resource_and_ownership_azure.golden index c1c820f328..95ee45759f 100644 --- a/v2/tools/generator/internal/codegen/testdata/ArmResource/Arm_test_dependent_resource_and_ownership_azure.golden +++ b/v2/tools/generator/internal/codegen/testdata/ArmResource/Arm_test_dependent_resource_and_ownership_azure.golden @@ -62,7 +62,7 @@ func (a *A) ConvertTo(hub conversion.Hub) error { return a.AssignPropertiesToA(destination) } -// +kubebuilder:webhook:path=/mutate-test-azure-com-v1beta20200101-a,mutating=true,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=test.azure.com,resources=as,verbs=create;update,versions=v1beta20200101,name=default.v1beta20200101.as.test.azure.com,admissionReviewVersions=v1beta1 +// +kubebuilder:webhook:path=/mutate-test-azure-com-v1beta20200101-a,mutating=true,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=test.azure.com,resources=as,verbs=create;update,versions=v1beta20200101,name=default.v1beta20200101.as.test.azure.com,admissionReviewVersions=v1 var _ admission.Defaulter = &A{} @@ -122,7 +122,7 @@ func (a *A) Owner() *genruntime.ResourceReference { } } -// +kubebuilder:webhook:path=/validate-test-azure-com-v1beta20200101-a,mutating=false,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=test.azure.com,resources=as,verbs=create;update,versions=v1beta20200101,name=validate.v1beta20200101.as.test.azure.com,admissionReviewVersions=v1beta1 +// +kubebuilder:webhook:path=/validate-test-azure-com-v1beta20200101-a,mutating=false,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=test.azure.com,resources=as,verbs=create;update,versions=v1beta20200101,name=validate.v1beta20200101.as.test.azure.com,admissionReviewVersions=v1 var _ admission.Validator = &A{} @@ -333,7 +333,7 @@ func (b *B) ConvertTo(hub conversion.Hub) error { return b.AssignPropertiesToB(destination) } -// +kubebuilder:webhook:path=/mutate-test-azure-com-v1beta20200101-b,mutating=true,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=test.azure.com,resources=bs,verbs=create;update,versions=v1beta20200101,name=default.v1beta20200101.bs.test.azure.com,admissionReviewVersions=v1beta1 +// +kubebuilder:webhook:path=/mutate-test-azure-com-v1beta20200101-b,mutating=true,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=test.azure.com,resources=bs,verbs=create;update,versions=v1beta20200101,name=default.v1beta20200101.bs.test.azure.com,admissionReviewVersions=v1 var _ admission.Defaulter = &B{} @@ -393,7 +393,7 @@ func (b *B) Owner() *genruntime.ResourceReference { } } -// +kubebuilder:webhook:path=/validate-test-azure-com-v1beta20200101-b,mutating=false,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=test.azure.com,resources=bs,verbs=create;update,versions=v1beta20200101,name=validate.v1beta20200101.bs.test.azure.com,admissionReviewVersions=v1beta1 +// +kubebuilder:webhook:path=/validate-test-azure-com-v1beta20200101-b,mutating=false,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=test.azure.com,resources=bs,verbs=create;update,versions=v1beta20200101,name=validate.v1beta20200101.bs.test.azure.com,admissionReviewVersions=v1 var _ admission.Validator = &B{} @@ -604,7 +604,7 @@ func (c *C) ConvertTo(hub conversion.Hub) error { return c.AssignPropertiesToC(destination) } -// +kubebuilder:webhook:path=/mutate-test-azure-com-v1beta20200101-c,mutating=true,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=test.azure.com,resources=cs,verbs=create;update,versions=v1beta20200101,name=default.v1beta20200101.cs.test.azure.com,admissionReviewVersions=v1beta1 +// +kubebuilder:webhook:path=/mutate-test-azure-com-v1beta20200101-c,mutating=true,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=test.azure.com,resources=cs,verbs=create;update,versions=v1beta20200101,name=default.v1beta20200101.cs.test.azure.com,admissionReviewVersions=v1 var _ admission.Defaulter = &C{} @@ -664,7 +664,7 @@ func (c *C) Owner() *genruntime.ResourceReference { } } -// +kubebuilder:webhook:path=/validate-test-azure-com-v1beta20200101-c,mutating=false,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=test.azure.com,resources=cs,verbs=create;update,versions=v1beta20200101,name=validate.v1beta20200101.cs.test.azure.com,admissionReviewVersions=v1beta1 +// +kubebuilder:webhook:path=/validate-test-azure-com-v1beta20200101-c,mutating=false,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=test.azure.com,resources=cs,verbs=create;update,versions=v1beta20200101,name=validate.v1beta20200101.cs.test.azure.com,admissionReviewVersions=v1 var _ admission.Validator = &C{} @@ -875,7 +875,7 @@ func (d *D) ConvertTo(hub conversion.Hub) error { return d.AssignPropertiesToD(destination) } -// +kubebuilder:webhook:path=/mutate-test-azure-com-v1beta20200101-d,mutating=true,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=test.azure.com,resources=ds,verbs=create;update,versions=v1beta20200101,name=default.v1beta20200101.ds.test.azure.com,admissionReviewVersions=v1beta1 +// +kubebuilder:webhook:path=/mutate-test-azure-com-v1beta20200101-d,mutating=true,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=test.azure.com,resources=ds,verbs=create;update,versions=v1beta20200101,name=default.v1beta20200101.ds.test.azure.com,admissionReviewVersions=v1 var _ admission.Defaulter = &D{} @@ -935,7 +935,7 @@ func (d *D) Owner() *genruntime.ResourceReference { } } -// +kubebuilder:webhook:path=/validate-test-azure-com-v1beta20200101-d,mutating=false,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=test.azure.com,resources=ds,verbs=create;update,versions=v1beta20200101,name=validate.v1beta20200101.ds.test.azure.com,admissionReviewVersions=v1beta1 +// +kubebuilder:webhook:path=/validate-test-azure-com-v1beta20200101-d,mutating=false,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=test.azure.com,resources=ds,verbs=create;update,versions=v1beta20200101,name=validate.v1beta20200101.ds.test.azure.com,admissionReviewVersions=v1 var _ admission.Validator = &D{} diff --git a/v2/tools/generator/internal/codegen/testdata/ArmResource/Arm_test_embedded_resource_empty_objecttype_removed_azure.golden b/v2/tools/generator/internal/codegen/testdata/ArmResource/Arm_test_embedded_resource_empty_objecttype_removed_azure.golden index 02222bdade..0d69f1cd4b 100644 --- a/v2/tools/generator/internal/codegen/testdata/ArmResource/Arm_test_embedded_resource_empty_objecttype_removed_azure.golden +++ b/v2/tools/generator/internal/codegen/testdata/ArmResource/Arm_test_embedded_resource_empty_objecttype_removed_azure.golden @@ -62,7 +62,7 @@ func (a *A) ConvertTo(hub conversion.Hub) error { return a.AssignPropertiesToA(destination) } -// +kubebuilder:webhook:path=/mutate-test-azure-com-v1beta20200101-a,mutating=true,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=test.azure.com,resources=as,verbs=create;update,versions=v1beta20200101,name=default.v1beta20200101.as.test.azure.com,admissionReviewVersions=v1beta1 +// +kubebuilder:webhook:path=/mutate-test-azure-com-v1beta20200101-a,mutating=true,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=test.azure.com,resources=as,verbs=create;update,versions=v1beta20200101,name=default.v1beta20200101.as.test.azure.com,admissionReviewVersions=v1 var _ admission.Defaulter = &A{} @@ -122,7 +122,7 @@ func (a *A) Owner() *genruntime.ResourceReference { } } -// +kubebuilder:webhook:path=/validate-test-azure-com-v1beta20200101-a,mutating=false,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=test.azure.com,resources=as,verbs=create;update,versions=v1beta20200101,name=validate.v1beta20200101.as.test.azure.com,admissionReviewVersions=v1beta1 +// +kubebuilder:webhook:path=/validate-test-azure-com-v1beta20200101-a,mutating=false,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=test.azure.com,resources=as,verbs=create;update,versions=v1beta20200101,name=validate.v1beta20200101.as.test.azure.com,admissionReviewVersions=v1 var _ admission.Validator = &A{} @@ -334,7 +334,7 @@ func (b *B) ConvertTo(hub conversion.Hub) error { return b.AssignPropertiesToB(destination) } -// +kubebuilder:webhook:path=/mutate-test-azure-com-v1beta20200101-b,mutating=true,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=test.azure.com,resources=bs,verbs=create;update,versions=v1beta20200101,name=default.v1beta20200101.bs.test.azure.com,admissionReviewVersions=v1beta1 +// +kubebuilder:webhook:path=/mutate-test-azure-com-v1beta20200101-b,mutating=true,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=test.azure.com,resources=bs,verbs=create;update,versions=v1beta20200101,name=default.v1beta20200101.bs.test.azure.com,admissionReviewVersions=v1 var _ admission.Defaulter = &B{} @@ -394,7 +394,7 @@ func (b *B) Owner() *genruntime.ResourceReference { } } -// +kubebuilder:webhook:path=/validate-test-azure-com-v1beta20200101-b,mutating=false,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=test.azure.com,resources=bs,verbs=create;update,versions=v1beta20200101,name=validate.v1beta20200101.bs.test.azure.com,admissionReviewVersions=v1beta1 +// +kubebuilder:webhook:path=/validate-test-azure-com-v1beta20200101-b,mutating=false,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=test.azure.com,resources=bs,verbs=create;update,versions=v1beta20200101,name=validate.v1beta20200101.bs.test.azure.com,admissionReviewVersions=v1 var _ admission.Validator = &B{} diff --git a/v2/tools/generator/internal/codegen/testdata/ArmResource/Arm_test_embedded_resource_has_embedded_resource_inside_azure.golden b/v2/tools/generator/internal/codegen/testdata/ArmResource/Arm_test_embedded_resource_has_embedded_resource_inside_azure.golden index 9982093e54..5ac4d6c05f 100644 --- a/v2/tools/generator/internal/codegen/testdata/ArmResource/Arm_test_embedded_resource_has_embedded_resource_inside_azure.golden +++ b/v2/tools/generator/internal/codegen/testdata/ArmResource/Arm_test_embedded_resource_has_embedded_resource_inside_azure.golden @@ -62,7 +62,7 @@ func (a *A) ConvertTo(hub conversion.Hub) error { return a.AssignPropertiesToA(destination) } -// +kubebuilder:webhook:path=/mutate-test-azure-com-v1beta20200101-a,mutating=true,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=test.azure.com,resources=as,verbs=create;update,versions=v1beta20200101,name=default.v1beta20200101.as.test.azure.com,admissionReviewVersions=v1beta1 +// +kubebuilder:webhook:path=/mutate-test-azure-com-v1beta20200101-a,mutating=true,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=test.azure.com,resources=as,verbs=create;update,versions=v1beta20200101,name=default.v1beta20200101.as.test.azure.com,admissionReviewVersions=v1 var _ admission.Defaulter = &A{} @@ -122,7 +122,7 @@ func (a *A) Owner() *genruntime.ResourceReference { } } -// +kubebuilder:webhook:path=/validate-test-azure-com-v1beta20200101-a,mutating=false,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=test.azure.com,resources=as,verbs=create;update,versions=v1beta20200101,name=validate.v1beta20200101.as.test.azure.com,admissionReviewVersions=v1beta1 +// +kubebuilder:webhook:path=/validate-test-azure-com-v1beta20200101-a,mutating=false,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=test.azure.com,resources=as,verbs=create;update,versions=v1beta20200101,name=validate.v1beta20200101.as.test.azure.com,admissionReviewVersions=v1 var _ admission.Validator = &A{} @@ -334,7 +334,7 @@ func (b *B) ConvertTo(hub conversion.Hub) error { return b.AssignPropertiesToB(destination) } -// +kubebuilder:webhook:path=/mutate-test-azure-com-v1beta20200101-b,mutating=true,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=test.azure.com,resources=bs,verbs=create;update,versions=v1beta20200101,name=default.v1beta20200101.bs.test.azure.com,admissionReviewVersions=v1beta1 +// +kubebuilder:webhook:path=/mutate-test-azure-com-v1beta20200101-b,mutating=true,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=test.azure.com,resources=bs,verbs=create;update,versions=v1beta20200101,name=default.v1beta20200101.bs.test.azure.com,admissionReviewVersions=v1 var _ admission.Defaulter = &B{} @@ -394,7 +394,7 @@ func (b *B) Owner() *genruntime.ResourceReference { } } -// +kubebuilder:webhook:path=/validate-test-azure-com-v1beta20200101-b,mutating=false,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=test.azure.com,resources=bs,verbs=create;update,versions=v1beta20200101,name=validate.v1beta20200101.bs.test.azure.com,admissionReviewVersions=v1beta1 +// +kubebuilder:webhook:path=/validate-test-azure-com-v1beta20200101-b,mutating=false,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=test.azure.com,resources=bs,verbs=create;update,versions=v1beta20200101,name=validate.v1beta20200101.bs.test.azure.com,admissionReviewVersions=v1 var _ admission.Validator = &B{} @@ -606,7 +606,7 @@ func (c *C) ConvertTo(hub conversion.Hub) error { return c.AssignPropertiesToC(destination) } -// +kubebuilder:webhook:path=/mutate-test-azure-com-v1beta20200101-c,mutating=true,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=test.azure.com,resources=cs,verbs=create;update,versions=v1beta20200101,name=default.v1beta20200101.cs.test.azure.com,admissionReviewVersions=v1beta1 +// +kubebuilder:webhook:path=/mutate-test-azure-com-v1beta20200101-c,mutating=true,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=test.azure.com,resources=cs,verbs=create;update,versions=v1beta20200101,name=default.v1beta20200101.cs.test.azure.com,admissionReviewVersions=v1 var _ admission.Defaulter = &C{} @@ -666,7 +666,7 @@ func (c *C) Owner() *genruntime.ResourceReference { } } -// +kubebuilder:webhook:path=/validate-test-azure-com-v1beta20200101-c,mutating=false,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=test.azure.com,resources=cs,verbs=create;update,versions=v1beta20200101,name=validate.v1beta20200101.cs.test.azure.com,admissionReviewVersions=v1beta1 +// +kubebuilder:webhook:path=/validate-test-azure-com-v1beta20200101-c,mutating=false,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=test.azure.com,resources=cs,verbs=create;update,versions=v1beta20200101,name=validate.v1beta20200101.cs.test.azure.com,admissionReviewVersions=v1 var _ admission.Validator = &C{} diff --git a/v2/tools/generator/internal/codegen/testdata/ArmResource/Arm_test_embedded_resource_multiple_contexts_azure.golden b/v2/tools/generator/internal/codegen/testdata/ArmResource/Arm_test_embedded_resource_multiple_contexts_azure.golden index 34f16d8bd5..6f58b2f840 100644 --- a/v2/tools/generator/internal/codegen/testdata/ArmResource/Arm_test_embedded_resource_multiple_contexts_azure.golden +++ b/v2/tools/generator/internal/codegen/testdata/ArmResource/Arm_test_embedded_resource_multiple_contexts_azure.golden @@ -62,7 +62,7 @@ func (a *A) ConvertTo(hub conversion.Hub) error { return a.AssignPropertiesToA(destination) } -// +kubebuilder:webhook:path=/mutate-test-azure-com-v1beta20200101-a,mutating=true,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=test.azure.com,resources=as,verbs=create;update,versions=v1beta20200101,name=default.v1beta20200101.as.test.azure.com,admissionReviewVersions=v1beta1 +// +kubebuilder:webhook:path=/mutate-test-azure-com-v1beta20200101-a,mutating=true,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=test.azure.com,resources=as,verbs=create;update,versions=v1beta20200101,name=default.v1beta20200101.as.test.azure.com,admissionReviewVersions=v1 var _ admission.Defaulter = &A{} @@ -122,7 +122,7 @@ func (a *A) Owner() *genruntime.ResourceReference { } } -// +kubebuilder:webhook:path=/validate-test-azure-com-v1beta20200101-a,mutating=false,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=test.azure.com,resources=as,verbs=create;update,versions=v1beta20200101,name=validate.v1beta20200101.as.test.azure.com,admissionReviewVersions=v1beta1 +// +kubebuilder:webhook:path=/validate-test-azure-com-v1beta20200101-a,mutating=false,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=test.azure.com,resources=as,verbs=create;update,versions=v1beta20200101,name=validate.v1beta20200101.as.test.azure.com,admissionReviewVersions=v1 var _ admission.Validator = &A{} diff --git a/v2/tools/generator/internal/codegen/testdata/ArmResource/Arm_test_embedded_resource_removed_azure.golden b/v2/tools/generator/internal/codegen/testdata/ArmResource/Arm_test_embedded_resource_removed_azure.golden index c874a41a13..c46071a694 100644 --- a/v2/tools/generator/internal/codegen/testdata/ArmResource/Arm_test_embedded_resource_removed_azure.golden +++ b/v2/tools/generator/internal/codegen/testdata/ArmResource/Arm_test_embedded_resource_removed_azure.golden @@ -62,7 +62,7 @@ func (a *A) ConvertTo(hub conversion.Hub) error { return a.AssignPropertiesToA(destination) } -// +kubebuilder:webhook:path=/mutate-test-azure-com-v1beta20200101-a,mutating=true,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=test.azure.com,resources=as,verbs=create;update,versions=v1beta20200101,name=default.v1beta20200101.as.test.azure.com,admissionReviewVersions=v1beta1 +// +kubebuilder:webhook:path=/mutate-test-azure-com-v1beta20200101-a,mutating=true,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=test.azure.com,resources=as,verbs=create;update,versions=v1beta20200101,name=default.v1beta20200101.as.test.azure.com,admissionReviewVersions=v1 var _ admission.Defaulter = &A{} @@ -122,7 +122,7 @@ func (a *A) Owner() *genruntime.ResourceReference { } } -// +kubebuilder:webhook:path=/validate-test-azure-com-v1beta20200101-a,mutating=false,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=test.azure.com,resources=as,verbs=create;update,versions=v1beta20200101,name=validate.v1beta20200101.as.test.azure.com,admissionReviewVersions=v1beta1 +// +kubebuilder:webhook:path=/validate-test-azure-com-v1beta20200101-a,mutating=false,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=test.azure.com,resources=as,verbs=create;update,versions=v1beta20200101,name=validate.v1beta20200101.as.test.azure.com,admissionReviewVersions=v1 var _ admission.Validator = &A{} @@ -334,7 +334,7 @@ func (b *B) ConvertTo(hub conversion.Hub) error { return b.AssignPropertiesToB(destination) } -// +kubebuilder:webhook:path=/mutate-test-azure-com-v1beta20200101-b,mutating=true,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=test.azure.com,resources=bs,verbs=create;update,versions=v1beta20200101,name=default.v1beta20200101.bs.test.azure.com,admissionReviewVersions=v1beta1 +// +kubebuilder:webhook:path=/mutate-test-azure-com-v1beta20200101-b,mutating=true,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=test.azure.com,resources=bs,verbs=create;update,versions=v1beta20200101,name=default.v1beta20200101.bs.test.azure.com,admissionReviewVersions=v1 var _ admission.Defaulter = &B{} @@ -394,7 +394,7 @@ func (b *B) Owner() *genruntime.ResourceReference { } } -// +kubebuilder:webhook:path=/validate-test-azure-com-v1beta20200101-b,mutating=false,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=test.azure.com,resources=bs,verbs=create;update,versions=v1beta20200101,name=validate.v1beta20200101.bs.test.azure.com,admissionReviewVersions=v1beta1 +// +kubebuilder:webhook:path=/validate-test-azure-com-v1beta20200101-b,mutating=false,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=test.azure.com,resources=bs,verbs=create;update,versions=v1beta20200101,name=validate.v1beta20200101.bs.test.azure.com,admissionReviewVersions=v1 var _ admission.Validator = &B{} diff --git a/v2/tools/generator/internal/codegen/testdata/ArmResource/Arm_test_embedded_subresource_azure.golden b/v2/tools/generator/internal/codegen/testdata/ArmResource/Arm_test_embedded_subresource_azure.golden index 55a03d0978..6638df2aed 100644 --- a/v2/tools/generator/internal/codegen/testdata/ArmResource/Arm_test_embedded_subresource_azure.golden +++ b/v2/tools/generator/internal/codegen/testdata/ArmResource/Arm_test_embedded_subresource_azure.golden @@ -62,7 +62,7 @@ func (a *A) ConvertTo(hub conversion.Hub) error { return a.AssignPropertiesToA(destination) } -// +kubebuilder:webhook:path=/mutate-test-azure-com-v1beta20200101-a,mutating=true,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=test.azure.com,resources=as,verbs=create;update,versions=v1beta20200101,name=default.v1beta20200101.as.test.azure.com,admissionReviewVersions=v1beta1 +// +kubebuilder:webhook:path=/mutate-test-azure-com-v1beta20200101-a,mutating=true,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=test.azure.com,resources=as,verbs=create;update,versions=v1beta20200101,name=default.v1beta20200101.as.test.azure.com,admissionReviewVersions=v1 var _ admission.Defaulter = &A{} @@ -122,7 +122,7 @@ func (a *A) Owner() *genruntime.ResourceReference { } } -// +kubebuilder:webhook:path=/validate-test-azure-com-v1beta20200101-a,mutating=false,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=test.azure.com,resources=as,verbs=create;update,versions=v1beta20200101,name=validate.v1beta20200101.as.test.azure.com,admissionReviewVersions=v1beta1 +// +kubebuilder:webhook:path=/validate-test-azure-com-v1beta20200101-a,mutating=false,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=test.azure.com,resources=as,verbs=create;update,versions=v1beta20200101,name=validate.v1beta20200101.as.test.azure.com,admissionReviewVersions=v1 var _ admission.Validator = &A{} @@ -334,7 +334,7 @@ func (b *B) ConvertTo(hub conversion.Hub) error { return b.AssignPropertiesToB(destination) } -// +kubebuilder:webhook:path=/mutate-test-azure-com-v1beta20200101-b,mutating=true,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=test.azure.com,resources=bs,verbs=create;update,versions=v1beta20200101,name=default.v1beta20200101.bs.test.azure.com,admissionReviewVersions=v1beta1 +// +kubebuilder:webhook:path=/mutate-test-azure-com-v1beta20200101-b,mutating=true,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=test.azure.com,resources=bs,verbs=create;update,versions=v1beta20200101,name=default.v1beta20200101.bs.test.azure.com,admissionReviewVersions=v1 var _ admission.Defaulter = &B{} @@ -394,7 +394,7 @@ func (b *B) Owner() *genruntime.ResourceReference { } } -// +kubebuilder:webhook:path=/validate-test-azure-com-v1beta20200101-b,mutating=false,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=test.azure.com,resources=bs,verbs=create;update,versions=v1beta20200101,name=validate.v1beta20200101.bs.test.azure.com,admissionReviewVersions=v1beta1 +// +kubebuilder:webhook:path=/validate-test-azure-com-v1beta20200101-b,mutating=false,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=test.azure.com,resources=bs,verbs=create;update,versions=v1beta20200101,name=validate.v1beta20200101.bs.test.azure.com,admissionReviewVersions=v1 var _ admission.Validator = &B{} diff --git a/v2/tools/generator/internal/codegen/testdata/ArmResource/Arm_test_embedded_subresource_same_properties_azure.golden b/v2/tools/generator/internal/codegen/testdata/ArmResource/Arm_test_embedded_subresource_same_properties_azure.golden index 92942dedd8..41fa50a69e 100644 --- a/v2/tools/generator/internal/codegen/testdata/ArmResource/Arm_test_embedded_subresource_same_properties_azure.golden +++ b/v2/tools/generator/internal/codegen/testdata/ArmResource/Arm_test_embedded_subresource_same_properties_azure.golden @@ -62,7 +62,7 @@ func (a *A) ConvertTo(hub conversion.Hub) error { return a.AssignPropertiesToA(destination) } -// +kubebuilder:webhook:path=/mutate-test-azure-com-v1beta20200101-a,mutating=true,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=test.azure.com,resources=as,verbs=create;update,versions=v1beta20200101,name=default.v1beta20200101.as.test.azure.com,admissionReviewVersions=v1beta1 +// +kubebuilder:webhook:path=/mutate-test-azure-com-v1beta20200101-a,mutating=true,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=test.azure.com,resources=as,verbs=create;update,versions=v1beta20200101,name=default.v1beta20200101.as.test.azure.com,admissionReviewVersions=v1 var _ admission.Defaulter = &A{} @@ -122,7 +122,7 @@ func (a *A) Owner() *genruntime.ResourceReference { } } -// +kubebuilder:webhook:path=/validate-test-azure-com-v1beta20200101-a,mutating=false,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=test.azure.com,resources=as,verbs=create;update,versions=v1beta20200101,name=validate.v1beta20200101.as.test.azure.com,admissionReviewVersions=v1beta1 +// +kubebuilder:webhook:path=/validate-test-azure-com-v1beta20200101-a,mutating=false,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=test.azure.com,resources=as,verbs=create;update,versions=v1beta20200101,name=validate.v1beta20200101.as.test.azure.com,admissionReviewVersions=v1 var _ admission.Validator = &A{} @@ -334,7 +334,7 @@ func (b *B) ConvertTo(hub conversion.Hub) error { return b.AssignPropertiesToB(destination) } -// +kubebuilder:webhook:path=/mutate-test-azure-com-v1beta20200101-b,mutating=true,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=test.azure.com,resources=bs,verbs=create;update,versions=v1beta20200101,name=default.v1beta20200101.bs.test.azure.com,admissionReviewVersions=v1beta1 +// +kubebuilder:webhook:path=/mutate-test-azure-com-v1beta20200101-b,mutating=true,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=test.azure.com,resources=bs,verbs=create;update,versions=v1beta20200101,name=default.v1beta20200101.bs.test.azure.com,admissionReviewVersions=v1 var _ admission.Defaulter = &B{} @@ -394,7 +394,7 @@ func (b *B) Owner() *genruntime.ResourceReference { } } -// +kubebuilder:webhook:path=/validate-test-azure-com-v1beta20200101-b,mutating=false,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=test.azure.com,resources=bs,verbs=create;update,versions=v1beta20200101,name=validate.v1beta20200101.bs.test.azure.com,admissionReviewVersions=v1beta1 +// +kubebuilder:webhook:path=/validate-test-azure-com-v1beta20200101-b,mutating=false,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=test.azure.com,resources=bs,verbs=create;update,versions=v1beta20200101,name=validate.v1beta20200101.bs.test.azure.com,admissionReviewVersions=v1 var _ admission.Validator = &B{} diff --git a/v2/tools/generator/internal/codegen/testdata/ArmResource/Arm_test_id_resource_reference_azure.golden b/v2/tools/generator/internal/codegen/testdata/ArmResource/Arm_test_id_resource_reference_azure.golden index b336fd19b6..3f3da94e92 100644 --- a/v2/tools/generator/internal/codegen/testdata/ArmResource/Arm_test_id_resource_reference_azure.golden +++ b/v2/tools/generator/internal/codegen/testdata/ArmResource/Arm_test_id_resource_reference_azure.golden @@ -64,7 +64,7 @@ func (resource *FakeResource) ConvertTo(hub conversion.Hub) error { return resource.AssignPropertiesToFakeResource(destination) } -// +kubebuilder:webhook:path=/mutate-test-azure-com-v1beta20200101-fakeresource,mutating=true,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=test.azure.com,resources=fakeresources,verbs=create;update,versions=v1beta20200101,name=default.v1beta20200101.fakeresources.test.azure.com,admissionReviewVersions=v1beta1 +// +kubebuilder:webhook:path=/mutate-test-azure-com-v1beta20200101-fakeresource,mutating=true,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=test.azure.com,resources=fakeresources,verbs=create;update,versions=v1beta20200101,name=default.v1beta20200101.fakeresources.test.azure.com,admissionReviewVersions=v1 var _ admission.Defaulter = &FakeResource{} @@ -124,7 +124,7 @@ func (resource *FakeResource) Owner() *genruntime.ResourceReference { } } -// +kubebuilder:webhook:path=/validate-test-azure-com-v1beta20200101-fakeresource,mutating=false,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=test.azure.com,resources=fakeresources,verbs=create;update,versions=v1beta20200101,name=validate.v1beta20200101.fakeresources.test.azure.com,admissionReviewVersions=v1beta1 +// +kubebuilder:webhook:path=/validate-test-azure-com-v1beta20200101-fakeresource,mutating=false,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=test.azure.com,resources=fakeresources,verbs=create;update,versions=v1beta20200101,name=validate.v1beta20200101.fakeresources.test.azure.com,admissionReviewVersions=v1 var _ admission.Validator = &FakeResource{} diff --git a/v2/tools/generator/internal/codegen/testdata/ArmResource/Arm_test_required_and_optional_resource_references_azure.golden b/v2/tools/generator/internal/codegen/testdata/ArmResource/Arm_test_required_and_optional_resource_references_azure.golden index a57d39506e..d12e539a7c 100644 --- a/v2/tools/generator/internal/codegen/testdata/ArmResource/Arm_test_required_and_optional_resource_references_azure.golden +++ b/v2/tools/generator/internal/codegen/testdata/ArmResource/Arm_test_required_and_optional_resource_references_azure.golden @@ -64,7 +64,7 @@ func (resource *FakeResource) ConvertTo(hub conversion.Hub) error { return resource.AssignPropertiesToFakeResource(destination) } -// +kubebuilder:webhook:path=/mutate-test-azure-com-v1beta20200101-fakeresource,mutating=true,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=test.azure.com,resources=fakeresources,verbs=create;update,versions=v1beta20200101,name=default.v1beta20200101.fakeresources.test.azure.com,admissionReviewVersions=v1beta1 +// +kubebuilder:webhook:path=/mutate-test-azure-com-v1beta20200101-fakeresource,mutating=true,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=test.azure.com,resources=fakeresources,verbs=create;update,versions=v1beta20200101,name=default.v1beta20200101.fakeresources.test.azure.com,admissionReviewVersions=v1 var _ admission.Defaulter = &FakeResource{} @@ -124,7 +124,7 @@ func (resource *FakeResource) Owner() *genruntime.ResourceReference { } } -// +kubebuilder:webhook:path=/validate-test-azure-com-v1beta20200101-fakeresource,mutating=false,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=test.azure.com,resources=fakeresources,verbs=create;update,versions=v1beta20200101,name=validate.v1beta20200101.fakeresources.test.azure.com,admissionReviewVersions=v1beta1 +// +kubebuilder:webhook:path=/validate-test-azure-com-v1beta20200101-fakeresource,mutating=false,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=test.azure.com,resources=fakeresources,verbs=create;update,versions=v1beta20200101,name=validate.v1beta20200101.fakeresources.test.azure.com,admissionReviewVersions=v1 var _ admission.Validator = &FakeResource{} diff --git a/v2/tools/generator/internal/codegen/testdata/ArmResource/Arm_test_simple_resource_array_properties_azure.golden b/v2/tools/generator/internal/codegen/testdata/ArmResource/Arm_test_simple_resource_array_properties_azure.golden index d3fc70f51b..865f26e1c2 100644 --- a/v2/tools/generator/internal/codegen/testdata/ArmResource/Arm_test_simple_resource_array_properties_azure.golden +++ b/v2/tools/generator/internal/codegen/testdata/ArmResource/Arm_test_simple_resource_array_properties_azure.golden @@ -64,7 +64,7 @@ func (resource *FakeResource) ConvertTo(hub conversion.Hub) error { return resource.AssignPropertiesToFakeResource(destination) } -// +kubebuilder:webhook:path=/mutate-test-azure-com-v1beta20200101-fakeresource,mutating=true,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=test.azure.com,resources=fakeresources,verbs=create;update,versions=v1beta20200101,name=default.v1beta20200101.fakeresources.test.azure.com,admissionReviewVersions=v1beta1 +// +kubebuilder:webhook:path=/mutate-test-azure-com-v1beta20200101-fakeresource,mutating=true,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=test.azure.com,resources=fakeresources,verbs=create;update,versions=v1beta20200101,name=default.v1beta20200101.fakeresources.test.azure.com,admissionReviewVersions=v1 var _ admission.Defaulter = &FakeResource{} @@ -124,7 +124,7 @@ func (resource *FakeResource) Owner() *genruntime.ResourceReference { } } -// +kubebuilder:webhook:path=/validate-test-azure-com-v1beta20200101-fakeresource,mutating=false,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=test.azure.com,resources=fakeresources,verbs=create;update,versions=v1beta20200101,name=validate.v1beta20200101.fakeresources.test.azure.com,admissionReviewVersions=v1beta1 +// +kubebuilder:webhook:path=/validate-test-azure-com-v1beta20200101-fakeresource,mutating=false,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=test.azure.com,resources=fakeresources,verbs=create;update,versions=v1beta20200101,name=validate.v1beta20200101.fakeresources.test.azure.com,admissionReviewVersions=v1 var _ admission.Validator = &FakeResource{} diff --git a/v2/tools/generator/internal/codegen/testdata/ArmResource/Arm_test_simple_resource_complex_properties_azure.golden b/v2/tools/generator/internal/codegen/testdata/ArmResource/Arm_test_simple_resource_complex_properties_azure.golden index df66cf1a61..dcde387cd2 100644 --- a/v2/tools/generator/internal/codegen/testdata/ArmResource/Arm_test_simple_resource_complex_properties_azure.golden +++ b/v2/tools/generator/internal/codegen/testdata/ArmResource/Arm_test_simple_resource_complex_properties_azure.golden @@ -64,7 +64,7 @@ func (resource *FakeResource) ConvertTo(hub conversion.Hub) error { return resource.AssignPropertiesToFakeResource(destination) } -// +kubebuilder:webhook:path=/mutate-test-azure-com-v1beta20200101-fakeresource,mutating=true,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=test.azure.com,resources=fakeresources,verbs=create;update,versions=v1beta20200101,name=default.v1beta20200101.fakeresources.test.azure.com,admissionReviewVersions=v1beta1 +// +kubebuilder:webhook:path=/mutate-test-azure-com-v1beta20200101-fakeresource,mutating=true,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=test.azure.com,resources=fakeresources,verbs=create;update,versions=v1beta20200101,name=default.v1beta20200101.fakeresources.test.azure.com,admissionReviewVersions=v1 var _ admission.Defaulter = &FakeResource{} @@ -124,7 +124,7 @@ func (resource *FakeResource) Owner() *genruntime.ResourceReference { } } -// +kubebuilder:webhook:path=/validate-test-azure-com-v1beta20200101-fakeresource,mutating=false,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=test.azure.com,resources=fakeresources,verbs=create;update,versions=v1beta20200101,name=validate.v1beta20200101.fakeresources.test.azure.com,admissionReviewVersions=v1beta1 +// +kubebuilder:webhook:path=/validate-test-azure-com-v1beta20200101-fakeresource,mutating=false,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=test.azure.com,resources=fakeresources,verbs=create;update,versions=v1beta20200101,name=validate.v1beta20200101.fakeresources.test.azure.com,admissionReviewVersions=v1 var _ admission.Validator = &FakeResource{} diff --git a/v2/tools/generator/internal/codegen/testdata/ArmResource/Arm_test_simple_resource_json_fields_azure.golden b/v2/tools/generator/internal/codegen/testdata/ArmResource/Arm_test_simple_resource_json_fields_azure.golden index f4872608f3..7e2b5c8fe0 100644 --- a/v2/tools/generator/internal/codegen/testdata/ArmResource/Arm_test_simple_resource_json_fields_azure.golden +++ b/v2/tools/generator/internal/codegen/testdata/ArmResource/Arm_test_simple_resource_json_fields_azure.golden @@ -65,7 +65,7 @@ func (resource *FakeResource) ConvertTo(hub conversion.Hub) error { return resource.AssignPropertiesToFakeResource(destination) } -// +kubebuilder:webhook:path=/mutate-test-azure-com-v1beta20200101-fakeresource,mutating=true,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=test.azure.com,resources=fakeresources,verbs=create;update,versions=v1beta20200101,name=default.v1beta20200101.fakeresources.test.azure.com,admissionReviewVersions=v1beta1 +// +kubebuilder:webhook:path=/mutate-test-azure-com-v1beta20200101-fakeresource,mutating=true,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=test.azure.com,resources=fakeresources,verbs=create;update,versions=v1beta20200101,name=default.v1beta20200101.fakeresources.test.azure.com,admissionReviewVersions=v1 var _ admission.Defaulter = &FakeResource{} @@ -125,7 +125,7 @@ func (resource *FakeResource) Owner() *genruntime.ResourceReference { } } -// +kubebuilder:webhook:path=/validate-test-azure-com-v1beta20200101-fakeresource,mutating=false,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=test.azure.com,resources=fakeresources,verbs=create;update,versions=v1beta20200101,name=validate.v1beta20200101.fakeresources.test.azure.com,admissionReviewVersions=v1beta1 +// +kubebuilder:webhook:path=/validate-test-azure-com-v1beta20200101-fakeresource,mutating=false,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=test.azure.com,resources=fakeresources,verbs=create;update,versions=v1beta20200101,name=validate.v1beta20200101.fakeresources.test.azure.com,admissionReviewVersions=v1 var _ admission.Validator = &FakeResource{} diff --git a/v2/tools/generator/internal/codegen/testdata/ArmResource/Arm_test_simple_resource_map_properties_azure.golden b/v2/tools/generator/internal/codegen/testdata/ArmResource/Arm_test_simple_resource_map_properties_azure.golden index e42b317248..0ce6511aae 100644 --- a/v2/tools/generator/internal/codegen/testdata/ArmResource/Arm_test_simple_resource_map_properties_azure.golden +++ b/v2/tools/generator/internal/codegen/testdata/ArmResource/Arm_test_simple_resource_map_properties_azure.golden @@ -64,7 +64,7 @@ func (resource *FakeResource) ConvertTo(hub conversion.Hub) error { return resource.AssignPropertiesToFakeResource(destination) } -// +kubebuilder:webhook:path=/mutate-test-azure-com-v1beta20200101-fakeresource,mutating=true,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=test.azure.com,resources=fakeresources,verbs=create;update,versions=v1beta20200101,name=default.v1beta20200101.fakeresources.test.azure.com,admissionReviewVersions=v1beta1 +// +kubebuilder:webhook:path=/mutate-test-azure-com-v1beta20200101-fakeresource,mutating=true,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=test.azure.com,resources=fakeresources,verbs=create;update,versions=v1beta20200101,name=default.v1beta20200101.fakeresources.test.azure.com,admissionReviewVersions=v1 var _ admission.Defaulter = &FakeResource{} @@ -124,7 +124,7 @@ func (resource *FakeResource) Owner() *genruntime.ResourceReference { } } -// +kubebuilder:webhook:path=/validate-test-azure-com-v1beta20200101-fakeresource,mutating=false,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=test.azure.com,resources=fakeresources,verbs=create;update,versions=v1beta20200101,name=validate.v1beta20200101.fakeresources.test.azure.com,admissionReviewVersions=v1beta1 +// +kubebuilder:webhook:path=/validate-test-azure-com-v1beta20200101-fakeresource,mutating=false,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=test.azure.com,resources=fakeresources,verbs=create;update,versions=v1beta20200101,name=validate.v1beta20200101.fakeresources.test.azure.com,admissionReviewVersions=v1 var _ admission.Validator = &FakeResource{} diff --git a/v2/tools/generator/internal/codegen/testdata/ArmResource/Arm_test_simple_resource_renders_spec_azure.golden b/v2/tools/generator/internal/codegen/testdata/ArmResource/Arm_test_simple_resource_renders_spec_azure.golden index 1817a3cf05..5c90f6d7a5 100644 --- a/v2/tools/generator/internal/codegen/testdata/ArmResource/Arm_test_simple_resource_renders_spec_azure.golden +++ b/v2/tools/generator/internal/codegen/testdata/ArmResource/Arm_test_simple_resource_renders_spec_azure.golden @@ -64,7 +64,7 @@ func (resource *FakeResource) ConvertTo(hub conversion.Hub) error { return resource.AssignPropertiesToFakeResource(destination) } -// +kubebuilder:webhook:path=/mutate-test-azure-com-v1beta20200101-fakeresource,mutating=true,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=test.azure.com,resources=fakeresources,verbs=create;update,versions=v1beta20200101,name=default.v1beta20200101.fakeresources.test.azure.com,admissionReviewVersions=v1beta1 +// +kubebuilder:webhook:path=/mutate-test-azure-com-v1beta20200101-fakeresource,mutating=true,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=test.azure.com,resources=fakeresources,verbs=create;update,versions=v1beta20200101,name=default.v1beta20200101.fakeresources.test.azure.com,admissionReviewVersions=v1 var _ admission.Defaulter = &FakeResource{} @@ -124,7 +124,7 @@ func (resource *FakeResource) Owner() *genruntime.ResourceReference { } } -// +kubebuilder:webhook:path=/validate-test-azure-com-v1beta20200101-fakeresource,mutating=false,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=test.azure.com,resources=fakeresources,verbs=create;update,versions=v1beta20200101,name=validate.v1beta20200101.fakeresources.test.azure.com,admissionReviewVersions=v1beta1 +// +kubebuilder:webhook:path=/validate-test-azure-com-v1beta20200101-fakeresource,mutating=false,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=test.azure.com,resources=fakeresources,verbs=create;update,versions=v1beta20200101,name=validate.v1beta20200101.fakeresources.test.azure.com,admissionReviewVersions=v1 var _ admission.Validator = &FakeResource{} diff --git a/v2/tools/generator/internal/codegen/testdata/EmbeddedTypes/Embedded_type_simple_resource.golden b/v2/tools/generator/internal/codegen/testdata/EmbeddedTypes/Embedded_type_simple_resource.golden index ac5fc32498..3e40f9b203 100644 --- a/v2/tools/generator/internal/codegen/testdata/EmbeddedTypes/Embedded_type_simple_resource.golden +++ b/v2/tools/generator/internal/codegen/testdata/EmbeddedTypes/Embedded_type_simple_resource.golden @@ -64,7 +64,7 @@ func (resource *FakeResource) ConvertTo(hub conversion.Hub) error { return resource.AssignPropertiesToFakeResource(destination) } -// +kubebuilder:webhook:path=/mutate-test-azure-com-v1beta20200101-fakeresource,mutating=true,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=test.azure.com,resources=fakeresources,verbs=create;update,versions=v1beta20200101,name=default.v1beta20200101.fakeresources.test.azure.com,admissionReviewVersions=v1beta1 +// +kubebuilder:webhook:path=/mutate-test-azure-com-v1beta20200101-fakeresource,mutating=true,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=test.azure.com,resources=fakeresources,verbs=create;update,versions=v1beta20200101,name=default.v1beta20200101.fakeresources.test.azure.com,admissionReviewVersions=v1 var _ admission.Defaulter = &FakeResource{} @@ -124,7 +124,7 @@ func (resource *FakeResource) Owner() *genruntime.ResourceReference { } } -// +kubebuilder:webhook:path=/validate-test-azure-com-v1beta20200101-fakeresource,mutating=false,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=test.azure.com,resources=fakeresources,verbs=create;update,versions=v1beta20200101,name=validate.v1beta20200101.fakeresources.test.azure.com,admissionReviewVersions=v1beta1 +// +kubebuilder:webhook:path=/validate-test-azure-com-v1beta20200101-fakeresource,mutating=false,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=test.azure.com,resources=fakeresources,verbs=create;update,versions=v1beta20200101,name=validate.v1beta20200101.fakeresources.test.azure.com,admissionReviewVersions=v1 var _ admission.Validator = &FakeResource{} diff --git a/v2/tools/generator/internal/codegen/testdata/EnumNames/Multi_valued_enum_name.golden b/v2/tools/generator/internal/codegen/testdata/EnumNames/Multi_valued_enum_name.golden index b0db9ae87c..036796d13e 100644 --- a/v2/tools/generator/internal/codegen/testdata/EnumNames/Multi_valued_enum_name.golden +++ b/v2/tools/generator/internal/codegen/testdata/EnumNames/Multi_valued_enum_name.golden @@ -64,7 +64,7 @@ func (resource *AResource) ConvertTo(hub conversion.Hub) error { return resource.AssignPropertiesToAResource(destination) } -// +kubebuilder:webhook:path=/mutate-test-azure-com-v1beta20200101-aresource,mutating=true,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=test.azure.com,resources=aresources,verbs=create;update,versions=v1beta20200101,name=default.v1beta20200101.aresources.test.azure.com,admissionReviewVersions=v1beta1 +// +kubebuilder:webhook:path=/mutate-test-azure-com-v1beta20200101-aresource,mutating=true,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=test.azure.com,resources=aresources,verbs=create;update,versions=v1beta20200101,name=default.v1beta20200101.aresources.test.azure.com,admissionReviewVersions=v1 var _ admission.Defaulter = &AResource{} @@ -124,7 +124,7 @@ func (resource *AResource) Owner() *genruntime.ResourceReference { } } -// +kubebuilder:webhook:path=/validate-test-azure-com-v1beta20200101-aresource,mutating=false,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=test.azure.com,resources=aresources,verbs=create;update,versions=v1beta20200101,name=validate.v1beta20200101.aresources.test.azure.com,admissionReviewVersions=v1beta1 +// +kubebuilder:webhook:path=/validate-test-azure-com-v1beta20200101-aresource,mutating=false,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=test.azure.com,resources=aresources,verbs=create;update,versions=v1beta20200101,name=validate.v1beta20200101.aresources.test.azure.com,admissionReviewVersions=v1 var _ admission.Validator = &AResource{} diff --git a/v2/tools/generator/internal/codegen/testdata/EnumNames/Single_valued_enum_name.golden b/v2/tools/generator/internal/codegen/testdata/EnumNames/Single_valued_enum_name.golden index 3f7d64366b..06c7860169 100644 --- a/v2/tools/generator/internal/codegen/testdata/EnumNames/Single_valued_enum_name.golden +++ b/v2/tools/generator/internal/codegen/testdata/EnumNames/Single_valued_enum_name.golden @@ -64,7 +64,7 @@ func (resource *AResource) ConvertTo(hub conversion.Hub) error { return resource.AssignPropertiesToAResource(destination) } -// +kubebuilder:webhook:path=/mutate-test-azure-com-v1beta20200101-aresource,mutating=true,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=test.azure.com,resources=aresources,verbs=create;update,versions=v1beta20200101,name=default.v1beta20200101.aresources.test.azure.com,admissionReviewVersions=v1beta1 +// +kubebuilder:webhook:path=/mutate-test-azure-com-v1beta20200101-aresource,mutating=true,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=test.azure.com,resources=aresources,verbs=create;update,versions=v1beta20200101,name=default.v1beta20200101.aresources.test.azure.com,admissionReviewVersions=v1 var _ admission.Defaulter = &AResource{} @@ -117,7 +117,7 @@ func (resource *AResource) Owner() *genruntime.ResourceReference { } } -// +kubebuilder:webhook:path=/validate-test-azure-com-v1beta20200101-aresource,mutating=false,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=test.azure.com,resources=aresources,verbs=create;update,versions=v1beta20200101,name=validate.v1beta20200101.aresources.test.azure.com,admissionReviewVersions=v1beta1 +// +kubebuilder:webhook:path=/validate-test-azure-com-v1beta20200101-aresource,mutating=false,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=test.azure.com,resources=aresources,verbs=create;update,versions=v1beta20200101,name=validate.v1beta20200101.aresources.test.azure.com,admissionReviewVersions=v1 var _ admission.Validator = &AResource{} diff --git a/v2/tools/generator/internal/functions/kubernetes_admissions_defaulter.go b/v2/tools/generator/internal/functions/kubernetes_admissions_defaulter.go index 3e539c6dbf..860727d950 100644 --- a/v2/tools/generator/internal/functions/kubernetes_admissions_defaulter.go +++ b/v2/tools/generator/internal/functions/kubernetes_admissions_defaulter.go @@ -69,7 +69,7 @@ func (d *DefaulterBuilder) ToInterfaceImplementation() *astmodel.InterfaceImplem annotation := fmt.Sprintf( "+kubebuilder:webhook:path=%s,mutating=true,sideEffects=None,"+ "matchPolicy=Exact,failurePolicy=fail,groups=%s,resources=%s,"+ - "verbs=create;update,versions=%s,name=%s,admissionReviewVersions=v1beta1", + "verbs=create;update,versions=%s,name=%s,admissionReviewVersions=v1", path, group, resource, diff --git a/v2/tools/generator/internal/functions/kubernetes_admissions_validator.go b/v2/tools/generator/internal/functions/kubernetes_admissions_validator.go index 4773f8e9a6..3254241a20 100644 --- a/v2/tools/generator/internal/functions/kubernetes_admissions_validator.go +++ b/v2/tools/generator/internal/functions/kubernetes_admissions_validator.go @@ -84,7 +84,7 @@ func (v *ValidatorBuilder) ToInterfaceImplementation() *astmodel.InterfaceImplem annotation := fmt.Sprintf( "+kubebuilder:webhook:path=%s,mutating=false,sideEffects=None,"+ "matchPolicy=Exact,failurePolicy=fail,groups=%s,resources=%s,"+ - "verbs=create;update,versions=%s,name=%s,admissionReviewVersions=v1beta1", + "verbs=create;update,versions=%s,name=%s,admissionReviewVersions=v1", path, group, resource,