<html dir="ltr">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=Windows-1252">
<style>
<!--
@font-face
{font-family:"Cambria Math"}
@font-face
{font-family:Calibri}
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri",sans-serif}
a:link, span.MsoHyperlink
{color:#0563C1;
text-decoration:underline}
a:visited, span.MsoHyperlinkFollowed
{color:#954F72;
text-decoration:underline}
p.MsoListParagraph, li.MsoListParagraph, div.MsoListParagraph
{margin-top:0in;
margin-right:0in;
margin-bottom:0in;
margin-left:.5in;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri",sans-serif}
span.EmailStyle18
{font-family:"Calibri",sans-serif;
color:windowtext}
span.EmailStyle19
{font-family:"Calibri",sans-serif;
color:#1F497D}
span.SpellE
{}
.MsoChpDefault
{font-size:10.0pt}
@page WordSection1
{margin:1.0in 1.0in 1.0in 1.0in}
div.WordSection1
{}
-->
</style><style type="text/css" id="owaParaStyle"></style>
</head>
<body lang="EN-US" link="#0563C1" vlink="#954F72" style="" fpstyle="1" ocsi="0">
<div style="direction: ltr;font-family: Tahoma;color: #000000;font-size: 10pt;">
<div class="WordSection1">
<p class="MsoNormal"><span style="color:#1F497D">Thanks Jerry.</span></p>
<p class="MsoNormal"><span style="color:#1F497D"> </span></p>
<p class="MsoNormal"><span style="color:#1F497D">I’ve created a corresponding doc story with your notes embedded to queue up for R3.</span></p>
<p class="MsoNormal"><span style="color:#1F497D"> </span></p>
<p class="MsoNormal" style="margin-left:.5in"><a href="https://storyboard.openstack.org/#!/story/2006289" target="_blank" rel="noopener noreferrer">https://storyboard.openstack.org/#!/story/2006289</a><span style="color:#1F497D"></span></p>
<p class="MsoNormal"><span style="color:#1F497D"> </span></p>
<p class="MsoNormal"><span style="color:#1F497D">-- Mike</span></p>
<p class="MsoNormal"><span style="color:#1F497D"> </span></p>
<div>
<div style="border:none; border-top:solid #E1E1E1 1.0pt; padding:3.0pt 0in 0in 0in">
<p class="MsoNormal"><a name="_MailOriginal"></a><a name="_____replyseparator"></a><span style=""><b><span style="">From:</span></b></span><span style=""><span style=""> Sun, Yicheng (Jerry) [mailto:Jerry.Sun@windriver.com]
<br>
<b>Sent:</b> Friday, July 26, 2019 1:46 PM<br>
<b>To:</b> starlingx-discuss@lists.starlingx.io<br>
<b>Subject:</b> [<span class="SpellE">Starlingx</span>-discuss] [docs] OpenID connect</span></span></p>
</div>
</div>
<p class="MsoNormal"><span style=""> </span></p>
<p class="MsoNormal"><span style=""><span lang="EN-CA" style="">Hi Docs Team,</span></span></p>
<p class="MsoNormal"><span style=""><span lang="EN-CA" style=""> </span></span></p>
<p class="MsoNormal" style="margin-bottom:12.0pt"><span style=""><span lang="EN-CA" style="">For story 2006235 (</span></span><a href="https://storyboard.openstack.org/#!/story/2006235" target="_blank" rel="noopener noreferrer"><span style="">https://storyboard.openstack.org/#!/story/2006235</span><span style=""></span></a><span style=""><span lang="EN-CA" style="">),
I need the following changes to docs:</span></span></p>
<p class="MsoNormal"><span style=""><span lang="EN-CA" style="">OpenID connect can now be set up on the
<span class="SpellE">kubernetes</span> cluster as a form of <span class="SpellE">
authentiation</span>. This is done by specifying these values during <span class="SpellE">
ansible</span> bootstrap:<br>
<span class="SpellE">apiserver_oidc</span>:</span></span></p>
<p class="MsoNormal"><span style=""><span lang="EN-CA" style=""> <span class="SpellE">
client_id</span>: …</span></span></p>
<p class="MsoNormal"><span style=""><span lang="EN-CA" style=""> <span class="SpellE">
issuer_url</span>: …</span></span></p>
<p class="MsoNormal"><span style=""><span lang="EN-CA" style=""> <span class="SpellE">
username_claim</span>: …</span></span></p>
<p class="MsoNormal"><span style=""><span lang="EN-CA" style=""> </span></span></p>
<p class="MsoNormal"><span style=""><span lang="EN-CA" style="">All the values must be specified or all of them must be missing; not specifying any would mean the feature is not configured.</span></span></p>
<p class="MsoNormal"><span style=""><span lang="EN-CA" style=""> </span></span></p>
<p class="MsoNormal"><span style=""><span lang="EN-CA" style="color:black">The options match the options with the same name with "<span class="SpellE">oidc</span>_" when starting
<span class="SpellE">kube-apiserver</span>. Please refer to official Kubernetes documentation on how to use these values:
</span></span><a href="https://kubernetes.io/docs/reference/access-authn-authz/authentication/" target="_blank" rel="noopener noreferrer"><span style=""><span lang="EN-CA" style="">https://kubernetes.io/docs/reference/access-authn-authz/authentication/</span></span><span style=""></span></a><span style=""><span lang="EN-CA" style="color:black"></span></span></p>
<p class="MsoNormal"><span style=""><span lang="EN-CA" style="color:black"> </span></span></p>
<p class="MsoNormal"><span style=""><span lang="EN-CA" style="color:black">Currently, the options only sets up Kubernetes to support OpenID connect. Authentication by OpenID connect is not forced if these options are used during
<span class="SpellE">Ansible</span> bootstrap. The controller can still run Kubernetes commands without OpenID connect auth. If you want to use OpenID connect
<span class="SpellE">auth</span>, you will need to configure a (remote) Kubernetes client to use OpenID connect
<span class="SpellE">auth</span> as well.</span></span></p>
<p class="MsoNormal"><span style=""><span lang="EN-CA" style=""> </span></span></p>
<p class="MsoNormal"><span style=""><span lang="EN-CA" style="">Please note that this will be targeted for R3, so please do not put this in the R2 docs.</span></span></p>
<p class="MsoNormal"><span style=""><span lang="EN-CA" style=""> </span></span></p>
<p class="MsoNormal"><span style=""><span lang="EN-CA" style="">Thanks,</span></span></p>
<p class="MsoNormal"><span style=""><span lang="EN-CA" style="">Jerry</span></span></p>
<span style=""></span>
<p class="MsoNormal"><span lang="EN-CA" style=""> </span></p>
</div>
</div>
</body>
</html>