auth
無料Authentication and authorization patterns for Rossoctl services
日本語の概要は準備中です。原文の説明を表示しています。
Manage OpenShift routes for external access to services
日本語の概要は準備中です。原文の説明を表示しています。
実行スコア 未検証
インストール方法を見るインストールする前に、エージェントに与えられる指示の中身を確認できます。
Manage OpenShift routes for exposing services externally.
# All routes
oc get routes -A
# Routes in namespace
oc get routes -n <namespace>
# Route details
oc describe route <route-name> -n <namespace>
# Simple route (edge TLS)
oc expose svc/<service-name> -n <namespace>
# With custom hostname
oc expose svc/<service-name> -n <namespace> --hostname=myapp.example.com
# Edge TLS (terminate at router)
oc create route edge <route-name> --service=<service-name> -n <namespace>
# Passthrough TLS (end-to-end)
oc create route passthrough <route-name> --service=<service-name> -n <namespace>
# Reencrypt TLS
oc create route reencrypt <route-name> --service=<service-name> \
--dest-ca-cert=ca.crt -n <namespace>
# Get host
oc get route <route-name> -n <namespace> -o jsonpath='{.spec.host}'
# Full URL
echo "https://$(oc get route <route-name> -n <namespace> -o jsonpath='{.spec.host}')"
# Test access
curl -k "https://$(oc get route <route-name> -n <namespace> -o jsonpath='{.spec.host}')"
# Add TLS
oc patch route <route-name> -n <namespace> -p '{"spec":{"tls":{"termination":"edge"}}}'
# Change target port
oc patch route <route-name> -n <namespace> -p '{"spec":{"port":{"targetPort":"8080-tcp"}}}'
# Set path
oc patch route <route-name> -n <namespace> -p '{"spec":{"path":"/api"}}'
| Type | Description | Use Case |
|---|---|---|
edge | TLS terminates at router | Most common, router handles certs |
passthrough | TLS passes to pod | Pod handles TLS, end-to-end encryption |
reencrypt | TLS at router, re-encrypts to pod | High security, pod has different cert |
# Check route status
oc describe route <route-name> -n <namespace>
# Check service exists
oc get svc <service-name> -n <namespace>
# Check service has endpoints
oc get endpoints <service-name> -n <namespace>
# Check pod is running
oc get pods -n <namespace> -l <selector>
# Check router logs
oc logs -n openshift-ingress deployment/router-default | grep <route-host>
# Check route TLS config
oc get route <route-name> -n <namespace> -o jsonpath='{.spec.tls}'
# Check certificate expiry
echo | openssl s_client -connect <route-host>:443 2>/dev/null | openssl x509 -noout -dates
# View certificate
echo | openssl s_client -connect <route-host>:443 2>/dev/null | openssl x509 -noout -text
# Check DNS resolution
nslookup <route-host>
dig <route-host>
# Check wildcard DNS
oc get ingresscontroller default -n openshift-ingress-operator -o jsonpath='{.status.domain}'
# Create route for UI
oc expose svc/rossoctl-ui -n rossoctl-system
# Get URL
echo "https://$(oc get route rossoctl-ui -n rossoctl-system -o jsonpath='{.spec.host}')"
# Create edge route with TLS
oc create route edge weather-service \
--service=weather-service \
-n team1
# Get agent URL
export AGENT_URL="https://$(oc get route weather-service -n team1 -o jsonpath='{.spec.host}')"
まだレビューはありません。使ってみた感想をお寄せください。
ログインなしで書き込めます。使ってみた感想、質問、動かなかった環境などを気軽にどうぞ。
まだコメントはありません。最初のコメントを書いてみませんか。
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
日本語の概要は準備中です。原文の説明を表示しています。