You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
1. To connect to the cloud instance and OKE cluster we need the Oracle Cloud CLI client. Install Oracle Cloud CLI from https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/cliinstall.htm
141
135
142
-
After creating these service accounts in GCP, the kubernetes service account and
143
-
secret were created with:
136
+
1. The next step is to establish connection from the local client to the cloud instance. Login to the Oracle Cloud Console and create a new `API key` from the user profile.
137
+
Follow the steps here: https://docs.oracle.com/en-us/iaas/Content/API/Concepts/apisigningkey.htm#two
138
+
Download a Private Key and Add a new API key as mentioned in the doc. Copy the config file to `~/.oci/config` and update the path to the private key file in config.
139
+
With this the config is ready for usage by the CLI.
144
140
145
-
```bash
146
-
KEY_FILE=release.json
147
-
GENERIC_SECRET=release-secret
148
-
ACCOUNT=release-right-meow
149
-
150
-
# Connected to the `prow` in the `tekton-releases` GCP project
1. Test the connection by doing a get of the OKE cluster id.
142
+
Refer here https://docs.oracle.com/en-us/iaas/tools/oci-cli/3.70.0/oci_cli_docs/cmdref/ce.html for the CLI options.
143
+
Command to create a kubeconfig in your local could be obtained from console navigating to the OKE > Actions > Access Cluster. Run the command pointing to the PUBLIC_ENDPOINT and we should be connected to the cluster.
152
144
153
-
# 1. Create a private key for the service account
154
-
gcloud iam service-accounts keys create $KEY_FILE --iam-account $GCP_ACCOUNT
145
+
1.[Setup a context to connect to the dogfooding cluster](./release-cheat-sheet.md#setup-dogfooding-context)
155
146
156
-
# 2. Create kubernetes secret, which we will use via a service account and directly mounting
1. When executing release pipelines, some tasks require `oci cli` commands. The CLI requires credentials which should be created as a Kubernetes secret and mounted to the respective task's workspace. For example refer the precheck definition.
Copy file name to clipboardExpand all lines: tekton/release-cheat-sheet.md
+63-27Lines changed: 63 additions & 27 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -29,7 +29,24 @@ the pipelines repo, a terminal window and a text editor.
29
29
- Select the most recent commit on the ***`release-<version number>x` branch***, e.g. [`release-v0.47.x`](https://github.com/tektoncd/pipeline/tree/release-v0.47.x) if you are patching a release i.e. `v0.47.2`.
30
30
31
31
```bash
32
-
TEKTON_RELEASE_GIT_SHA=# SHA of the release to be released
The dogfooding cluster is currently an OKE cluster in oracle cloud. we need the Oracle Cloud CLI client. Install oracle cloud cli (https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/cliinstall.htm)
0 commit comments