-
Notifications
You must be signed in to change notification settings - Fork 46
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
ChartRepo改为使用OCI后,无法正确部署Chart #130
Comments
|
1、是用helm package命令打包生成的tgz包 |
嗯,应该是helm版本的问题,我加你了,通过下吧。 |
以用之前Repo方式时,可以正常部署,因为安全问题升级Repo为OCI,代码也按照文档进行了相应的修改,用之前Chart包进行测试,发现无法正确部署,使用kubectl get hr -n test查看显示Failed,使用kubectl describe hr test-server -n test查看显示如下信息:
Name: test-server
Namespace: test
Labels:
Annotations:
API Version: app.alauda.io/v1
Kind: HelmRequest
Metadata:
Creation Timestamp: 2024-02-26T07:11:33Z
Finalizers:
captain.cpaas.io
Generation: 1
Managed Fields:
API Version: app.alauda.io/v1
Fields Type: FieldsV1
fieldsV1:
f:metadata:
f:annotations:
.:
f:kubectl.kubernetes.io/last-applied-configuration:
f:spec:
.:
f:namespace:
f:releaseName:
f:source:
.:
f:oci:
.:
f:repo:
f:secretRef:
f:version:
Manager: kubectl-client-side-apply
Operation: Update
Time: 2024-02-26T07:11:33Z
API Version: app.alauda.io/v1
Fields Type: FieldsV1
fieldsV1:
f:metadata:
f:finalizers:
.:
v:"captain.cpaas.io":
f:status:
.:
f:phase:
f:reason:
Manager: manager
Operation: Update
Time: 2024-02-27T01:54:38Z
Resource Version: 120895991
Self Link: /apis/app.alauda.io/v1/namespaces/abc-dev/helmrequests/test-server
UID: 61579eaf-3457-4fb3-9a88-9cc4c5b56821
Spec:
Namespace: test
Release Name: test-server
Source:
Oci:
Repo: devtest.chartrepo.com/chart-lh/test-server
Secret Ref: secretocirepo
Version: 0.1.8
Status:
Phase: Failed
Reason: manifest does not contain a layer with mediatype application/tar+gzip
Events:
Type Reason Age From Message
Warning FailedSync 59s (x85 over 18h) captain manifest does not contain a layer with mediatype application/tar+gzip
The text was updated successfully, but these errors were encountered: