-
Notifications
You must be signed in to change notification settings - Fork 176
Closed
Description
Hello, I'm using in-cluster Gitea instance to manage git and container registry services.
kn func deploy --remote --git-url=http://user:[email protected]:3000/mindwm/mindwm-function --remote --image=gitea-http.gitea:3000/mindwm/mindwm-function:latest --registry-insecure
leads to
Error: creating push check transport for gitea-http.gitea:3000 failed: Get "https://gitea-http.gitea:3000/v2/": http: server gave HTTP response to HTTPS client
Error: exit status 1
Is there a way to specify that I'm using an HTTP plain registry?
my func.yaml
$ cat func.yaml
specVersion: 0.36.0
name: my-function
runtime: python
created: 2024-12-15T20:26:02.650229045+01:00
build:
git:
url: http://user:[email protected]:3000/mindwm/mindwm-function
revision: main
buildpacks: []
builder: ""
buildEnvs:
- name: CNB_INSECURE_REGISTRIES
value: gitea-http.gitea:3000
Environment:
$ kn func version
v0.43.1
$ tkn version
Client version: 0.39.0
Pipeline version: v0.49.0
I am not sure, but may be it's related buildpacks/lifecycle#524
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels