Skip to content

Commit

Permalink
fix: Downgrade ArgoCD traffic to HTTP (#30)
Browse files Browse the repository at this point in the history
  • Loading branch information
julianxhokaxhiu authored Jan 23, 2023
1 parent f079338 commit 1a5b1c9
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Tiltfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ for env in ['KKA_REPO_NAME', 'KKA_REPO_HOST_PATH', 'KKA_REPO_NODE_PATH', 'KKA_RE
if os.getenv(env, '') == '': fail('Missing or empty {} env var. Did you run this project using the Makefile?'.format(env))

# ===== Internal variables =====
ARGOCD_EXTERNAL_PORT = os.getenv('KKA_ARGOCD_EXTERNAL_PORT', 8443)
ARGOCD_EXTERNAL_PORT = os.getenv('KKA_ARGOCD_EXTERNAL_PORT', 8080)
ISTIO_HTTP_PORT = os.getenv('KKA_ISTIO_HTTP_PORT', 7080)
ISTIO_HTTPS_PORT = os.getenv('KKA_ISTIO_HTTPS_PORT', 7443)

Expand Down Expand Up @@ -61,11 +61,11 @@ if os.getenv('KKA_DEPLOY_MINIMAL', 'false') == 'false':
## ArgoCD HTTPS port
local_resource(
'argocd-portforward',
serve_cmd='kubectl port-forward -n argocd svc/argocd-server {}:443'.format(ARGOCD_EXTERNAL_PORT),
serve_cmd='kubectl port-forward -n argocd svc/argocd-server {}:80'.format(ARGOCD_EXTERNAL_PORT),
links=['http://localhost:{}'.format(ARGOCD_EXTERNAL_PORT)],
readiness_probe=probe(
initial_delay_secs = 20,
timeout_secs = 1,
timeout_secs = 5,
period_secs = 10,
success_threshold = 1,
failure_threshold = 5,
Expand Down
4 changes: 4 additions & 0 deletions addons/argocd/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,10 @@ argocd-source:
applicationSet:
enabled: false

configs:
params:
server.insecure: true

dex:
enabled: false

Expand Down

0 comments on commit 1a5b1c9

Please sign in to comment.