This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# | |
# Bash script that helps to get Web Terminal working on the localhost:9000 | |
# | |
set -e | |
function parseArgs() { | |
if [ $# -eq 0 ]; then | |
help |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
apiVersion: shipwright.io/v1beta1 | |
kind: Build | |
metadata: | |
creationTimestamp: '2024-08-27T12:27:20Z' | |
generation: 1 | |
managedFields: | |
- apiVersion: shipwright.io/v1beta1 | |
fieldsType: FieldsV1 | |
fieldsV1: | |
'f:spec': |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1. openssl req -x509 -newkey rsa:4096 -keyout key.pem -out cert.pem -days 365 -nodes -subj "/CN=tekton-results-api-service.openshift-pipelines.svc.cluster.local" -addext "subjectAltName = DNS:tekton-results-api-service.openshift-pipelines.svc.cluster.local" | |
2. oc create secret tls -n openshift-pipelines tekton-results-tls --cert=cert.pem --key=key.pem | |
3. oc create secret generic tekton-results-postgres --namespace=openshift-pipelines --from-literal=POSTGRES_USER=result --from-literal=POSTGRES_PASSWORD=$(openssl rand -base64 20) | |
4. cat pvc.yaml | |
apiVersion: v1 | |
kind: PersistentVolumeClaim | |
metadata: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
apiVersion: tekton.dev/v1beta1 | |
kind: ClusterTask | |
metadata: | |
name: func-buildpacks | |
labels: | |
app.kubernetes.io/version: "0.1" | |
annotations: | |
tekton.dev/categories: Image Build | |
tekton.dev/pipelines.minVersion: "0.17.0" | |
tekton.dev/tags: image-build |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
apiVersion: tekton.dev/v1beta1 | |
kind: ClusterTask | |
metadata: | |
name: func-buildpacks | |
labels: | |
app.kubernetes.io/version: "0.1" | |
annotations: | |
tekton.dev/categories: Image Build | |
tekton.dev/pipelines.minVersion: "0.17.0" | |
tekton.dev/tags: image-build |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
apiVersion: v1 | |
kind: ConfigMap | |
metadata: | |
name: cluster-monitoring-config | |
namespace: openshift-monitoring | |
data: | |
config.yaml: | | |
enableUserWorkload: true | |
--- | |
apiVersion: v1 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
apiVersion: v1 | |
kind: ConfigMap | |
metadata: | |
name: cluster-monitoring-config | |
namespace: openshift-monitoring | |
data: | |
config.yaml: | | |
enableUserWorkload: true | |
--- | |
apiVersion: v1 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
apiVersion: v1 | |
kind: ConfigMap | |
metadata: | |
name: cluster-monitoring-config | |
namespace: openshift-monitoring | |
data: | |
config.yaml: | | |
enableUserWorkload: true | |
--- | |
apiVersion: v1 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
apiVersion: v1 | |
kind: ConfigMap | |
metadata: | |
name: cluster-monitoring-config | |
namespace: openshift-monitoring | |
data: | |
config.yaml: | | |
enableUserWorkload: true | |
--- | |
apiVersion: v1 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
apiVersion: v1 | |
kind: ConfigMap | |
metadata: | |
name: cluster-monitoring-config | |
namespace: openshift-monitoring | |
data: | |
config.yaml: | | |
techPreviewUserWorkload: | |
enabled: true | |
prometheusUserWorkload: |
NewerOlder