Commit Graph

47 Commits (5ac9411865713f0585c22c0661c0a750dab98d11)

Author SHA1 Message Date
Tim Bannister 3c8df5ea55 Mention that cluster-level PSA config might not be possible
Some managed clusters don't let you configure PSA cluster wide, and
users might not realize this unless we tell them.
2023-03-02 22:39:41 +00:00
Tim Bannister c9640ebc32 Make it clear that PSA example Pods do start OK
The reader sees a warning, but the Pods do run. That detail might not be
obvious otherwise.
2023-03-02 22:39:41 +00:00
Tim Bannister a39ee496fe Tidy PSA tutorials
Various tidying to match website style guide better.
2023-03-02 22:39:41 +00:00
Tim Bannister 25a926e465 Assume that kind provides Pod Security Admission
Given that Pod Security Admission has been beta and then generally
available for a while, assume that kind gives the reader a cluster than
includes this feature.
2023-03-02 22:39:41 +00:00
Tim Bannister c38e5c00fb Avoid creating local manifest for PSA tutorials
The kubectl tool includes a client for fetching manifests using HTTP,
and we usually rely on that for tutorials. Switch to an approach where
we don't create a manifest on the filesystem and then apply that.
2023-03-02 22:39:41 +00:00
Kubernetes Prow Robot 24cde2766a
Merge pull request #39103 from windsonsea/lvlpss
Fix indentations in cluster-level-pss.md
2023-01-27 02:44:26 -08:00
Michael bfc82d5f9f Fix indentations in cluster-level-pss.md 2023-01-27 11:04:26 +08:00
shubham82 9ae7378b1a Resolved nit. 2023-01-26 11:43:25 +09:00
shubham82 07995d0fab Improved the content Flow. 2023-01-26 11:26:52 +09:00
shubham82 d3e7c23d07 Improvement: Added shell code block snippet to the commands. 2023-01-23 16:38:22 +09:00
Abigail McCarthy 06b957d01d Update page weights in tutorial/security section 2023-01-10 11:42:58 -05:00
Parthava Adabala aa08044428
Fix: Grammar
Corrected subject verb disagreement.
2022-10-25 17:32:10 +05:30
Thomas Balthazar 0e31a40737
Update deprecated kubectl command in apparmor doc
Running `kubectl exec <pod_name> <command>` is deprecated:
```
kubectl exec [POD] [COMMAND] is DEPRECATED and will be removed in a future version. Use kubectl exec [POD] -- [COMMAND] instead
```
It should be: `kubectl exec <pod_name> -- <command>`
2022-10-08 11:31:58 +02:00
Kubernetes Prow Robot 031f87ed5f
Merge pull request #36501 from liggitt/podsecurity-ga
Update pod security configuration docs for v1
2022-09-20 07:23:20 -07:00
Alex Pakalniskis 61ce6e27ef
Fix cluster cleanup command 2022-09-10 12:28:01 -07:00
Kubernetes Prow Robot 3b1fe5b658
Merge pull request #35217 from tengfei86/patch-3
Revise use of jsonpath in AppArmor tutorial
2022-09-07 09:40:38 -07:00
Jordan Liggitt 7eba57d4de
Update pod security configuration docs for v1 2022-09-01 17:29:53 -04:00
carolina valencia 6810fa976d Merge remote-tracking branch 'upstream/main' into dev-1.25 2022-08-18 15:58:41 -03:00
Kubernetes Prow Robot b268418615
Merge pull request #33524 from saschagrunert/seccomp-annotation
Partly remove support for seccomp annotations
2022-08-15 19:15:07 -07:00
Jordan Liggitt b167938367 Scrub PSP docs for 1.25 2022-08-15 21:09:41 -04:00
ydFu 8183d5a62d Fix the extra '{' or '}'
Signed-off-by: ydFu <ader.ydfu@gmail.com>
2022-08-14 15:36:13 +08:00
windsonsea c09bf07d6c updated /tutorials/security/seccomp.md 2022-08-13 10:48:09 +08:00
William Steinford d6a1ba2a6d Fix the grammar by using the verb form 'set up' where appropriate instead of the noun 'setup' 2022-08-08 16:48:26 -04:00
Sascha Grunert 45d0bdeaec
Partly remove support for seccomp annotations
From the release notes of
https://github.com/kubernetes/kubernetes/pull/109819, we have to update
according to the following situation:

```
Action required: support for the alpha seccomp annotations
`seccomp.security.alpha.kubernetes.io/pod` and
`container.seccomp.security.alpha.kubernetes.io`, deprecated since
v1.19, has been partially removed. Kubelets no longer support the
annotations, use of the annotations in static pods is no longer
supported, and the seccomp annotations are no longer auto-populated when
pods with seccomp fields are created. Auto-population of the seccomp
fields from the annotations is planned to be removed in 1.27. Pods
should use the corresponding pod or container
`securityContext.seccompProfile` field instead.
```

Signed-off-by: Sascha Grunert <sgrunert@redhat.com>
2022-08-02 13:42:23 +02:00
bladepoint f312e8ba9f
Update apparmor.md
this is a  better way to use jsonpath
2022-07-21 16:41:16 +08:00
Sascha Grunert 641a8e2c0c
Improve 'Seccomp defaulting' feature name
We're now rephrasing those two paragraphs to avoid confusing readers.

Signed-off-by: Sascha Grunert <sgrunert@redhat.com>
2022-07-19 09:03:20 +02:00
Kubernetes Prow Robot 6effba1cae
Merge pull request #34640 from saschagrunert/seccomp-default-beta
Graduate SeccompDefault feature to beta
2022-07-16 06:52:53 -07:00
Qiming Teng 2f4a067fea Batch fix links (4) 2022-07-06 09:43:15 +08:00
Kubernetes Prow Robot e6868ba8d3
Merge pull request #34721 from Sea-n/use-rel-links
Use relative links for k8s.io
2022-07-04 06:33:24 -07:00
Vitthal Sai 6ca9bb94cc
Manually code image tag 2022-06-30 19:26:56 +05:30
Sean Wei 34721abcac Use relative links for k8s.io 2022-06-30 12:08:14 +08:00
Sascha Grunert 5d66e4b0d2
Graduate SeccompDefault feature to beta
We now update the documentation to reflect the current state of the
feature.

Refers to: https://github.com/kubernetes/enhancements/issues/2413

Signed-off-by: Sascha Grunert <sgrunert@redhat.com>
Co-authored-by: Tim Bannister <tim@scalefactory.com>
Signed-off-by: Sascha Grunert <sgrunert@redhat.com>
2022-06-29 15:31:48 +02:00
Vitthal Sai d463ee0826
Document pss at cluster level for recent release 2022-06-27 23:18:20 +05:30
Tim Bannister 672813f3e7
Move PSP into Security concepts section
The logical navigation definitely works better if Pod Security admission
and PodSecurityPolicy are pages in the same section. Make It So.

Co-authored-by: Rey Lejano <rlejano@gmail.com>
2022-03-30 17:30:35 +01:00
Kubernetes Prow Robot 39fd63ba12
Merge pull request #31989 from guettli/31930__fix_busybox_image_1.28
fix busybox image to version 1.28
2022-03-25 15:45:59 -07:00
Noppadol ba8ab6238b
Fix link in cluster-level-pss.md
Missing a "/" for the link to [Pod Security Standards]
2022-03-14 17:58:26 +07:00
Kubernetes Prow Robot 74c9374435
Merge pull request #32157 from tallclair/apparmor
Make the AppArmor docs more runtime agnostic
2022-03-11 21:32:23 -08:00
Tim Allclair 82a1d9c704 Make the AppArmor docs more runtime agnostic 2022-03-09 15:10:15 -08:00
Thomas Guettler 7122a4498a fix busybox image to 1.28 (issues with `nslookup`).
Changes where done with these commands:

reprec 'image: busybox(?!:)' 'image: busybox:1.28' */docs */examples
reprec -- '--image=busybox(?!:)' '--image=busybox:1.28' */docs */examples

Related issues:

 https://github.com/docker-library/busybox/issues/48
 https://github.com/kubernetes/kubernetes/issues/66924
2022-03-02 20:48:26 +01:00
Qiming Teng 459a3f96ac Fix links and markdown format for some pages 2022-02-05 15:19:21 +08:00
Sascha Grunert 4074c2e7c3
Improve SeccompDefault documentation
- Highlight that we do not change the Kubernetes API and how to verify
  the used seccomp profile
- Fix the kind configuration and enhance the example with a custom
  workload.

Signed-off-by: Sascha Grunert <sgrunert@redhat.com>
2022-01-27 10:09:18 +01:00
Babapool ec94e69c4e Merge the tutorials under tutorials->clusters into tutorials->security 2022-01-09 21:31:20 +00:00
Kubernetes Prow Robot d9545116cd
Merge pull request #31184 from CodingCanuck/patch-3
Fix kind delete cluster commands
2022-01-04 09:10:52 -08:00
Alex McCarthy 90970b7b73
Fix kind delete cluster commands
The name flag requires two leading dashes, not one.
2022-01-03 07:17:52 -10:00
Alex McCarthy 6b4cbac16c
Remove trailing whitespace to fix command pasting 2022-01-03 07:03:52 -10:00
Pushkar Joglekar d1e25451d3 Added shell script examples
Fixed nits, broken links and numbering

Co-authored-by: Tim Bannister <tim@scalefactory.com>
Co-authored-by: Shannon Kularathna <ax3shannonkularathna@gmail.com>
Co-authored-by: Jim Angel <jimangel@users.noreply.github.com>
2021-12-08 10:41:55 +05:30
Pushkar Joglekar d29e93acbb Tutorial for pod security admission
Refer blog post for v1.23 + suggestions from code review
2021-12-08 10:41:25 +05:30