fix unittest

Signed-off-by: yxxhero <aiopsclub@163.com>
This commit is contained in:
yxxhero 2022-11-04 10:42:10 +08:00 committed by yxxhero
parent faf3444761
commit b0bb03a0ea
3 changed files with 14 additions and 6 deletions

View File

@ -2,9 +2,12 @@ Adding repo myrepo http://localhost:18080/
"myrepo" has been added to your repositories "myrepo" has been added to your repositories
Building dependency release=foo, chart=$WD/temp1/foo Building dependency release=foo, chart=$WD/temp1/foo
Saving 1 charts
Downloading raw from repo http://localhost:18080/
Deleting outdated charts
Templating release=foo, chart=$WD/temp1/foo Templating release=foo, chart=$WD/temp1/foo
--- ---
# Source: raw/templates/charts/dep/templates/resources.yaml
# Source: raw/charts/dep/templates/resources.yaml # Source: raw/charts/dep/templates/resources.yaml
apiVersion: v1 apiVersion: v1
kind: ConfigMap kind: ConfigMap
@ -15,7 +18,6 @@ data:
bar: BAR bar: BAR
--- ---
# Source: raw/templates/resources.yaml # Source: raw/templates/resources.yaml
# Source: raw/templates/resources.yaml
apiVersion: v1 apiVersion: v1
kind: ConfigMap kind: ConfigMap
metadata: metadata:

View File

@ -3,9 +3,12 @@ Adding repo myrepo http://localhost:18080/
"myrepo" has been added to your repositories "myrepo" has been added to your repositories
Building dependency release=foo, chart=$WD/temp1/foo Building dependency release=foo, chart=$WD/temp1/foo
Saving 1 charts
Downloading raw from repo http://localhost:18080/
Deleting outdated charts
Templating release=foo, chart=$WD/temp1/foo Templating release=foo, chart=$WD/temp1/foo
--- ---
# Source: raw/templates/charts/dep/templates/resources.yaml
# Source: raw/charts/dep/templates/resources.yaml # Source: raw/charts/dep/templates/resources.yaml
apiVersion: v1 apiVersion: v1
kind: ConfigMap kind: ConfigMap
@ -16,7 +19,6 @@ data:
bar: BAR bar: BAR
--- ---
# Source: raw/templates/resources.yaml # Source: raw/templates/resources.yaml
# Source: raw/templates/resources.yaml
apiVersion: v1 apiVersion: v1
kind: ConfigMap kind: ConfigMap
metadata: metadata:

View File

@ -1,7 +1,12 @@
Building dependency release=foo, chart=$WD/temp1/foo Building dependency release=foo, chart=$WD/temp1/foo
Saving 1 charts
Downloading raw from repo oci://localhost:5000/myrepo
Pulled: localhost:5000/myrepo/raw:0.1.0
Digest: $DIGEST
Deleting outdated charts
Templating release=foo, chart=$WD/temp1/foo Templating release=foo, chart=$WD/temp1/foo
--- ---
# Source: raw/templates/charts/dep/templates/resources.yaml
# Source: raw/charts/dep/templates/resources.yaml # Source: raw/charts/dep/templates/resources.yaml
apiVersion: v1 apiVersion: v1
kind: ConfigMap kind: ConfigMap
@ -12,7 +17,6 @@ data:
bar: BAR bar: BAR
--- ---
# Source: raw/templates/resources.yaml # Source: raw/templates/resources.yaml
# Source: raw/templates/resources.yaml
apiVersion: v1 apiVersion: v1
kind: ConfigMap kind: ConfigMap
metadata: metadata: