File tree Expand file tree Collapse file tree 5 files changed +15
-17
lines changed Expand file tree Collapse file tree 5 files changed +15
-17
lines changed Original file line number Diff line number Diff line change 1818 registry-server : ghcr.io
1919 registry-username : ${{ github.actor }}
2020 image : ${{ github.repository }}
21- version : 1.15.0
21+ version : 1.15.0+kadras.1
2222 secrets :
2323 pull-request-token : ${{ secrets.GH_ORG_PAT }}
Original file line number Diff line number Diff line change @@ -28,7 +28,7 @@ schema:
2828
2929# Use kbld to resolve the OCI images referenced within the manifests
3030kbld :
31- rm -f package/.imgpkg/images.yml && mkdir -p package/.imgpkg && kbld --file package/config --imgpkg-lock-output package/.imgpkg/images.yml 1>> /dev/null
31+ rm -f package/.imgpkg/images.yml && mkdir -p package/.imgpkg && ytt --file package/config | kbld -f- --imgpkg-lock-output package/.imgpkg/images.yml 1>> /dev/null
3232
3333# Check the ytt-annotated Kubernetes configuration and its validation
3434test-config :
Original file line number Diff line number Diff line change @@ -5,9 +5,15 @@ kind: Config
55# Search rules specify custom strategies for kbld to identify references for container images.
66# See more about the search rules: https://carvel.dev/kbld/docs/latest/config/#search-rules.
77searchRules :
8-
9- # Resolves the image references from the specified OCI repository,
10- # even when included in non-standard locations such as values in
11- # environment variables.
12- - valueMatcher :
13- imageRepo : quay.io/jetstack/cert-manager-acmesolver
8+
9+ # ! Some of the OCI images used by this package are defined as arguments to containers.
10+ # ! We change the configuration to pass the image reference via configuration file
11+ # ! so that can be discovered and its digest resolved by kbld. It's a pre-requisite for supporting
12+ # ! package relocation to another registry and air-gapped scenarios.
13+ - keyMatcher :
14+ name : config.yaml
15+ updateStrategy :
16+ yaml :
17+ searchRules :
18+ - keyMatcher :
19+ path : [ acmeHTTP01Config, solverImage ]
Original file line number Diff line number Diff line change @@ -18,10 +18,6 @@ logging:
1818 verbosity : # @ data.values.controller.loglevel
1919 format : text
2020
21- # ! Some of the OCI images used by this package are defined as arguments to containers.
22- # ! We change the configuration to pass the image reference via configuration file
23- # ! so that can be discovered and its digest resolved by kbld. It's a pre-requisite for supporting
24- # ! package relocation to another registry and air-gapped scenarios.
2521acmeHTTP01Config :
2622 solverImage : quay.io/jetstack/cert-manager-acmesolver:v1.15.0
2723# @ end
Original file line number Diff line number Diff line change 1212 template :
1313 spec :
1414 deploy :
15- - kapp :
16- rawOptions :
17- - --wait-timeout=5m
18- - --kube-api-qps=25
19- - --kube-api-burst=50
15+ - kapp : {}
2016 fetch :
2117 - git : {}
2218 template :
You can’t perform that action at this time.
0 commit comments