Skip to content

Commit

Permalink
adding image pull secret configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
CrowleyRajapakse committed Oct 30, 2024
1 parent 3b56c4d commit f746581
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
4 changes: 4 additions & 0 deletions helm-charts/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,10 @@ spec:
limits:
memory: {{ .Values.resources.limits.memory | default "256Mi" }}
cpu: {{ .Values.resources.limits.cpu | default "200m" }}
{{- if and .Values.wso2.subscription .Values.wso2.subscription.imagePullSecrets }}
imagePullSecrets:
- name: {{ .Values.wso2.subscription.imagePullSecrets }}
{{ end }}
volumes:
- name: log-conf-volume
configMap:
Expand Down
3 changes: 3 additions & 0 deletions helm-charts/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,9 @@
# specific language governing permissions and limitations
# under the License.

wso2:
subscription:
imagePullSecrets: ""
replicaCount: 1
image:
repository: wso2/apim-apk-agent
Expand Down

0 comments on commit f746581

Please sign in to comment.