From 23dbd7cab62eb78f935bb3eb1ecf60b996ff94ee Mon Sep 17 00:00:00 2001 From: Matt Moyer Date: Thu, 1 Apr 2021 10:43:03 -0500 Subject: [PATCH] Extract out a common shortcode for the "join the community" blurb we put at the end of each blog post. Signed-off-by: Matt Moyer --- .../content/posts/2020-11-12-a-seal-of-approval.md | 10 +--------- .../content/posts/2021-02-04-multiple-pinnipeds.md | 12 +----------- .../2021-04-01-concierge-on-managed-clusters.md | 13 +------------ .../pinniped/layouts/shortcodes/community.html | 14 ++++++++++++++ 4 files changed, 17 insertions(+), 32 deletions(-) create mode 100644 site/themes/pinniped/layouts/shortcodes/community.html diff --git a/site/content/posts/2020-11-12-a-seal-of-approval.md b/site/content/posts/2020-11-12-a-seal-of-approval.md index de93e6fd..0f14eecb 100644 --- a/site/content/posts/2020-11-12-a-seal-of-approval.md +++ b/site/content/posts/2020-11-12-a-seal-of-approval.md @@ -58,12 +58,4 @@ From contributing code to uploading documentation to sharing how you’d like to As to where the name “pinniped” come from - Pinnipeds are marine mammals that have front and rear flippers, such as seals. A “seal” is also a mark of authenticity. And that’s what Pinniped hopes to be: a seal or mark of authenticity across and between Kubernetes clusters. -### Join the Pinniped community - -- Follow us on Twitter at [@projectpinniped](https://twitter.com/projectpinniped) -- Join our Kubernetes Slack channel so you can talk to project maintainers and other community members: [#pinniped](https://go.pinniped.dev/community/slack) -- Join our [Google Group](https://go.pinniped.dev/community/group) to get updates on the project and invites to community meetings - -Join the [Pinniped Community Meetings](https://go.pinniped.dev/community), which are held every first and third Thursday at 9am PT via [Zoom](https://go.pinniped.dev/community/zoom), and read and comment on the [meeting agenda](https://go.pinniped.dev/community/agenda). - -- If you are ready to jump in and test, add code, or help with documentation, follow the instructions on our [Contributing to Pinniped](https://go.pinniped.dev/community) page for guidance. +{{< community >}} diff --git a/site/content/posts/2021-02-04-multiple-pinnipeds.md b/site/content/posts/2021-02-04-multiple-pinnipeds.md index 5ce0a610..4f6d6a04 100644 --- a/site/content/posts/2021-02-04-multiple-pinnipeds.md +++ b/site/content/posts/2021-02-04-multiple-pinnipeds.md @@ -113,14 +113,7 @@ This would require major changes and it would be challenging to support some fea As a team, we have no immediate plans for either of these ideas, but if you are interested please [reach out in GitHub][discussion]. -## Join the Pinniped Community! -Pinniped is better because of our contributors and maintainers. -It is because of you that we can bring great software to the community. - -Please join us during our online community meetings, occurring every first and third Thursday of the month at 9AM PT / 12PM PT. -Use [this Zoom link][zoom] to attend and add any agenda items you wish to discuss to [the notes document][meeting-notes]. - -Join our [Google Group][google-group] to receive invites to this meeting. +{{< community >}} [api-aggregation]: https://kubernetes.io/docs/concepts/extend-kubernetes/api-extension/apiserver-aggregation/ [apiserver-pkg]: https://pkg.go.dev/k8s.io/apiserver/pkg/server @@ -128,12 +121,10 @@ Join our [Google Group][google-group] to receive invites to this meeting. [crd]: https://kubernetes.io/docs/concepts/extend-kubernetes/api-extension/custom-resources/ [custom-scheme]: https://github.com/vmware-tanzu/pinniped/blob/main/internal/concierge/server/server.go#L182 [discussion]: https://github.com/vmware-tanzu/pinniped/discussions/386 -[google-group]: https://go.pinniped.dev/community/group [groupsuffix]: https://github.com/vmware-tanzu/pinniped/blob/main/internal/groupsuffix/groupsuffix.go [ingress-spec]: https://kubernetes.io/docs/reference/kubernetes-api/services-resources/ingress-v1/#IngressSpec [kubeclient-client]: https://github.com/vmware-tanzu/pinniped/blob/v0.5.0/internal/kubeclient/kubeclient.go#L22 [kubeclient-middleware]: https://github.com/vmware-tanzu/pinniped/blob/v0.5.0/internal/kubeclient/middleware.go#L17-L19 -[meeting-notes]: https://go.pinniped.dev/community/agenda [ownerreferences]: https://kubernetes.io/docs/concepts/workloads/controllers/garbage-collection/#owners-and-dependents [prepare-controllers]: https://github.com/vmware-tanzu/pinniped/blob/v0.5.0/internal/controllermanager/prepare_controllers.go#L116-L120 [rest-config-wrap]: https://pkg.go.dev/k8s.io/client-go/rest#Config.Wrap @@ -143,4 +134,3 @@ Join our [Google Group][google-group] to receive invites to this meeting. [ytt-crd-overlay]: https://github.com/vmware-tanzu/pinniped/blob/v0.5.0/deploy/concierge/z0_crd_overlay.yaml [ytt-deployment]: https://github.com/vmware-tanzu/pinniped/blob/v0.5.0/deploy/concierge/deployment.yaml#L195 [ytt]: https://carvel.dev/ytt/ -[zoom]: https://go.pinniped.dev/community/zoom diff --git a/site/content/posts/2021-04-01-concierge-on-managed-clusters.md b/site/content/posts/2021-04-01-concierge-on-managed-clusters.md index e5c2d0b5..3a8fb7cf 100644 --- a/site/content/posts/2021-04-01-concierge-on-managed-clusters.md +++ b/site/content/posts/2021-04-01-concierge-on-managed-clusters.md @@ -137,26 +137,15 @@ There are more strategies left to build: We invite your suggestions and contributions to make Pinniped work across all flavors of Kubernetes. -## Join the Pinniped community - -Pinniped is better because of our contributors and maintainers. -It's because of you that we can bring great software to the community. - -Please join us during our online community meetings, occurring every first and third Thursday of the month at 9AM PT / 12PM PT. -Use [this Zoom link][zoom] to attend and add any agenda items you wish to discuss to [the notes document][meeting-notes]. - -Join our [Google Group][google-group] to receive invites to this meeting. +{{< community >}} [api-aggregation]: https://kubernetes.io/docs/concepts/extend-kubernetes/api-extension/apiserver-aggregation/] [csr-notafter]: https://github.com/kubernetes/kubernetes/pull/99494 -[google-group]: https://go.pinniped.dev/community/group [hostpath]: https://kubernetes.io/docs/concepts/storage/volumes/#hostpath [impersonation]: https://kubernetes.io/docs/reference/access-authn-authz/authentication/#user-impersonation [kind]: https://kind.sigs.k8s.io/ [kube-authn]: https://kubernetes.io/docs/reference/access-authn-authz/authentication/ -[meeting-notes]: https://go.pinniped.dev/community/agenda [kubeadm]: https://kubernetes.io/docs/setup/production-environment/tools/kubeadm/ [nodeselector]: https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/#nodeselector [tcr]: https://github.com/vmware-tanzu/pinniped/blob/main/generated/1.20/README.adoc#tokencredentialrequest [tolerations]: https://kubernetes.io/docs/concepts/scheduling-eviction/taint-and-toleration/ -[zoom]: https://go.pinniped.dev/community/zoom \ No newline at end of file diff --git a/site/themes/pinniped/layouts/shortcodes/community.html b/site/themes/pinniped/layouts/shortcodes/community.html new file mode 100644 index 00000000..5230441d --- /dev/null +++ b/site/themes/pinniped/layouts/shortcodes/community.html @@ -0,0 +1,14 @@ +
+

Join the Pinniped community!

+

+ Pinniped is better because of our contributors and maintainers. + It's because of you that we can bring great software to the community. +

+

+ Please join us during our online community meetings, occurring every first and third Thursday of the month at 9 AM PT / 12 PM PT. + Use this Zoom link to attend and add any agenda items you wish to discuss to the notes document. +

+

+ Join our Google Group to receive invites to this meeting. +

+