Skip to content

Commit 22b547b

Browse files
benabineriKaizhe
authored andcommitted
Fix typo hostMetwork -> hostNetwork (#22)
* Update securityspec.go * Update README.MD
1 parent ea58ded commit 22b547b

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

README.MD

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ Command: `./kube-psp-advisor --namespace=psp-test --report | jq .podSecuritySpec
8585
},
8686
"namespace": "psp-test",
8787
"hostPID": true,
88-
"hostMetwork": true,
88+
"hostNetwork": true,
8989
"hostIPC": true,
9090
"volumeTypes": [
9191
"configMap"
@@ -114,7 +114,7 @@ Command: `./kube-psp-advisor --namespace=psp-test --report | jq .podSecuritySpec
114114
},
115115
"namespace": "psp-test",
116116
"hostPID": true,
117-
"hostMetwork": true,
117+
"hostNetwork": true,
118118
"hostIPC": true,
119119
"volumeTypes": [
120120
"configMap"
@@ -126,7 +126,7 @@ Command: `./kube-psp-advisor --namespace=psp-test --report | jq .podSecuritySpec
126126
"kind": "Pod"
127127
},
128128
"namespace": "psp-test",
129-
"hostMetwork": true,
129+
"hostNetwork": true,
130130
"volumeTypes": [
131131
"hostPath",
132132
"secret"

advisor/types/securityspec.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ type PodSecuritySpec struct {
6363
Metadata Metadata `json:"metadata"`
6464
Namespace string `json:"namespace"`
6565
HostPID bool `json:"hostPID,omitempty"`
66-
HostNetwork bool `json:"hostMetwork,omitempty"`
66+
HostNetwork bool `json:"hostNetwork,omitempty"`
6767
HostIPC bool `json:"hostIPC,omitempty"`
6868
VolumeTypes []string `json:"volumeTypes,omitempty"`
6969
MountHostPaths map[string]bool `json:"mountedHostPath,omitempty"`

0 commit comments

Comments
 (0)