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

feat(knative): bump to 1.15.2 #1517

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

feat(knative): bump to 1.15.2 #1517

wants to merge 1 commit into from

Conversation

mhrabovcin
Copy link
Contributor

What type of PR is this?

Feat

What this PR does/ why we need it:

Creates new knative chart with latest 1.15.2 version.

Which issue(s) this PR fixes:

https://jira.nutanix.com/browse/NCN-102804

Special notes for your reviewer:

Does this PR introduce a user-facing change?:


Checklist

  • If a chart is changed, the chart version is correctly incremented.
  • The commit message explains the changes and why are needed.
  • The code builds and passes lint/style checks locally.
  • The relevant subset of integration tests pass locally.
  • The core changes are covered by tests.
  • The documentation is updated where needed.

Copy link

@deepakm-ntnx deepakm-ntnx left a comment

Choose a reason for hiding this comment

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

could you please document the upstream location from where the template files are copied. would be good to add a script which one can run to download so that future upgrades are automated as much as possible.

@deepakm-ntnx
Copy link

can we point or list all the tests we run on such upgrade.

@@ -21,6 +21,9 @@ PATCH_1_FIX=$'# eg. \'{{ `{{.Name}}-{{.Namespace}}.{{ index .Annotations "sub"}}
PATCH_2=$'logging.request-log-template: \'{"httpRequest": {"requestMethod": "{{.Request.Method}}", "requestUrl": "{{js .Request.RequestURI}}", "requestSize": "{{.Request.ContentLength}}", "status": {{.Response.Code}}, "responseSize": "{{.Response.Size}}", "userAgent": "{{js .Request.UserAgent}}", "remoteIp": "{{js .Request.RemoteAddr}}", "serverIp": "{{.Revision.PodIP}}", "referer": "{{js .Request.Referer}}", "latency": "{{.Response.Latency}}s", "protocol": "{{.Request.Proto}}"}, "traceId": "{{index .Request.Header "X-B3-Traceid"}}"}\''
PATCH_2_FIX=$'logging.request-log-template: \'{"httpRequest": {"requestMethod": "{{ `{{.Request.Method}}", "requestUrl": "{{js .Request.RequestURI}}", "requestSize": "{{.Request.ContentLength}}", "status": {{.Response.Code}}, "responseSize": "{{.Response.Size}}", "userAgent": "{{js .Request.UserAgent}}", "remoteIp": "{{js .Request.RemoteAddr}}", "serverIp": "{{.Revision.PodIP}}", "referer": "{{js .Request.Referer}}", "latency": "{{.Response.Latency}}s", "protocol": "{{.Request.Proto}}"}, "traceId": "{{index .Request.Header "X-B3-Traceid"}}` }}"}\''

PATCH_3=$'# serving.knative.dev/revision: {{revision-name}}'
PATCH_3_FIX=$'# serving.knative.dev/revision: {{ `{{revision-name}}` }}'

# Base URLs
SERVING_URL=https://github.com/knative/serving/releases/download/knative-v${SERVING_TAG}

Choose a reason for hiding this comment

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

nvm, this is the upgrade location. found it

@deepakm-ntnx
Copy link

could you please document the upstream location from where the template files are copied. would be good to add a script which one can run to download so that future upgrades are automated as much as possible.

found it. https://github.com/mesosphere/charts/pull/1517/files#r1795775689
can we document the step by step process one does in order to get this upgrade done.

  1. update versions in upgrade_knative.sh
  2. run upgrade_knative.sh
  3. commit?

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

Successfully merging this pull request may close these issues.

2 participants