diff --git a/operator/install-result.adoc b/operator/install-result.adoc index 4561ec2..5a393e5 100644 --- a/operator/install-result.adoc +++ b/operator/install-result.adoc @@ -39,7 +39,9 @@ openssl req -x509 \ oc create secret tls -n ${NAMESPACE} tekton-results-tls --cert=cert.pem --key=key.pem ---- -4. Optional: Create a Persistent Volume Claim (PVC) if you need to store your logging data. +4. Optional: Prepare storage for storing logs + +a. PVC: Create a Persistent Volume Claim (PVC) if you need to store your logging data in PVC. + [source,bash] ---- @@ -59,6 +61,26 @@ EOF oc apply -n ${NAMESPACE} -f pvc.yaml ---- +b. Google Cloud Storage (GCS): Set GCS properties and secret ++ +[source,bash] +---- +We need to create a secret with google application creds for a bucket (let's say with a name foo-bar) like below: + +``` +kubectl create secret generic gcs-credentials --from-file=creds.json +``` +---- + +Now this will be used in the `TektonResult` CR described in point 5 with following properties: ++ +[source,bash] +---- +gcs_creds_secret_name: gcs-credentials +gcc_creds_secret_key: creds.json +gcs_bucket_name: foo-bar +---- + 5. Edit the `TektonResult` CR based on your needs + [source,yaml]