Skip to content

Commit

Permalink
Rename podsecuritypolicies addon to pod-security-policy
Browse files Browse the repository at this point in the history
  • Loading branch information
colvin committed Jun 18, 2020
1 parent b32cb5e commit 3d2ae54
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion pkg/addons/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ var Addons = []*Addon{
callbacks: []setFn{enableOrDisableAddon},
},
{
name: "podsecuritypolicies",
name: "pod-security-policy",
set: SetBool,
callbacks: []setFn{enableOrDisableAddon},
},
Expand Down
8 changes: 4 additions & 4 deletions pkg/minikube/assets/addons.go
Original file line number Diff line number Diff line change
Expand Up @@ -81,14 +81,14 @@ var Addons = map[string]*Addon{
"0640",
false),
}, true, "default-storageclass"),
"podsecuritypolicies": NewAddon([]*BinAsset{
"pod-security-policy": NewAddon([]*BinAsset{
MustBinAsset(
"deploy/addons/podsecuritypolicies/podsecuritypolicies.yaml.tmpl",
"deploy/addons/pod-security-policy/pod-security-policy.yaml.tmpl",
vmpath.GuestAddonsDir,
"podsecuritypolicies.yaml",
"pod-security-policy.yaml",
"0640",
false),
}, false, "podsecuritypolicies"),
}, false, "pod-security-policy"),
"storage-provisioner": NewAddon([]*BinAsset{
MustBinAsset(
"deploy/addons/storage-provisioner/storage-provisioner.yaml.tmpl",
Expand Down

0 comments on commit 3d2ae54

Please sign in to comment.