Skip to content

Instantly share code, notes, and snippets.

View rcarrata's full-sized avatar
🛠️

Roberto Carratalá rcarrata

🛠️
View GitHub Profile
@rcarrata
rcarrata / check_certs.sh
Created June 14, 2022 15:05
Check Certificates from OpenShift 4
#!/bin/bash
API=$(oc whoami --show-server | cut -d '/' -f3-)
APPS=$(oc whoami --show-console | cut -d '.' -f2-)
APPS_ROUTE="*.$APPS:443"
echo "## Certificate for $APPS_ROUTE"
echo | openssl s_client -connect $APPS_ROUTE | openssl x509 -noout -text
echo "--------------------------------"
echo ""
@rcarrata
rcarrata / hibernate.md
Last active July 22, 2022 10:15
Hibernate Clusters with OpenShift Cluster Manager (OCM)
@rcarrata
rcarrata / hcp-rosa.md
Last active April 16, 2024 21:14
Hosted Control Planes for ROSA HCP

HyperShift

  • Set environment variables
CLUSTER_NAME="rosa-hcp-rcs"
PREFIX_NAME="hcp-rcs"
REGION="us-east-1"
VERSION="4.14.9"
USER=rcarrata
@rcarrata
rcarrata / appgw_aro.md
Created July 18, 2023 08:32
Application GW Load Balancer in ARO

Application GW Load Balancer in ARO

  • Set environment variables useful for this guide:
export NAMESPACE=aro-agw
export AZR_CLUSTER=aro-$USER
export AZR_RESOURCE_LOCATION=eastus
export AZR_RESOURCE_GROUP=aro-$USER-rg
export AppGW_CIDR="10.0.10.0/23"