From 94aa1bf8be3588794ab895a2cc730b2f7ccfe029 Mon Sep 17 00:00:00 2001 From: Jerome Ju Date: Mon, 27 Feb 2023 14:30:16 -0500 Subject: [PATCH] Remove git ssh examples --- .../git-ssh-creds-without-known_hosts.yaml | 52 ------------------- examples/v1beta1/taskruns/git-ssh-creds.yaml | 52 ------------------- 2 files changed, 104 deletions(-) delete mode 100644 examples/v1beta1/taskruns/git-ssh-creds-without-known_hosts.yaml delete mode 100644 examples/v1beta1/taskruns/git-ssh-creds.yaml diff --git a/examples/v1beta1/taskruns/git-ssh-creds-without-known_hosts.yaml b/examples/v1beta1/taskruns/git-ssh-creds-without-known_hosts.yaml deleted file mode 100644 index 812190d9880..00000000000 --- a/examples/v1beta1/taskruns/git-ssh-creds-without-known_hosts.yaml +++ /dev/null @@ -1,52 +0,0 @@ -apiVersion: v1 -kind: Secret -metadata: - name: git-ssh-without-known-hosts - annotations: - tekton.dev/git-0: github.com -type: kubernetes.io/ssh-auth -data: - # Generated by: - # cat id_rsa | base64 -w 0 - # This deploy key has read-only permissions on github.com/knative/build - ssh-privatekey: LS0tLS1CRUdJTiBSU0EgUFJJVkFURSBLRVktLS0tLQpNSUlKSndJQkFBS0NBZ0VBc0YrY3ZIdUlKRjBwNWZNVDBUUVZhMWpTZVBNVlhtUWhGa1F0andsamJFSXVKaVh5CmVrU1I0WUtDbFZIZVo0M2VOa2p5SzFwTDVmVnZnY3J2bkVUMXE5dmFmOThtNzdHWjZUdnJGY0RyZjViZDFIZGUKTU1MTFZRRU8vN1lkcEJFeVJ1UjA4RXRzbWp0RUVaNERVZnBUWGQ5RnAyTU5UWTYwVzFpa0p0Mm53dGhWVlF0OApubFcxTTRvc1d0SHE1OVFDbnhqUkVmNzNhdHdtUTZ6enlXcCtJM3ZBRFRJUmZpTWcvSjc0UDJHOWlwL0U1U0YrCnNuRmRnU2x0cjhyd0tmTE5jTDVYandOSE53aHErQ2NJRHBUZGhuVTBUaEFZNlRsa25KWFJudXRicGNRajA4MjAK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NqQStRU3puVDdFY1RSZXR4WmZXMCtlaTVMMHc0cXZObmpxMG13NkZmSTV5amF2ZwpsSU5LZDVBaEx2VjVIM2pHWVBXMk9Pa01obFBoQkNvQitlQWdrem5GeWdPbHV0WmdVVmh3ajBsT2FHcUFwSzQyCkVRZDlGWTZnZ0tSSXZIOFNINGhLWWJhdDIvQjNvNjhDZ2dFQVNnUGZubVdZcXpQTlpwYXh4VFZ3NXl0cXovMGcKUHlhcW41elhDSHFsdDluNkZFYWdRVjE4bjl0bUZzTWtnOFd4MHp1TjY5ajNvcXVDaWVDSkVRTTFDR05GUWg2MQpEV0xrd210R1FPNXZxc0VhcXpLZk9yWktnYTJ5L3BuejY2SkNlUW83UlJEdVVZVHpPY3NpQmtxNmNUNHFLQjY0ClBCVlVhQTROQkVCZlRoc1o5dDhpWHFDQWhUQnVlTDdhQ3pHV0ZjR1k5dndrZkJHNjNacURXbVlqZkZwRGlqSWIKL21ySnJVTTB0a09HcUhESk5aUWhpZXc1VHF6NWp3VElyTDY3YUdZNFpuNEVyODFlb3JOZnpEeDVnak1NYnoweQoyTGZoN1c0MFlWMDA4ZmZJTk5BbXA4VjNqay9qcWFUSFlWYlFQNGxhdTRIWkc5Q2g1Q1VpSmFvN2xBPT0KLS0tLS1FTkQgUlNBIFBSSVZBVEUgS0VZLS0tLS0K - # Note: We are not including a known_hosts entry here. This forces - # the Git PipelineResource to accept github's public key the first - # time it fetches the repository. ---- -apiVersion: v1 -kind: ServiceAccount -metadata: - name: robot-git-ssh-without-known-hosts -secrets: -- name: git-ssh-without-known-hosts ---- -# `PipelineResources` are deprecated, consider using `Tasks` and other replacement features instead -# https://github.com/tektoncd/pipeline/blob/main/docs/migrating-v1alpha1-to-v1beta1.md#replacing-pipelineresources-with-tasks -apiVersion: tekton.dev/v1beta1 -kind: TaskRun -metadata: - name: git-ssh-creds-without-known-hosts -spec: - serviceAccountName: robot-git-ssh-without-known-hosts - resources: - inputs: - - name: gitssh - resourceSpec: - type: git - params: - - name: revision - value: main - - name: url - value: git@github.com:tektoncd/pipeline.git - taskSpec: - resources: - inputs: - - name: gitssh - type: git - steps: - - name: config - image: ubuntu - script: | - #!/usr/bin/env bash - cat /workspace/gitssh/README.md diff --git a/examples/v1beta1/taskruns/git-ssh-creds.yaml b/examples/v1beta1/taskruns/git-ssh-creds.yaml deleted file mode 100644 index 56eeed19bc8..00000000000 --- a/examples/v1beta1/taskruns/git-ssh-creds.yaml +++ /dev/null @@ -1,52 +0,0 @@ -apiVersion: v1 -kind: Secret -metadata: - name: git-ssh - annotations: - tekton.dev/git-0: github.com -type: kubernetes.io/ssh-auth -data: - # Generated by: - # cat id_rsa | base64 -w 0 - # This deploy key has read-only permissions on github.com/knative/build - ssh-privatekey: LS0tLS1CRUdJTiBSU0EgUFJJVkFURSBLRVktLS0tLQpNSUlKSndJQkFBS0NBZ0VBc0YrY3ZIdUlKRjBwNWZNVDBUUVZhMWpTZVBNVlhtUWhGa1F0andsamJFSXVKaVh5CmVrU1I0WUtDbFZIZVo0M2VOa2p5SzFwTDVmVnZnY3J2bkVUMXE5dmFmOThtNzdHWjZUdnJGY0RyZjViZDFIZGUKTU1MTFZRRU8vN1lkcEJFeVJ1UjA4RXRzbWp0RUVaNERVZnBUWGQ5RnAyTU5UWTYwVzFpa0p0Mm53dGhWVlF0OApubFcxTTRvc1d0SHE1OVFDbnhqUkVmNzNhdHdtUTZ6enlXcCtJM3ZBRFRJUmZpTWcvSjc0UDJHOWlwL0U1U0YrCnNuRmRnU2x0cjhyd0tmTE5jTDVYandOSE53aHErQ2NJRHBUZGhuVTBUaEFZNlRsa25KWFJudXRicGNRajA4MjAKMyt1aXRxaXhJcnIwQmkrU2NDQ21GNERxZGdRUXIwRzdieXRKemJkdjJOL3dGbGFpWmVOTWtXSVd5TzRpdnU4TQoxbGUyajVHeDZFaVQ0TG5sNitoRHd3aXozUGR4Y1I0S0VxZzVqRmQ3QjNDcHQ0cUswRDFHVVhnMmx1ZHRsMU40CjVoNUJaNEZZc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SmlTNWFwNDNKWGlVRkZBYVE9PQo= ---- -apiVersion: v1 -kind: ServiceAccount -metadata: - name: robot-git-ssh -secrets: -- name: git-ssh ---- -# `PipelineResources` are deprecated, consider using `Tasks` and other replacement features instead -# https://github.com/tektoncd/pipeline/blob/main/docs/migrating-v1alpha1-to-v1beta1.md#replacing-pipelineresources-with-tasks -apiVersion: tekton.dev/v1beta1 -kind: TaskRun -metadata: - name: git-ssh-creds -spec: - serviceAccountName: robot-git-ssh - resources: - inputs: - - name: gitssh - resourceSpec: - type: git - params: - - name: revision - value: main - - name: url - value: git@github.com:tektoncd/pipeline.git - taskSpec: - resources: - inputs: - - name: gitssh - type: git - steps: - - name: config - image: ubuntu - script: | - #!/usr/bin/env bash - cat /workspace/gitssh/README.md