Update admission review version (#1893)
* Update admission review verstion to v1 * Update to newer envtest setup, remove Kubebuilder * Make Dockerfile work for any UID/GID Co-authored-by: Matthew Christopher <matthchr@users.noreply.github.com>
This commit is contained in:
Родитель
dadf1b08b6
Коммит
b91ee9223f
|
@ -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 <x>, 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
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
9
dev.sh
9
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."
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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{}
|
||||
|
||||
|
|
|
@ -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{}
|
||||
|
||||
|
|
|
@ -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{}
|
||||
|
||||
|
|
|
@ -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{}
|
||||
|
||||
|
|
|
@ -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{}
|
||||
|
||||
|
|
|
@ -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{}
|
||||
|
||||
|
|
|
@ -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{}
|
||||
|
||||
|
|
|
@ -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{}
|
||||
|
||||
|
|
|
@ -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{}
|
||||
|
||||
|
|
|
@ -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{}
|
||||
|
||||
|
|
|
@ -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{}
|
||||
|
||||
|
|
|
@ -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{}
|
||||
|
||||
|
|
|
@ -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{}
|
||||
|
||||
|
|
|
@ -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{}
|
||||
|
||||
|
|
|
@ -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{}
|
||||
|
||||
|
|
|
@ -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{}
|
||||
|
||||
|
|
|
@ -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{}
|
||||
|
||||
|
|
|
@ -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{}
|
||||
|
||||
|
|
|
@ -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{}
|
||||
|
||||
|
|
|
@ -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{}
|
||||
|
||||
|
|
|
@ -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{}
|
||||
|
||||
|
|
|
@ -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{}
|
||||
|
||||
|
|
|
@ -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{}
|
||||
|
||||
|
|
|
@ -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{}
|
||||
|
||||
|
|
|
@ -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{}
|
||||
|
||||
|
|
|
@ -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{}
|
||||
|
||||
|
|
|
@ -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{}
|
||||
|
||||
|
|
|
@ -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{}
|
||||
|
||||
|
|
|
@ -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{}
|
||||
|
||||
|
|
|
@ -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{}
|
||||
|
||||
|
|
|
@ -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{}
|
||||
|
||||
|
|
|
@ -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{}
|
||||
|
||||
|
|
|
@ -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{}
|
||||
|
||||
|
|
|
@ -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{}
|
||||
|
||||
|
|
|
@ -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{}
|
||||
|
||||
|
|
|
@ -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{}
|
||||
|
||||
|
|
|
@ -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{}
|
||||
|
||||
|
|
|
@ -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{}
|
||||
|
||||
|
|
|
@ -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{}
|
||||
|
||||
|
|
|
@ -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{}
|
||||
|
||||
|
|
|
@ -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{}
|
||||
|
||||
|
|
|
@ -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{}
|
||||
|
||||
|
|
|
@ -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{}
|
||||
|
||||
|
|
|
@ -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{}
|
||||
|
||||
|
|
|
@ -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{}
|
||||
|
||||
|
|
|
@ -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{}
|
||||
|
||||
|
|
|
@ -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{}
|
||||
|
||||
|
|
|
@ -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{}
|
||||
|
||||
|
|
|
@ -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{}
|
||||
|
||||
|
|
|
@ -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{}
|
||||
|
||||
|
|
|
@ -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{}
|
||||
|
||||
|
|
|
@ -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{}
|
||||
|
||||
|
|
|
@ -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{}
|
||||
|
||||
|
|
|
@ -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{}
|
||||
|
||||
|
|
|
@ -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{}
|
||||
|
||||
|
|
|
@ -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{}
|
||||
|
||||
|
|
|
@ -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{}
|
||||
|
||||
|
|
|
@ -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{}
|
||||
|
||||
|
|
|
@ -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{}
|
||||
|
||||
|
|
|
@ -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{}
|
||||
|
||||
|
|
|
@ -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{}
|
||||
|
||||
|
|
|
@ -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{}
|
||||
|
||||
|
|
|
@ -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{}
|
||||
|
||||
|
|
|
@ -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{}
|
||||
|
||||
|
|
|
@ -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{}
|
||||
|
||||
|
|
|
@ -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{}
|
||||
|
||||
|
|
|
@ -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{}
|
||||
|
||||
|
|
|
@ -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{}
|
||||
|
||||
|
|
|
@ -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{}
|
||||
|
||||
|
|
|
@ -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{}
|
||||
|
||||
|
|
|
@ -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{}
|
||||
|
||||
|
|
|
@ -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{}
|
||||
|
||||
|
|
|
@ -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{}
|
||||
|
||||
|
|
|
@ -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{}
|
||||
|
||||
|
|
|
@ -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{}
|
||||
|
||||
|
|
|
@ -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{}
|
||||
|
||||
|
|
|
@ -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{}
|
||||
|
||||
|
|
|
@ -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{}
|
||||
|
||||
|
|
|
@ -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{}
|
||||
|
||||
|
|
|
@ -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{}
|
||||
|
||||
|
|
|
@ -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{}
|
||||
|
||||
|
|
|
@ -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{}
|
||||
|
||||
|
|
|
@ -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{}
|
||||
|
||||
|
|
|
@ -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{}
|
||||
|
||||
|
|
|
@ -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{}
|
||||
|
||||
|
|
|
@ -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{}
|
||||
|
||||
|
|
|
@ -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{}
|
||||
|
||||
|
|
|
@ -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{}
|
||||
|
||||
|
|
|
@ -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{}
|
||||
|
||||
|
|
|
@ -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{}
|
||||
|
||||
|
|
|
@ -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{}
|
||||
|
||||
|
|
|
@ -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{}
|
||||
|
||||
|
|
|
@ -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{}
|
||||
|
||||
|
|
|
@ -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{}
|
||||
|
||||
|
|
|
@ -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{}
|
||||
|
||||
|
|
|
@ -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{}
|
||||
|
||||
|
|
Некоторые файлы не были показаны из-за слишком большого количества измененных файлов Показать больше
Загрузка…
Ссылка в новой задаче