Skip to content

Commit

Permalink
fix: HAWTIO_ONLINE_AUTH is required in the gateway for form mode
Browse files Browse the repository at this point in the history
* The property HAWTIO_ONLINE_AUTH determine which auth mode is being used.
  For k8s, 'form' must be used and this must be carried through to the
  gateway since there are URLs called by the gateway that use OpenShift API
  if the value of the var is not 'form'
  • Loading branch information
phantomjinx committed Dec 4, 2024
1 parent 6a1fc1a commit c38e8ac
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
4 changes: 4 additions & 0 deletions deploy/k8s/cluster/patch-deployment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,7 @@ spec:
value: form
- name: HAWTIO_ONLINE_MODE
value: cluster
- name: hawtio-online-gateway
env:
- name: HAWTIO_ONLINE_AUTH
value: form
4 changes: 4 additions & 0 deletions deploy/k8s/namespace/patch-deployment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,3 +19,7 @@ spec:
valueFrom:
fieldRef:
fieldPath: metadata.namespace
- name: hawtio-online-gateway
env:
- name: HAWTIO_ONLINE_AUTH
value: form

0 comments on commit c38e8ac

Please sign in to comment.