auth
무료Authentication and authorization patterns for Rossoctl services
한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.
Run pre-flight checks for HyperShift CI. Verifies tools, AWS auth, OpenShift permissions, and configuration.
한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.
실행 점수 미검증
설치 방법 보기설치하기 전에 에이전트에게 전달되는 지시 내용을 확인할 수 있습니다.
Verify all prerequisites for HyperShift cluster provisioning before running setup or creating clusters.
# Run all pre-flight checks
./.github/scripts/hypershift/preflight-check.sh
jq - JSON processoraws - AWS CLIoc - OpenShift CLIhcp - HyperShift CLI (optional, installed by local-setup.sh)ansible-playbook - Ansible automationansible-galaxy - Ansible collection manager╔════════════════════════════════════════════════════════════════╗
║ HyperShift CI Pre-flight Check ║
╚════════════════════════════════════════════════════════════════╝
→ Checking tools for setup...
✓ jq: jq-1.7.1
✓ aws: aws-cli/2.x.x
✓ oc: Client Version: 4.x.x
→ Checking tools for cluster creation...
✓ hcp: v4.x.x
✓ ansible-playbook: ansible-playbook 2.x.x
✓ ansible-galaxy: available
→ Checking AWS authentication...
✓ AWS authenticated: arn:aws:iam::xxx:user/xxx
→ Checking AWS IAM permissions for setup...
✓ AWS identity: arn:aws:iam::xxx:user/xxx
✓ AWS IAM: Can create policies
✓ AWS IAM: Can create roles
→ Checking OpenShift authentication...
✓ OpenShift authenticated: xxx @ https://xxx
→ Checking OpenShift permissions...
✓ Can create ClusterRoles
✓ Can create ClusterRoleBindings
✓ Can read secrets in openshift-config namespace
→ Checking HyperShift installation...
✓ HyperShift CRD found - HyperShift is installed
→ Checking HyperShift operator OIDC configuration...
✓ HyperShift operator has OIDC S3 configured
→ Checking pull secret accessibility...
✓ Pull secret valid (5 registries configured)
→ Checking base domain discovery...
✓ Base domain: octo-emerging.redhataicoe.com
→ Checking Route53 public hosted zone...
✓ Route53 public hosted zone found
╔════════════════════════════════════════════════════════════════╗
║ All checks passed! Ready to run setup script. ║
╚════════════════════════════════════════════════════════════════╝
# Install jq
brew install jq # macOS
sudo apt install jq # Ubuntu
# Install AWS CLI
# https://aws.amazon.com/cli/
# Install oc
# https://mirror.openshift.com/pub/openshift-v4/clients/ocp/
# Install ansible
pip install ansible-core
# Configure AWS credentials
aws configure
# Or set environment variables
export AWS_ACCESS_KEY_ID="xxx"
export AWS_SECRET_ACCESS_KEY="xxx"
export AWS_REGION="us-east-1"
# Error: Logged in as CI user. Setup requires IAM admin.
# Fix: Unset CI credentials
unset AWS_ACCESS_KEY_ID AWS_SECRET_ACCESS_KEY
# Use your admin profile
aws configure list
# Login to management cluster
oc login https://api.<management-cluster>:6443
# Verify
oc whoami
oc whoami --show-server
Error: HyperShift CRD not found.
This means the management cluster doesn't have HyperShift installed. Contact cluster admin or use a different management cluster.
Error: HyperShift operator MISSING OIDC S3 configuration!
The operator was upgraded and lost OIDC config. Follow the fix instructions in the preflight output (requires cluster-admin).
Error: No PUBLIC Route53 hosted zone found for xxx
HyperShift requires a public hosted zone for DNS. Either:
aws sts get-caller-identity
oc auth can-i create clusterroles
oc auth can-i create clusterrolebindings
oc auth can-i get secrets -n openshift-config
oc get crd hostedclusters.hypershift.openshift.io
oc get deployment operator -n hypershift \
-o jsonpath='{.spec.template.spec.containers[0].args}' | tr ',' '\n' | grep oidc
aws route53 list-hosted-zones \
--query "HostedZones[?Config.PrivateZone==\`false\`].Name" \
--output table
If all checks pass:
# Setup credentials (first time only)
./.github/scripts/hypershift/setup-hypershift-ci-credentials.sh
# Setup local tools
./.github/scripts/hypershift/local-setup.sh
# Create cluster
./.github/scripts/hypershift/create-cluster.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
한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.