Skip to content

Commit e702867

Browse files
Update HTTP links to HTTPS in docs and source comments (#3617)
* docs: update HTTP links to HTTPS Replace insecure HTTP URLs with HTTPS in a source comment and Rust cloudevents README examples. Both kubernetes.io and cloudevents.io support HTTPS. * Update pkg/functions/function_volumes.go Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> * chore: regenerate embedded filesystem after rebase onto upstream/main Re-runs go generate to produce zz_filesystem_generated.go that includes both the upstream python cloudevents update and our http-to-https fixes. * chore: regenerate schema after http-to-https link update --------- Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
1 parent 26faef5 commit e702867

4 files changed

Lines changed: 37 additions & 37 deletions

File tree

generate/zz_filesystem_generated.go

Lines changed: 33 additions & 33 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pkg/functions/function_volumes.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ type EmptyDir struct {
3535
// The maximum usage on memory medium EmptyDir would be the minimum value between
3636
// the SizeLimit specified here and the sum of memory limits of all containers in a pod.
3737
// The default is nil which means that the limit is undefined.
38-
// More info: http://kubernetes.io/docs/user-guide/volumes#emptydir
38+
// More info: https://kubernetes.io/docs/concepts/storage/volumes#emptydir
3939
SizeLimit *string `yaml:"sizeLimit,omitempty"`
4040
}
4141

schema/func_yaml-schema.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@
136136
},
137137
"sizeLimit": {
138138
"type": "string",
139-
"description": "sizeLimit is the total amount of local storage required for this EmptyDir volume.\nThe size limit is also applicable for memory medium.\nThe maximum usage on memory medium EmptyDir would be the minimum value between\nthe SizeLimit specified here and the sum of memory limits of all containers in a pod.\nThe default is nil which means that the limit is undefined.\nMore info: http://kubernetes.io/docs/user-guide/volumes#emptydir"
139+
"description": "sizeLimit is the total amount of local storage required for this EmptyDir volume.\nThe size limit is also applicable for memory medium.\nThe maximum usage on memory medium EmptyDir would be the minimum value between\nthe SizeLimit specified here and the sum of memory limits of all containers in a pod.\nThe default is nil which means that the limit is undefined.\nMore info: https://kubernetes.io/docs/concepts/storage/volumes#emptydir"
140140
}
141141
},
142142
"additionalProperties": false,

templates/rust/cloudevents/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ curl -v -d '{"name": "Bootsy"}' \
3939
-H'content-type: application/json' \
4040
-H'ce-specversion: 1.0' \
4141
-H'ce-id: 1' \
42-
-H'ce-source: http://cloudevents.io' \
42+
-H'ce-source: https://cloudevents.io' \
4343
-H'ce-type: dev.knative.example' \
4444
http://localhost:8080
4545
```
@@ -64,7 +64,7 @@ curl -v -d '{"name": "Bootsy"}' \
6464
-H'content-type: application/json' \
6565
-H'ce-specversion: 1.0' \
6666
-H'ce-id: 1' \
67-
-H'ce-source: http://cloudevents.io' \
67+
-H'ce-source: https://cloudevents.io' \
6868
-H'ce-type: dev.knative.example' \
6969
$(func info -o url)
7070
```

0 commit comments

Comments
 (0)