Files
claude-code/templates/NOTES.txt
T
claude cd7092be17
Helm Chart Release / release-chart (push) Successful in 7s
Build Session Image / build-push (push) Successful in 2m3s
feat: Service を LoadBalancer 対応にしローカル LB の IP で管理画面へアクセス可能に (v2.1.263-a)
- templates/service.yaml: service.type 既定を LoadBalancer に。annotations
  (kube-vip の VIP 指定等) / loadBalancerIP / loadBalancerClass /
  loadBalancerSourceRanges / externalTrafficPolicy / nodePort / labels を追加。
  Ingress 機能は変更なし(LoadBalancer と併用可)
- values.yaml / values.schema.json: service ブロックを拡張
- templates/NOTES.txt: LoadBalancer の EXTERNAL-IP 案内を追加
- examples/loadbalancer-oauth.values.yaml: Ingress 無効 + LB + source range 制限 +
  サブスクリプション認証 (authMode: oauth) の構成例を追加
- README: 「Claude 認証(API 課金なし / サブスクリプション)」「管理画面への
  アクセス(LoadBalancer / Ingress)」セクションを追加。claude setup-token →
  anthropic.authMode: oauth(CLAUDE_CODE_OAUTH_TOKEN 注入)でローカル実行と同一挙動
- helm lint / template 検証済み
2026-09-08 14:01:34 +09:00

66 lines
3.3 KiB
Plaintext
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
claude-code ({{ .Chart.Version }}) をデプロイしました。
制御プレーン : {{ include "claude-code.fullname" . }} (namespace: {{ .Release.Namespace }})
セッション NS : {{ include "claude-code.sessionsNamespace" . }}
セッション像 : {{ .Values.image.session.registry }}/{{ .Values.image.session.repository }}:{{ .Values.image.session.tag }}
認証モード : {{ .Values.auth.mode }}
アイドル破棄 : {{ .Values.session.idleTimeoutSeconds }}s / 最大寿命 {{ .Values.session.maxLifetimeSeconds }}s / 同時 {{ .Values.session.maxSessions }}
アクセス方法:
{{- if .Values.ingress.enabled }}
{{- range .Values.ingress.hosts }}
https://{{ .host }}/
{{- end }}
{{- end }}
{{- if eq .Values.service.type "LoadBalancer" }}
ロードバランサーの IP を確認してブラウザで開いてください:
kubectl -n {{ .Release.Namespace }} get svc {{ include "claude-code.fullname" . }} -w
→ http://<EXTERNAL-IP>:{{ .Values.service.port }}/
{{- with .Values.service.loadBalancerSourceRanges }}
(接続元は {{ join ", " . }} に制限されています)
{{- end }}
{{- else if not .Values.ingress.enabled }}
kubectl -n {{ .Release.Namespace }} port-forward svc/{{ include "claude-code.fullname" . }} 8080:{{ .Values.service.port }}
→ http://localhost:8080/
{{- end }}
{{- if eq .Values.auth.mode "token" }}
アクセストークンの取得:
kubectl -n {{ .Release.Namespace }} get secret {{ include "claude-code.authSecretName" . }} \
-o jsonpath='{.data.{{ .Values.auth.token.existingSecretKey | default "token" }}}' | base64 -d ; echo
UI の「アクセストークン」欄に貼り付けるか、`?token=<TOKEN>` を付けて開いてください。
{{- else if eq .Values.auth.mode "basic" }}
Basic 認証のユーザーでログインしてください。
{{- else if eq .Values.auth.mode "forward" }}
外部認証プロキシ({{ .Values.auth.forward.url }})経由でログインしてください。
{{- else }}
⚠ auth.mode=none — 認証なしで公開されています。信頼済みネットワーク限定で使用してください。
{{- end }}
{{- if and (not .Values.anthropic.existingSecret) (not .Values.anthropic.apiKey) (not .Values.anthropic.oauthToken) }}
⚠ Claude Code の認証情報が未設定です(anthropic.apiKey / oauthToken / existingSecret のいずれも空)。
セッション内の `claude` は認証に失敗します。`--set anthropic.apiKey=...` で再適用してください。
{{- end }}
{{- if not .Values.git.identities }}
⚠ git.identities が未設定です。公開リポジトリの clone のみ可能です。
GitHub / Gitea へ push するには values に SSH 鍵か HTTPS トークンを登録してください(README 参照)。
{{- end }}
使い方:
1. UI で「リポジトリ URL」「ブランチ」「認証 identity」を指定してセッション作成
2. 一覧の「開く」でブラウザ内ターミナル(Claude Code)に接続
3. セッション内で `claude-verify` / `claude-push` が利用可能
4. 無操作 {{ .Values.session.idleTimeoutSeconds }}s でセッション(Pod)は自動破棄されます
許可された Git ホスト: {{ join ", " .Values.git.allowedHosts }}
{{- if .Values.git.allowArbitraryRepos }}
(allowArbitraryRepos=true のため任意ホストを許可)
{{- end }}