Skip to content
This repository has been archived by the owner on Feb 22, 2022. It is now read-only.

[stable/drone] fixing server.protocol and NOTES.txt #10971

Merged
merged 1 commit into from
Jan 29, 2019
Merged

[stable/drone] fixing server.protocol and NOTES.txt #10971

merged 1 commit into from
Jan 29, 2019

Conversation

max-rocket-internet
Copy link
Contributor

What this PR does / why we need it:

I think this value should be without ://?

Also updating NOTES.txt to use this value when ingress is used.

Checklist

[Place an '[x]' (no spaces) in all applicable fields. Please remove unrelated fields.]

  • DCO signed
  • Chart Version bumped
  • Variables are documented in the README.md

Signed-off-by: Max Williams <max.williams@deliveryhero.com>
@helm-bot helm-bot added Contribution Allowed If the contributor has signed the DCO or the CNCF CLA (prior to the move to a DCO). size/S Denotes a PR that changes 10-29 lines, ignoring generated files. labels Jan 29, 2019
@max-rocket-internet
Copy link
Contributor Author

/assign @christian-roggia

@@ -6,7 +6,7 @@
{{- if .Values.ingress.enabled }}
From outside the cluster, the server URL(s) are:
{{- range .Values.ingress.hosts }}
http://{{ . }}
{{ $.Values.server.protocol }}://{{ . }}
Copy link
Collaborator

Choose a reason for hiding this comment

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

Why the $ before .Values.server.protocol?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Because of the scope. Here we are in a loop so you can't access the parent scope without it. You get this error without it:

Error: render error in "drone/templates/NOTES.txt": template: drone/templates/NOTES.txt:9:8: executing "drone/templates/NOTES.txt" at <.>: can't give argument to non-function .

@christian-roggia
Copy link
Collaborator

/lgtm

@k8s-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: christian-roggia, max-rocket-internet

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@k8s-ci-robot k8s-ci-robot added lgtm Indicates that a PR is ready to be merged. approved Indicates a PR has been approved by an approver from all required OWNERS files. labels Jan 29, 2019
@k8s-ci-robot k8s-ci-robot merged commit 6cfd5ba into helm:master Jan 29, 2019
@max-rocket-internet max-rocket-internet deleted the drone_proto branch January 29, 2019 15:00
syedimam0012 pushed a commit to syedimam0012/charts that referenced this pull request Feb 1, 2019
Signed-off-by: Max Williams <max.williams@deliveryhero.com>
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. Contribution Allowed If the contributor has signed the DCO or the CNCF CLA (prior to the move to a DCO). lgtm Indicates that a PR is ready to be merged. size/S Denotes a PR that changes 10-29 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants