Skip to content

Commit

Permalink
Merge pull request #1606 from vmware-tanzu/jtc/add-blog-post-for-v0.25.0
Browse files Browse the repository at this point in the history
Add blog post for v0.25.0
  • Loading branch information
benjaminapetersen authored Aug 15, 2023
2 parents 8c96616 + 820c565 commit c54933b
Show file tree
Hide file tree
Showing 7 changed files with 447 additions and 10 deletions.
2 changes: 1 addition & 1 deletion site/content/posts/2021-06-02-first-ldap-release.md
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ We've provided examples of using [OpenLDAP]({{< ref "docs/howto/install-supervis
and [JumpCloud]({{< ref "docs/howto/install-supervisor.md" >}}) as LDAP providers.
Stay tuned for examples of using Active Directory.

The `pinniped` CLI has also been enhanced to support LDAP authentication. Now when `pinnped get kubectl` sees
The `pinniped` CLI has also been enhanced to support LDAP authentication. Now when `pinniped get kubectl` sees
that your cluster's Concierge is configured to use a Supervisor which has an LDAPIdentityProvider, then it
will emit the appropriate kubeconfig to enable LDAP logins. When that kubeconfig is used with `kubectl`,
the Pinniped plugin will directly prompt the user on the CLI for their LDAP username and password and
Expand Down

Large diffs are not rendered by default.

Large diffs are not rendered by default.

6 changes: 6 additions & 0 deletions site/themes/pinniped/assets/scss/_components.scss
Original file line number Diff line number Diff line change
Expand Up @@ -326,6 +326,12 @@ pre code {
font-family: $metropolis-medium;
}
}
.blog-post-card {
p.no-margin {
margin-block-start: 0;
margin-block-end: 0;
}
}
}

.getting-started {
Expand Down
7 changes: 1 addition & 6 deletions site/themes/pinniped/layouts/_default/single.html
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,7 @@ <h1>Pinniped blog</h1>
<div class="wrapper blog">
<div class="blog-post">
<h2>{{ .Title }}</h2>
<p class="author">
<a href="/tags/{{ .Params.author | urlize }}">{{ .Params.author }}</a>
</p>
{{ partial "authors" .}}
<p class="date">{{ dateFormat "Jan 2, 2006" .Date }}</p>
{{ .Content }}
</div>
Expand All @@ -29,6 +27,3 @@ <h2>Related content</h2>
</main>
{{ partial "getting-started" . }}
{{ end }}



11 changes: 11 additions & 0 deletions site/themes/pinniped/layouts/partials/authors.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
<p class="author">
{{ if (isset .Params "authors") }}
{{ $authsCount := .Params.authors | len }}
{{ $commaCount := sub $authsCount 2 }}
{{ range $i, $author := .Params.authors -}}
<a href="/tags/{{ $author | urlize }}">{{ $author }}</a>{{ if le $i $commaCount }},{{ end }}
{{ end }}
{{ else }}
<a href="/tags/{{ .Params.author | urlize }}">{{ .Params.author }}</a>
{{ end }}
</p>
4 changes: 2 additions & 2 deletions site/themes/pinniped/layouts/partials/blog-post-card.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<div class="col">
<div class="col blog-post-card">
<div class="icon">
<img src="{{ .Params.Image }}" alt="{{ .Title }}" />
</div>
Expand All @@ -7,4 +7,4 @@ <h3><a href="{{ .RelPermalink }}">{{ .Title }}</a></h3>
<time>{{ .Date.Format "January 2, 2006" }}</time>
<p>{{ .Params.Excerpt }}</p>
</div>
</div>
</div>

0 comments on commit c54933b

Please sign in to comment.