Advertisement
organicnz

Untitled

Nov 19th, 2020
76
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. export SECRET_NAME=$(kubectl get secrets -n default | grep jenkins-1605xxxxxx-54fxxxxxx-b7xxxxxx | cut -d ' ' -f 1)
  2.  
  3. kubectl describe secrets $SECRET_NAME -n default
  4.  
  5. + kubectl describe secrets -n default
  6. Name: default-token-jh892
  7. Namespace: default
  8. Labels: <none>
  9. Annotations: kubernetes.io/service-account.name: default
  10. kubernetes.io/service-account.uid: e3bxxx-801d-42ae-9c7e-11c9xxxxxx
  11.  
  12. Type: kubernetes.io/service-account-token
  13.  
  14. Data
  15. ====
  16. ca.crt: 1159 bytes
  17. namespace: 7 bytes
  18. token: eyJhbGciOiJSUzI1NiIsImtpZCI6ImFSY0liajZXejZYWHRIelpJOHkxb0VLSHdRSXlPYkdHQWJuczRINFNIcnMifQ.eyJpc3MiOiJrdWJlcm5ldGVzL3NlcnZp......
  19. 9F_IKxtXQ-pWmWqXgNEK5jG34d5eiU-pSGY_Fy6Oj1oOs79uHgnk9qua4a3AADjX8w38hYHXmrZiTq-WiOGwHyUvm09gik0VEQcW5cYeIVa_A3fdl4vezt0qPA
  20.  
  21.  
  22. Name: jenkins-1605xxxxxx
  23. Namespace: default
  24. Labels: app.kubernetes.io/component=jenkins-master
  25. app.kubernetes.io/instance=jenkins-1605xxxxxx
  26. app.kubernetes.io/managed-by=Helm
  27. app.kubernetes.io/name=jenkins
  28. helm.sh/chart=jenkins-2.5.4
  29. Annotations: meta.helm.sh/release-name: jenkins-1605xxxxxx
  30. meta.helm.sh/release-namespace: default
  31.  
  32. Type: Opaque
  33.  
  34. Data
  35. ====
  36. jenkins-admin-password: 10 bytes
  37. jenkins-admin-user: 5 bytes
  38.  
  39.  
  40. Name: jenkins-1605xxxxxx-token-75kzd
  41. Namespace: default
  42. Labels: <none>
  43. Annotations: kubernetes.io/service-account.name: jenkins-1605xxxxxx
  44. kubernetes.io/service-account.uid: 7fadxxxx-c11a-441e-b304-56dxxxxxx
  45.  
  46. Type: kubernetes.io/service-account-token
  47.  
  48. Data
  49. ====
  50. ca.crt: 1159 bytes
  51. namespace: 7 bytes
  52. token: eyJhbGciOiJSUzI1NiIsImtpZCI6ImFSY0liajZXejZYWHRIelpJOHkxb0VLSHdRSXlPYkdHQWJuczRINFNIcnMifQ.eyJpc3MiOiJrdWJlcm5ldGVzL3NlcnZp...
  53. -fIadByUIPKwwjUB4lyJn-U9J5blrlyE726QJNvmd2ufXtr8x3_v66Rwjr_uxsqILNYQWPJQcqpU6ycmV5y8TY99eJKqIAyRniqauoOqV_5FXP1jott-J4r5B--niIQi_w
  54.  
  55.  
  56. Name: jenkins-1605xxxxxx
  57. Namespace: default
  58. Labels: app=jenkins
  59. app.kubernetes.io/managed-by=Helm
  60. chart=jenkins-6.0.0
  61. heritage=Helm
  62. release=jenkins-1605736819
  63. Annotations: meta.helm.sh/release-name: jenkins-1605xxxxxx
  64. meta.helm.sh/release-namespace: default
  65.  
  66. Type: Opaque
  67.  
  68. Data
  69. ====
  70. jenkins-password: 10 bytes
  71.  
  72.  
  73. Name: jenkins-1605xxxxxx
  74. Namespace: default
  75. Labels: app=jenkins
  76. app.kubernetes.io/managed-by=Helm
  77. chart=jenkins-6.0.0
  78. heritage=Helm
  79. release=jenkins-1605738060
  80. Annotations: meta.helm.sh/release-name: jenkins-1605xxxxxx
  81. meta.helm.sh/release-namespace: default
  82.  
  83. Type: Opaque
  84.  
  85. Data
  86. ====
  87. jenkins-password: 10 bytes
  88.  
  89.  
  90. Name: sh.helm.release.v1.jenkins-1605xxxxxx.v1
  91. Namespace: default
  92. Labels: modifiedAt=1605xxxxxx
  93. name=jenkins-1605xxxxxx
  94. owner=helm
  95. status=failed
  96. version=1
  97. Annotations: <none>
  98.  
  99. Type: helm.sh/release.v1
  100.  
  101. Data
  102. ====
  103. release: 98464 bytes
  104.  
  105.  
  106. Name: sh.helm.release.v1.jenkins-1605xxxxxx.v1
  107. Namespace: default
  108. Labels: modifiedAt=16057368xxx
  109. name=jenkins-16057368xxxx
  110. owner=helm
  111. status=deployed
  112. version=1
  113. Annotations: <none>
  114.  
  115. Type: helm.sh/release.v1
  116.  
  117. Data
  118. ====
  119. release: 25228 bytes
  120.  
  121.  
  122. Name: sh.helm.release.v1.jenkins-160573xxxxxx.v1
  123. Namespace: default
  124. Labels: modifiedAt=16057xxxxx
  125. name=jenkins-16057xxxxx
  126. owner=helm
  127. status=deployed
  128. version=1
  129. Annotations: <none>
  130.  
  131. Type: helm.sh/release.v1
  132.  
  133. Data
  134. ====
  135. release: 25228 bytes
Advertisement
RAW Paste Data Copied
Advertisement