Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merge the tutorials under tutorials->clusters into tutorials->security #31014

Merged
merged 2 commits into from
Jan 9, 2022
Merged

Merge the tutorials under tutorials->clusters into tutorials->security #31014

merged 2 commits into from
Jan 9, 2022

Conversation

Babapool
Copy link
Member

Fixes #30778

It moves the move the tutorials under https://github.com/kubernetes/website/tree/main/content/en/docs/tutorials/clusters into https://github.com/kubernetes/website/tree/main/content/en/docs/tutorials/security

The Clusters section is merged into the Security section here: https://github.com/kubernetes/website/blob/main/content/en/docs/tutorials/_index.md
Based on the suggestion made in the PR comment : #30422 (review)

Also redirects of the tutorial has been made to their new location ( Since this is my first PR working with redirects and involves moving of files, appreciate all the feedback)

Signed by : Vitthal Sai vitthalsai2001@gmail.com

@k8s-ci-robot k8s-ci-robot added cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. size/S Denotes a PR that changes 10-29 lines, ignoring generated files. labels Dec 17, 2021
@k8s-ci-robot k8s-ci-robot added the sig/docs Categorizes an issue or PR as relevant to SIG Docs. label Dec 17, 2021
@netlify
Copy link

netlify bot commented Dec 17, 2021

✔️ Deploy Preview for kubernetes-io-main-staging ready!

🔨 Explore the source changes: cb9a103

🔍 Inspect the deploy log: https://app.netlify.com/sites/kubernetes-io-main-staging/deploys/61db55dc3a076700077eca9a

😎 Browse the preview: https://deploy-preview-31014--kubernetes-io-main-staging.netlify.app

@Babapool
Copy link
Member Author

Hi @shannonxtreme @daminisatya can you PTAL at this PR when you are free. Thanks

@reylejano
Copy link
Member

Preview of updated page:
https://deploy-preview-31014--kubernetes-io-main-staging.netlify.app/docs/tutorials/

Redirects in the preview are working

/lgtm

@k8s-ci-robot k8s-ci-robot added the lgtm "Looks good to me", indicates that a PR is ready to be merged. label Dec 27, 2021
@k8s-ci-robot
Copy link
Contributor

LGTM label has been added.

Git tree hash: c9d90bad61517c4a7a6b47fcc5de462efd3ae528

@annajung
Copy link
Contributor

annajung commented Jan 5, 2022

/lgtm
/sig security

leaving approval for @sftim

@k8s-ci-robot k8s-ci-robot added the sig/security Categorizes an issue or PR as relevant to SIG Security. label Jan 5, 2022
Copy link
Contributor

@sftim sftim left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/approve

Comment on lines 550 to 551
/docs/tutorials/clusters/apparmor/ /docs/tutorials/security/apparmor/ 301
/docs/tutorials/clusters/seccomp/ /docs/tutorials/security/seccomp/ 301
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: I'd usually put this before the localization-specific redirects.

@k8s-ci-robot k8s-ci-robot added approved Indicates a PR has been approved by an approver from all required OWNERS files. needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. labels Jan 5, 2022
@sftim
Copy link
Contributor

sftim commented Jan 5, 2022

Oh, merge conflict?

@Babapool would you like help fixing that?

@Babapool
Copy link
Member Author

Babapool commented Jan 6, 2022

Yes please, I would definitely love the help in fixing this merge conflict. Thank you @sftim. (Also will you be able to tell me more about this conflict because when I opened the PR GitHub told me it can be merged, thanks.)

@Babapool
Copy link
Member Author

Babapool commented Jan 6, 2022

Also I can push the nit changes only after the merge conflict is resolved? @sftim

@annajung
Copy link
Contributor

annajung commented Jan 7, 2022

Hi @Babapool, merge conflicts happen when another contributor changes to the same file/ line of a file. In this case, looks like conflict may be in the static/_redirects file.

Try following the steps outlined in the merge conflict and rebasing and if you have any questions, feel free to reach out in #sig-docs slack channel

@Babapool
Copy link
Member Author

Babapool commented Jan 8, 2022

Hi @annajung, I will try to follow the steps outline and in case of any doubts I will surely reach out in the slack channel. Thanks

@k8s-ci-robot k8s-ci-robot added size/XXL Denotes a PR that changes 1000+ lines, ignoring generated files. area/blog Issues or PRs related to the Kubernetes Blog subproject area/release-eng Issues or PRs related to the Release Engineering subproject language/es Issues or PRs related to Spanish language language/fr Issues or PRs related to French language and removed lgtm "Looks good to me", indicates that a PR is ready to be merged. needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. size/S Denotes a PR that changes 10-29 lines, ignoring generated files. labels Jan 8, 2022
@sftim
Copy link
Contributor

sftim commented Jan 8, 2022

With your permission @Babapool I can fix this one up for you and push the squashed change to your fork.

https://kubernetes.io/docs/contribute/new-content/open-a-pr/#squashing-commits covers how to do a squash; for learning how to rebase in general, I'd look to the wider internet for a guide / book / video that fits your level of Git experience.

@Babapool
Copy link
Member Author

Babapool commented Jan 8, 2022

@sftim Thank you, it would be really great if you could handle this one for me. I'll read up on this more so that I can handle such situations in a better manner next time. Thanks again!

@k8s-ci-robot k8s-ci-robot added size/S Denotes a PR that changes 10-29 lines, ignoring generated files. and removed size/XXL Denotes a PR that changes 1000+ lines, ignoring generated files. labels Jan 9, 2022
@sftim
Copy link
Contributor

sftim commented Jan 9, 2022

Try that!

@sftim
Copy link
Contributor

sftim commented Jan 9, 2022

/remove-area blog
/remove-area release-eng
/remove-language es
/remove-language fr
/remove-language id
/remove-language it
/remove-language ja
/remove-language ko
/remove-language pt
/remove-language ru
/remove-language zh
/remove-sig release
/remove-sig security

@k8s-ci-robot k8s-ci-robot removed area/blog Issues or PRs related to the Kubernetes Blog subproject area/release-eng Issues or PRs related to the Release Engineering subproject language/es Issues or PRs related to Spanish language language/fr Issues or PRs related to French language language/id Issues or PRs related to Indonesian language language/it Issues or PRs related to Italian language language/ja Issues or PRs related to Japanese language language/ko Issues or PRs related to Korean language language/pt Issues or PRs related to Portuguese language language/ru Issues or PRs related to Russian language language/zh Issues or PRs related to Chinese language sig/release Categorizes an issue or PR as relevant to SIG Release. sig/security Categorizes an issue or PR as relevant to SIG Security. labels Jan 9, 2022
@sftim
Copy link
Contributor

sftim commented Jan 9, 2022

/approve

Co-Authored-By: Tim Bannister <tim@scalefactory.com>
@sftim
Copy link
Contributor

sftim commented Jan 9, 2022

/approve cancel
/lgtm

@k8s-ci-robot k8s-ci-robot added the lgtm "Looks good to me", indicates that a PR is ready to be merged. label Jan 9, 2022
@k8s-ci-robot
Copy link
Contributor

LGTM label has been added.

Git tree hash: c389793990610adfee0365074f5def07a8b4754c

@k8s-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: sftim

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@k8s-ci-robot k8s-ci-robot merged commit 05c913e into kubernetes:main Jan 9, 2022
@Babapool
Copy link
Member Author

Hi @sftim, Thank you once again for handling this one for me. Hope to handle such cases better next time.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. language/en Issues or PRs related to English language lgtm "Looks good to me", indicates that a PR is ready to be merged. sig/docs Categorizes an issue or PR as relevant to SIG Docs. size/S Denotes a PR that changes 10-29 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Merge tutorials->clusters into tutorials->security
5 participants