Skip to content

Commit

Permalink
Fix typo hostMetwork -> hostNetwork (#22)
Browse files Browse the repository at this point in the history
* Update securityspec.go

* Update README.MD
  • Loading branch information
benabineri authored and Kaizhe committed Aug 15, 2019
1 parent ea58ded commit 22b547b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions README.MD
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ Command: `./kube-psp-advisor --namespace=psp-test --report | jq .podSecuritySpec
},
"namespace": "psp-test",
"hostPID": true,
"hostMetwork": true,
"hostNetwork": true,
"hostIPC": true,
"volumeTypes": [
"configMap"
Expand Down Expand Up @@ -114,7 +114,7 @@ Command: `./kube-psp-advisor --namespace=psp-test --report | jq .podSecuritySpec
},
"namespace": "psp-test",
"hostPID": true,
"hostMetwork": true,
"hostNetwork": true,
"hostIPC": true,
"volumeTypes": [
"configMap"
Expand All @@ -126,7 +126,7 @@ Command: `./kube-psp-advisor --namespace=psp-test --report | jq .podSecuritySpec
"kind": "Pod"
},
"namespace": "psp-test",
"hostMetwork": true,
"hostNetwork": true,
"volumeTypes": [
"hostPath",
"secret"
Expand Down
2 changes: 1 addition & 1 deletion advisor/types/securityspec.go
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ type PodSecuritySpec struct {
Metadata Metadata `json:"metadata"`
Namespace string `json:"namespace"`
HostPID bool `json:"hostPID,omitempty"`
HostNetwork bool `json:"hostMetwork,omitempty"`
HostNetwork bool `json:"hostNetwork,omitempty"`
HostIPC bool `json:"hostIPC,omitempty"`
VolumeTypes []string `json:"volumeTypes,omitempty"`
MountHostPaths map[string]bool `json:"mountedHostPath,omitempty"`
Expand Down

0 comments on commit 22b547b

Please sign in to comment.