0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

ArgoCDのHTTPSを無効化する

Last updated at Posted at 2025-01-02

概要

ArgoCDをリバースプロキシ構成で、利用する際にはTLSを通信を無効化したい場合がある。ArgoCDを久しぶりにインストールを実施したら、過去の設定方法が使えなかったので、対象方法を残しておく。

対処方法

v2.1.0以前のバージョンの場合

apiVersion: apps/v1
kind: Deployment
metadata:
  name: argocd-server
spec:
  template:
    spec:
      containers:
        - name: argocd-server
          command:
            - argocd-server
            - --staticassets
            - /shared/app
            - --insecure (ここの行を追加)

v2.1.0以上のバージョンの場合

ConfigMapの修正

kubectl edit configmap argocd-cmd-params-cm
apiVersion: v1
kind: ConfigMap
~省略~
data:
  server.insecure: "true" (ここの行を追加)

ArgoCD serverの再起動

kubectl rollout restart deployment argocd-server

参考

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?