<p>I'v had jenkins deployment from helm charts, did by colleague a month ago. I'v been working on it and somehow lost the <code>jenkins-token-xxxx</code> secret, it's literally gone from the cluster any idea how to recover it, if possible? (the weird thing is I didn't delete it, it just dissapeared)</p>

<p>I did a quick <code>helm install stable/jenkins --name jenkins</code> on minikube to show what's missing </p>

<pre><code>$ kubectl get secrets -o wide
NAME                  TYPE                                  DATA   AGE
default-token-lvkpt   kubernetes.io/service-account-token   3      6d19h
jenkins               Opaque                                2      18m
jenkins-token-rxh2d   kubernetes.io/service-account-token   3      18m &lt;-------
</code></pre>

<p>On cluster:</p>

<pre><code>$ kubectl get secrets
NAME                                                TYPE                                  DATA   AGE
default-token-xyzca                                 kubernetes.io/service-account-token   3      yd
jenkins                                             Opaque                                2      yd
jenkins-nginx-nginx-ingress-backend-token-xxxx     kubernetes.io/service-account-token   3      yd
jenkins-nginx-nginx-ingress-token-zzzz             kubernetes.io/service-account-token   3      yd
</code></pre>

CptDolphin
<p>You can run:</p>

<blockquote>
  <p>kubectl get secret jenkins -oyaml</p>
</blockquote>
