Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs(argo-cd): Add Openshift 4 specific Route command to NOTES.txt #855

Closed
wants to merge 12 commits into from

Conversation

shshanmu
Copy link

@shshanmu shshanmu commented Aug 2, 2021

Added Openshift specific commands for making server UI accessable.

Note on DCO:

If the DCO action in the integration test fails, one or more of your commits are not signed off. Please click on the Details link next to the DCO action for instructions on how to resolve this.

Checklist:

  • I have bumped the chart version according to versioning
  • I have updated the chart changelog with all the changes that come with this pull request according to changelog.
  • Any new values are backwards compatible and/or have sensible default.
  • I have signed off all my commits as required by DCO.
  • My build is green (troubleshooting builds).

Changes are automatically published when merged to master. They are not published on branches.

Added Openshift specific commands for making server UI accessable.
shshanmu and others added 4 commits August 2, 2021 12:23
Co-authored-by: David J. M. Karlsen <david@davidkarlsen.com>
Added Openshift specific commands for making server UI accessable.

Signed-off-by: Shabin Shanmugalingam <shabin.shanmugalingam@t-systems.com>
Signed-off-by: smcavallo <smcavallo@hotmail.com>
Signed-off-by: Shabin Shanmugalingam <shabin.shanmugalingam@t-systems.com>
Chnaged appVersion and added new annotation.
@github-actions github-actions bot added size/S and removed size/XS labels Aug 2, 2021
@shshanmu shshanmu closed this Aug 2, 2021
@shshanmu shshanmu reopened this Aug 2, 2021
Aditya Menon and others added 6 commits August 2, 2021 19:06
argoproj#846)

Co-authored-by: Marco Kilchhofer <mkilchhofer@users.noreply.github.com>
Signed-off-by: Shabin Shanmugalingam <shabin.shanmugalingam@t-systems.com>
Signed-off-by: smcavallo <smcavallo@hotmail.com>
Signed-off-by: Shabin Shanmugalingam <shabin.shanmugalingam@t-systems.com>
…j#849)

Signed-off-by: Lucas Bickel <lucas.bickel@adfinis.com>
Signed-off-by: Shabin Shanmugalingam <shabin.shanmugalingam@t-systems.com>
Co-authored-by: David J. M. Karlsen <david@davidkarlsen.com>
Signed-off-by: Shabin Shanmugalingam <shabin.shanmugalingam@t-systems.com>
In case you are deploying on openshift 4
3. You have to use the Openshift Routes. For that use folowing command:

oc create route passthrough YOUR_ROUTE_NAME --service=YOUR_SERVICE --port=https --insecure-policy=Redirect
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why hardcoding a dummy name for service? You have access to helm templating here. Please use:

Suggested change
oc create route passthrough YOUR_ROUTE_NAME --service=YOUR_SERVICE --port=https --insecure-policy=Redirect
oc create route passthrough YOUR_ROUTE_NAME --service={{ template "argo-cd.server.fullname" . }} --port=https --insecure-policy=Redirect

@mkilchhofer mkilchhofer changed the title Update NOTES.txt docs(argo-cd): Add Openshift 4 specific Route command to NOTES.txt Aug 7, 2021
@@ -8,6 +8,14 @@ In order to access the server UI you have the following options:
- Add the annotation for ssl passthrough: https://github.com/argoproj/argo-cd/blob/master/docs/operator-manual/ingress.md#option-1-ssl-passthrough
- Add the `--insecure` flag to `server.extraArgs` in the values file and terminate SSL at your ingress: https://github.com/argoproj/argo-cd/blob/master/docs/operator-manual/ingress.md#option-2-multiple-ingress-objects-and-hosts

In case you are deploying on openshift 4
Copy link
Member

@mkilchhofer mkilchhofer Sep 16, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
In case you are deploying on openshift 4
{{- if .Values.openshift.enabled }}
In case you are deploying on openshift 4

Also, we should use the conditional to not print this message on all non-OSE environments.

@mkilchhofer mkilchhofer marked this pull request as draft September 16, 2021 18:53
@mkilchhofer
Copy link
Member

I'll close this one as there is no activity for more than one month. Feel free to reopen it or file a new one if needed.

But thank you anyway for contributing to this project. 🙏

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants