File tree Expand file tree Collapse file tree 9 files changed +54
-18
lines changed Expand file tree Collapse file tree 9 files changed +54
-18
lines changed Original file line number Diff line number Diff line change @@ -16,8 +16,13 @@ providers:
16
16
{{/each}}
17
17
defaultCacheDuration: "{{default "12h" this.cache-duration}}"
18
18
apiVersion: credentialprovider.kubelet.k8s.io/v1alpha1
19
- {{#if (or (eq @key "ecr-credential-provider") this.environment)}}
19
+ {{#if (eq @key "ecr-credential-provider")}}
20
+ env:
21
+ {{else}}
22
+ {{#if this.environment}}
20
23
env:
24
+ {{/if}}
25
+ {{/if}}
21
26
{{#if this.environment}}
22
27
{{#each this.environment}}
23
28
- name: {{@key}}
@@ -33,6 +38,5 @@ providers:
33
38
{{/if}}
34
39
{{/if}}
35
40
{{/if}}
36
- {{/if}}
37
41
{{/each}}
38
42
{{/if}}
Original file line number Diff line number Diff line change @@ -16,8 +16,13 @@ providers:
16
16
{{/each}}
17
17
defaultCacheDuration: "{{default "12h" this.cache-duration}}"
18
18
apiVersion: credentialprovider.kubelet.k8s.io/v1alpha1
19
- {{#if (or (eq @key "ecr-credential-provider") this.environment)}}
19
+ {{#if (eq @key "ecr-credential-provider")}}
20
+ env:
21
+ {{else}}
22
+ {{#if this.environment}}
20
23
env:
24
+ {{/if}}
25
+ {{/if}}
21
26
{{#if this.environment}}
22
27
{{#each this.environment}}
23
28
- name: {{@key}}
@@ -33,6 +38,5 @@ providers:
33
38
{{/if}}
34
39
{{/if}}
35
40
{{/if}}
36
- {{/if}}
37
41
{{/each}}
38
42
{{/if}}
Original file line number Diff line number Diff line change @@ -16,8 +16,13 @@ providers:
16
16
{{/each}}
17
17
defaultCacheDuration: "{{default "12h" this.cache-duration}}"
18
18
apiVersion: credentialprovider.kubelet.k8s.io/v1beta1
19
- {{#if (or (eq @key "ecr-credential-provider") this.environment)}}
19
+ {{#if (eq @key "ecr-credential-provider")}}
20
+ env:
21
+ {{else}}
22
+ {{#if this.environment}}
20
23
env:
24
+ {{/if}}
25
+ {{/if}}
21
26
{{#if this.environment}}
22
27
{{#each this.environment}}
23
28
- name: {{@key}}
@@ -33,6 +38,5 @@ providers:
33
38
{{/if}}
34
39
{{/if}}
35
40
{{/if}}
36
- {{/if}}
37
41
{{/each}}
38
42
{{/if}}
Original file line number Diff line number Diff line change @@ -16,8 +16,13 @@ providers:
16
16
{{/each}}
17
17
defaultCacheDuration: "{{default "12h" this.cache-duration}}"
18
18
apiVersion: credentialprovider.kubelet.k8s.io/v1alpha1
19
- {{#if (or (eq @key "ecr-credential-provider") this.environment)}}
19
+ {{#if (eq @key "ecr-credential-provider")}}
20
+ env:
21
+ {{else}}
22
+ {{#if this.environment}}
20
23
env:
24
+ {{/if}}
25
+ {{/if}}
21
26
{{#if this.environment}}
22
27
{{#each this.environment}}
23
28
- name: {{@key}}
@@ -33,6 +38,5 @@ providers:
33
38
{{/if}}
34
39
{{/if}}
35
40
{{/if}}
36
- {{/if}}
37
41
{{/each}}
38
42
{{/if}}
Original file line number Diff line number Diff line change @@ -16,8 +16,13 @@ providers:
16
16
{{/each}}
17
17
defaultCacheDuration: "{{default "12h" this.cache-duration}}"
18
18
apiVersion: credentialprovider.kubelet.k8s.io/v1
19
- {{#if (or (eq @key "ecr-credential-provider") this.environment)}}
19
+ {{#if (eq @key "ecr-credential-provider")}}
20
+ env:
21
+ {{else}}
22
+ {{#if this.environment}}
20
23
env:
24
+ {{/if}}
25
+ {{/if}}
21
26
{{#if this.environment}}
22
27
{{#each this.environment}}
23
28
- name: {{@key}}
@@ -33,6 +38,5 @@ providers:
33
38
{{/if}}
34
39
{{/if}}
35
40
{{/if}}
36
- {{/if}}
37
41
{{/each}}
38
42
{{/if}}
Original file line number Diff line number Diff line change @@ -16,8 +16,13 @@ providers:
16
16
{{/each}}
17
17
defaultCacheDuration: "{{default "12h" this.cache-duration}}"
18
18
apiVersion: credentialprovider.kubelet.k8s.io/v1
19
- {{#if (or (eq @key "ecr-credential-provider") this.environment)}}
19
+ {{#if (eq @key "ecr-credential-provider")}}
20
+ env:
21
+ {{else}}
22
+ {{#if this.environment}}
20
23
env:
24
+ {{/if}}
25
+ {{/if}}
21
26
{{#if this.environment}}
22
27
{{#each this.environment}}
23
28
- name: {{@key}}
@@ -33,6 +38,5 @@ providers:
33
38
{{/if}}
34
39
{{/if}}
35
40
{{/if}}
36
- {{/if}}
37
41
{{/each}}
38
42
{{/if}}
Original file line number Diff line number Diff line change @@ -16,8 +16,13 @@ providers:
16
16
{{/each}}
17
17
defaultCacheDuration: "{{default "12h" this.cache-duration}}"
18
18
apiVersion: credentialprovider.kubelet.k8s.io/v1
19
- {{#if (or (eq @key "ecr-credential-provider") this.environment)}}
19
+ {{#if (eq @key "ecr-credential-provider")}}
20
+ env:
21
+ {{else}}
22
+ {{#if this.environment}}
20
23
env:
24
+ {{/if}}
25
+ {{/if}}
21
26
{{#if this.environment}}
22
27
{{#each this.environment}}
23
28
- name: {{@key}}
@@ -33,6 +38,5 @@ providers:
33
38
{{/if}}
34
39
{{/if}}
35
40
{{/if}}
36
- {{/if}}
37
41
{{/each}}
38
42
{{/if}}
Original file line number Diff line number Diff line change @@ -16,8 +16,13 @@ providers:
16
16
{{/each}}
17
17
defaultCacheDuration: "{{default "12h" this.cache-duration}}"
18
18
apiVersion: credentialprovider.kubelet.k8s.io/v1
19
- {{#if (or (eq @key "ecr-credential-provider") this.environment)}}
19
+ {{#if (eq @key "ecr-credential-provider")}}
20
+ env:
21
+ {{else}}
22
+ {{#if this.environment}}
20
23
env:
24
+ {{/if}}
25
+ {{/if}}
21
26
{{#if this.environment}}
22
27
{{#each this.environment}}
23
28
- name: {{@key}}
@@ -33,6 +38,5 @@ providers:
33
38
{{/if}}
34
39
{{/if}}
35
40
{{/if}}
36
- {{/if}}
37
41
{{/each}}
38
42
{{/if}}
Original file line number Diff line number Diff line change @@ -16,8 +16,13 @@ providers:
16
16
{{/each}}
17
17
defaultCacheDuration: "{{default "12h" this.cache-duration}}"
18
18
apiVersion: credentialprovider.kubelet.k8s.io/v1
19
- {{#if (or (eq @key "ecr-credential-provider") this.environment)}}
19
+ {{#if (eq @key "ecr-credential-provider")}}
20
+ env:
21
+ {{else}}
22
+ {{#if this.environment}}
20
23
env:
24
+ {{/if}}
25
+ {{/if}}
21
26
{{#if this.environment}}
22
27
{{#each this.environment}}
23
28
- name: {{@key}}
@@ -33,6 +38,5 @@ providers:
33
38
{{/if}}
34
39
{{/if}}
35
40
{{/if}}
36
- {{/if}}
37
41
{{/each}}
38
42
{{/if}}
You can’t perform that action at this time.
0 commit comments