Skip to content

Commit

Permalink
Use images proxy for Replicated SDK image just when configured (#577)
Browse files Browse the repository at this point in the history
* Use images proxy for Replicated SDK image just when configured

* Fix
  • Loading branch information
moicalcob authored Jul 22, 2024
1 parent a0e15e7 commit 72ce13e
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions manifests/kots-helm.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,6 @@ spec:
- name: '{{repl ImagePullSecretName }}'
enabled: true
platformDistribution: '{{repl ConfigOption "platformDistribution" }}'
images:
replicated-sdk: '{{repl LocalImageName "docker.io/replicated/replicated-sdk:v1.0.0-beta.21" }}'

# License
## Carto Secrets
Expand Down Expand Up @@ -662,8 +660,8 @@ spec:
create: false
name: '{{repl ConfigOption "k8sWorkloadIdentityServiceAccountName" }}'

# Airgap mode AND Local Registry
- when: '{{repl and (IsAirgap) (HasLocalRegistry) }}'
# Local Registry
- when: '{{repl (HasLocalRegistry) }}'
recursiveMerge: true
values:
global:
Expand All @@ -673,6 +671,8 @@ spec:
replicated:
imagePullSecrets:
- name: '{{repl ImagePullSecretName }}'
images:
replicated-sdk: '{{repl LocalImageName "docker.io/replicated/replicated-sdk:v1.0.0-beta.21" }}'

# THIS SHOULD ALWAYS BE THE LAST OPTIONAL VALUE!!!!
## Advanced Tuning
Expand Down

0 comments on commit 72ce13e

Please sign in to comment.