<p>I've created a secret using</p>
<pre class="lang-shell prettyprint-override"><code>kubectl create secret generic production-tls \
  --from-file=./tls.key \
  --from-file=./tls.crt
</code></pre>
<p>If I'd like to update the values - how can I do this?</p>

Chris Stryczynski
<p>This should work:</p>
<pre class="lang-shell prettyprint-override"><code>kubectl create secret generic production-tls \
--save-config \
--dry-run=client \
--from-file=./tls.key --from-file=./tls.crt \
-o yaml | \
kubectl apply -f -
</code></pre>
