auth
무료Authentication and authorization patterns for Rossoctl services
한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.
Setup local environment for HyperShift testing. Installs hcp CLI, ansible collections, and configures credentials.
한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.
실행 점수 미검증
설치 방법 보기설치하기 전에 에이전트에게 전달되는 지시 내용을 확인할 수 있습니다.
Setup the local development environment for HyperShift cluster provisioning.
Before running setup:
pip install ansible-core# 1. Run preflight check first
./.github/scripts/hypershift/preflight-check.sh
# 2. Setup credentials (requires IAM admin - first time only)
./.github/scripts/hypershift/setup-hypershift-ci-credentials.sh
# 3. Setup local tools
./.github/scripts/hypershift/local-setup.sh
.env.rossoctl-hypershift-custom or .env.hypershift-ci~/.local/bin~/.pullsecret.json# Run the setup script
./.github/scripts/hypershift/local-setup.sh
Expected output:
✓ Loaded credentials from .env.rossoctl-hypershift-custom
✓ hcp CLI installed to ~/.local/bin
✓ Cloned to .../hypershift-automation
✓ Ansible collections installed
✓ Python dependencies installed
✓ Pull secret saved to ~/.pullsecret.json
✓ Management kubeconfig verified
# Create your first cluster
./.github/scripts/hypershift/create-cluster.sh
# Or run full test workflow
./.github/scripts/local-setup/hypershift-full-test.sh --skip-cluster-destroy
If automatic download fails:
# 1. Get the console downloads URL
oc get consoleclidownloads hcp-cli-download -o jsonpath='{.spec.links}'
# 2. Download from OpenShift console
# Go to: ? → Command Line Tools → Download hcp CLI
# 3. Extract to ~/.local/bin
tar -xzf hcp-*.tar.gz && mv hcp ~/.local/bin/
chmod +x ~/.local/bin/hcp
# 4. Add to PATH (add to ~/.zshrc or ~/.bashrc)
export PATH="$HOME/.local/bin:$PATH"
ansible-galaxy collection install kubernetes.core amazon.aws community.general --force-with-deps
pip install boto3 botocore kubernetes openshift PyYAML
cd ..
git clone -b add-additional-tags-support https://github.com/Ladas/hypershift-automation.git
The setup creates .env.rossoctl-hypershift-custom (or .env.hypershift-ci):
# AWS credentials (scoped to MANAGED_BY_TAG)
export AWS_ACCESS_KEY_ID="..."
export AWS_SECRET_ACCESS_KEY="..."
export AWS_REGION="us-east-1"
# Cluster configuration
export MANAGED_BY_TAG="rossoctl-hypershift-custom"
export BASE_DOMAIN="octo-emerging.redhataicoe.com"
export HCP_ROLE_NAME="rossoctl-hypershift-custom-hcp-role"
# Management cluster access
export KUBECONFIG="$HOME/.kube/rossoctl-hypershift-ci-mgmt.kubeconfig"
# Pull secret (for accessing Red Hat registries)
export PULL_SECRET='{"auths":{...}}'
# Check hcp CLI
hcp version
# Check ansible
ansible-playbook --version
ansible-galaxy collection list | grep -E "kubernetes|amazon|community"
# Check AWS credentials
aws sts get-caller-identity
# Check management cluster access
source .env.rossoctl-hypershift-custom
oc get hostedclusters -n clusters
# Add ~/.local/bin to PATH
export PATH="$HOME/.local/bin:$PATH"
# Check if installed
ls -la ~/.local/bin/hcp
# Reinstall collections
ansible-galaxy collection install kubernetes.core amazon.aws community.general --force
# Check sibling directory
ls -la ../hypershift-automation
# Re-run setup
./.github/scripts/hypershift/local-setup.sh
# Verify credentials work
source .env.rossoctl-hypershift-custom
aws sts get-caller-identity
# If using wrong credentials (e.g., CI instead of admin)
unset AWS_ACCESS_KEY_ID AWS_SECRET_ACCESS_KEY
# Re-login to management cluster
oc login <management-cluster-url>
# Re-run credentials setup
./.github/scripts/hypershift/setup-hypershift-ci-credentials.sh
.github/scripts/local-setup/README.md - Local setup documentation아직 리뷰가 없습니다. 사용해 본 소감을 남겨 주세요.
로그인 없이 쓸 수 있습니다. 사용 후기, 질문, 작동하지 않은 환경 등을 편하게 남겨 주세요.
아직 댓글이 없습니다. 첫 댓글을 남겨 보세요.
Authentication and authorization patterns for Rossoctl services
한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.
Create confidential OAuth2 clients in Keycloak for server-to-service authentication
한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.
Configure MLflow with mlflow-oidc-auth plugin for Keycloak OIDC authentication
한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.
Configure OpenTelemetry Collector with OAuth2 authentication for trace export
한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.
CI pipeline monitoring, status checks, and PR validation workflows
한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.
Monitor running CI jobs, wait for completion, create tasks for results
한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.