Welcome to the Linux Foundation Forum!

Example 15.1 Step 7 - Selflink missing in some outputs

Hi

I am not seeing the line selfLink in some of my outputs. The example shows following line 16 and 17:
16 selfLink: /api/v1/namespaces/kube-system/secrets/certificate-
17 controller-token-wnrwh

My output looks like:
kubectl -n kube-system get secrets certificate-controller-token-7nndj -oyaml
apiVersion: v1
data:
ca.crt: LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tCk1JSUM1ekNDQWMrZ0F3SUJBZ0lCQURBTkJna3Foa2lHOXcwQkFRc0ZBREFWTVJNd0VRWURWUVFERXdwcmRXSmwKY201bGRHVnpNQjRYRFRJeE1EWXhPREUzTURBMU9Wb1hEVE14TURZeE5qRTNNREExT1Zvd0ZURVRNQkVHQTFVRQpBeE1LYTNWaVpYSnVaWFJsY3pDQ0FTSXdEUVlKS29aSWh2Y05BUUVCQlFBRGdnRVBBRENDQVFvQ2dnRUJBTm5ECkVDaHh4aFVKZnh5dE5vZzQwOThnSFBrS1BmQ1pIZDNvd1ZmMS9JY2FMN1ZQeGlXN3NtbzR2bHhNMzZ5bGgzaFQKTDM2dmoyZ1ZBRkNaRG5pMmQ2T2ZmVHh2NUcxL1FoNWdLS0t4Y1JaellheC9EbmRibVE4TmkxdG9wb05HQ2RiUApOcFdFVVhhT3BCSWZ3SmwvOTR3WW1DRUhTUFA0OHJ3Ri94RmdlTUY1SW9SQ0lkY3E4Ynl2MUlyNGRJQWxIL3BCCmZlaTdDM1E3MkRIODlFNXF1NUxHSENFc2NSRjdxSTVmeG5HZk1LY0VGelpvWWNlWlFhandXZUFVWU5NOExPa08KUXByT2ZkbU5sKzRPVkJSQ0tOU1pJR08zYjJsYVFNM0hOOWZPT29WVzA4eFBva2QyU1FQK2R5SzNxWXF5YTBJcgpxV0tZRmErM0E3RjNsNXNsNUZNQ0F3RUFBYU5DTUVBd0RnWURWUjBQQVFIL0JBUURBZ0trTUE4R0ExVWRFd0VCCi93UUZNQU1CQWY4d0hRWURWUjBPQkJZRUZQa3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BieTl6WlhKMmFXTmxZV05qYjNWdWRDOXpaWEoyYVdObExXRmpZMjkxYm5RdWJtRnRaU0k2SW1ObGNuUnBabWxqWVhSbExXTnZiblJ5YjJ4c1pYSWlMQ0pyZFdKbGNtNWxkR1Z6TG1sdkwzTmxjblpwWTJWaFkyTnZkVzUwTDNObGNuWnBZMlV0WVdOamIzVnVkQzUxYVdRaU9pSmtZakEwTVRJNU5pMHpZV1JpTFRSaU16Y3RPRGM0TkMweFpHTTNZMlkwWWpOa1pqVWlMQ0p6ZFdJaU9pSnplWE4wWlcwNmMyVnlkbWxqWldGalkyOTFiblE2YTNWaVpTMXplWE4wWlcwNlkyVnlkR2xtYVdOaGRHVXRZMjl1ZEhKdmJHeGxjaUo5Lm1Fa3d6eTNlNnJUNVl2Tng1aFlMVHZ3dG80aGlzSWpIdVF3OWJ6R1M4T2xZMDV3QkJXaFJrMU41ajhhZzlYUzZ5WFFQSGRrdHlHakEtT3B4RElJOWFWU1NmRi01OTgxMVVrMXN0VlA3TXYzM2ZheE5WY1JpdHNxQnRxWWFXY0tnOG9kZUR2WmNfZlA4Ym5OT0Z1V3hkZlBCQ3hxUHN2THBqSmhRYks2ZzBpVzZsN2I1U2dFRi11VHJ4cWRaSGd1eTBqZ2EwbnBoNFdJMmYwRXZVdmNHU0FUWTd6VXhJc1BOdmFua1BkcXlaTmtCQjJXREZhc2NTdFNnT01iSzZlcnBob1BqYVVVN3A1TG52X0t0RmgyekYwZTY0c1FRNVFMZTZqVm1HUmF6VnUzbUdCMWZtMzMwaGo2clJfTDYzbDVNTU9Ia3o1Z2xRUWpETExXRHkzQ3BlQQ==
kind: Secret
metadata:
annotations:
kubernetes.io/service-account.name: certificate-controller
kubernetes.io/service-account.uid: db041296-3adb-4b37-8784-1dc7cf4b3df5
creationTimestamp: "2021-06-18T17:01:20Z"
name: certificate-controller-token-7nndj
namespace: kube-system
resourceVersion: "294"
uid: c4c81897-fbd0-4a17-864e-a8c9989d82e8
type: kubernetes.io/service-account-token

Since I had seen it a few times, I was curious about that particular line - what it is and when it shows up.

Comments

  • chrispokorni
    chrispokorni Posts: 2,372

    Hi @prama01886,

    The API no longer outputs the selflink line, but you should still remove the other lines as instructed.

    Regards,
    -Chris

  • prama01886
    prama01886 Posts: 17

    Thank you. I am able to follow the remaining instructions and continue.

Categories

Upcoming Training