Skip to content

Commit

Permalink
Fix kustomize replacements (#337)
Browse files Browse the repository at this point in the history
- Bump kustomize validation to 4.5.4 in gh workflow
  • Loading branch information
afritzler authored Mar 30, 2022
1 parent 522258c commit a495e2e
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/kustomize-validation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,6 @@ jobs:
uses: actions/checkout@v3
- uses: imranismail/setup-kustomize@v1
with:
kustomize-version: 4.5.2
kustomize-version: 4.5.4
- run: |
./hack/validate_kustomize.sh
8 changes: 8 additions & 0 deletions config/default/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -58,20 +58,23 @@ replacements:
options:
delimiter: '/'
index: 0
create: true
- select:
kind: MutatingWebhookConfiguration
fieldPaths:
- .metadata.annotations.[cert-manager.io/inject-ca-from]
options:
delimiter: '/'
index: 0
create: true
- select:
kind: CustomResourceDefinition
fieldPaths:
- .metadata.annotations.[cert-manager.io/inject-ca-from]
options:
delimiter: '/'
index: 0
create: true
- source:
kind: Certificate
group: cert-manager.io
Expand All @@ -86,20 +89,23 @@ replacements:
options:
delimiter: '/'
index: 1
create: true
- select:
kind: MutatingWebhookConfiguration
fieldPaths:
- .metadata.annotations.[cert-manager.io/inject-ca-from]
options:
delimiter: '/'
index: 1
create: true
- select:
kind: CustomResourceDefinition
fieldPaths:
- .metadata.annotations.[cert-manager.io/inject-ca-from]
options:
delimiter: '/'
index: 1
create: true
- source:
kind: Service
version: v1
Expand All @@ -116,6 +122,7 @@ replacements:
options:
delimiter: '.'
index: 0
create: true
- source:
kind: Service
version: v1
Expand All @@ -132,3 +139,4 @@ replacements:
options:
delimiter: '.'
index: 1
create: true

0 comments on commit a495e2e

Please sign in to comment.