Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 0 additions & 4 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -119,8 +119,6 @@ build-installer: manifests generate kustomize ## Generate a consolidated YAML wi
mkdir -p dist
cd config/manager && $(KUSTOMIZE) edit set image controller=${IMG}
$(KUSTOMIZE) build config/default > dist/install.yaml
printf '\n---\n' >> dist/install.yaml
$(KUSTOMIZE) build config/admission >> dist/install.yaml

##@ Deployment

Expand All @@ -140,11 +138,9 @@ uninstall: manifests kustomize ## Uninstall CRDs from the K8s cluster specified
deploy: manifests kustomize ## Deploy controller to the K8s cluster specified in ~/.kube/config.
cd config/manager && $(KUSTOMIZE) edit set image controller=${IMG}
$(KUSTOMIZE) build config/default | $(KUBECTL) apply -f -
$(KUSTOMIZE) build config/admission | $(KUBECTL) apply -f -

.PHONY: undeploy
undeploy: kustomize ## Undeploy controller from the K8s cluster specified in ~/.kube/config. Call with ignore-not-found=true to ignore resource not found errors during deletion.
$(KUSTOMIZE) build config/admission | $(KUBECTL) delete --ignore-not-found=$(ignore-not-found) -f -
$(KUSTOMIZE) build config/default | $(KUBECTL) delete --ignore-not-found=$(ignore-not-found) -f -

.PHONY: helm-generate
Expand Down
6 changes: 0 additions & 6 deletions config/admission/kustomization.yaml

This file was deleted.

5 changes: 0 additions & 5 deletions config/admission/kustomizeconfig.yaml

This file was deleted.

69 changes: 0 additions & 69 deletions config/admission/validatingadmissionpolicy.yaml

This file was deleted.

265 changes: 0 additions & 265 deletions config/admission/validatingadmissionpolicy_test.go

This file was deleted.

9 changes: 0 additions & 9 deletions deploy/parameter/helm-values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,15 +22,6 @@ workloadIdentity:
enabled: true
globalServiceAccountEnabled: false

# On Kubernetes 1.30 or later, the default actions deny unauthorized
# ServiceAccount references and record the denial in the Kubernetes audit log.
# The policy is not installed on earlier Kubernetes versions.
serviceAccountAuthorization:
enabled: true
validationActions:
- Deny
- Audit

serviceAccount:
# Specifies whether a service account should be created
create: true
Expand Down
Loading
Loading