dlorenc / chains

Tekton Chains
Apache License 2.0
2 stars 2 forks source link

yaml structure example for `private` #1

Open lukehinds opened 4 years ago

lukehinds commented 4 years ago

hi @dlorenc

I am at the following section kubectl edit secret signing-secrets -n tekton-pipelines

Do you have an example for kind: Secret that shows the yaml structure using private:?

font commented 4 years ago

@lukehinds Here's an example:

apiVersion: v1
kind: Secret
metadata:
  name: signing-secrets
  namespace: tekton-pipelines
  labels:
    pipeline.tekton.dev/release: devel
type: Opaque
data:
  private: cHJpdmF0ZSBrZXk=
  passphrase: cGFzc3dvcmQ=