File tree Expand file tree Collapse file tree 7 files changed +24
-5
lines changed Expand file tree Collapse file tree 7 files changed +24
-5
lines changed Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ apiVersion: v2
22name : port-ocean
33description : A Helm chart for Port Ocean integrations
44type : application
5- version : 0.11.0
5+ version : 0.11.1
66appVersion : " 0.1.0"
77home : https://getport.io/
88sources :
Original file line number Diff line number Diff line change @@ -179,6 +179,20 @@ Get container name
179179{ {- printf " %s-container" $prefix } }
180180{ {- end } }
181181
182+ { {/*
183+ Get default image
184+ */} }
185+ { {- define " port-ocean.defaultImage" -} }
186+ port-ocean-{ { .Values.integration.type } }:{ { .Values.integration.version | default " latest" } }
187+ { {- end } }
188+
189+ { {/*
190+ Get container image (registry + image name)
191+ */} }
192+ { {- define " port-ocean.image" -} }
193+ { { .Values.imageRegistry } }/{ { .Values.image | default (include " port-ocean.defaultImage" .) } }
194+ { {- end } }
195+
182196{ {/*
183197Get deployment name
184198*/} }
Original file line number Diff line number Diff line change 4444 containers :
4545 - name : {{ include "port-ocean.containerName" . }}
4646 imagePullPolicy : {{ .Values.imagePullPolicy }}
47- image : ' {{ .Values.imageRegistry }}/ port-ocean-{{ .Values.integration.type }}:{{ .Values.integration.version | default "latest" }} '
47+ image : {{ include " port-ocean.image" . }}
4848 {{- if .Values.service.enabled }}
4949 securityContext :
5050 {{- if .Values.containerSecurityContext }}
Original file line number Diff line number Diff line change @@ -132,7 +132,7 @@ spec:
132132 containers :
133133 - name : {{ include "port-ocean.containerName" . }}
134134 imagePullPolicy : {{ .Values.imagePullPolicy }}
135- image : ' {{ .Values.imageRegistry }}/ port-ocean-{{ .Values.integration.type }}:{{ .Values.integration.version | default "latest" }} '
135+ image : {{ include " port-ocean.image" . }}
136136 {{- if .Values.service.enabled }}
137137 securityContext :
138138 {{- if .Values.containerSecurityContext }}
Original file line number Diff line number Diff line change 5757 containers :
5858 - name : {{ include "port-ocean.containerName" . }}
5959 imagePullPolicy : {{ .Values.imagePullPolicy }}
60- image : ' {{ .Values.imageRegistry }}/ port-ocean-{{ .Values.integration.type }}:{{ .Values.integration.version | default "latest" }} '
60+ image : {{ include " port-ocean.image" . }}
6161 {{- if .Values.service.enabled }}
6262 securityContext :
6363 {{- if .Values.containerSecurityContext }}
Original file line number Diff line number Diff line change 5555 containers :
5656 - name : {{ include "port-ocean.containerName" . }}
5757 imagePullPolicy : {{ .Values.imagePullPolicy }}
58- image : ' {{ .Values.imageRegistry }}/ port-ocean-{{ .Values.integration.type }}:{{ .Values.integration.version | default "latest" }} '
58+ image : {{ include " port-ocean.image" . }}
5959 {{- if .Values.service.enabled }}
6060 securityContext :
6161 {{- if .Values.containerSecurityContext }}
Original file line number Diff line number Diff line change @@ -78,6 +78,11 @@ extraLabels: { }
7878
7979imageRegistry : " ghcr.io/port-labs"
8080
81+ # image: Custom container image name (without registry, but including tag)
82+ # If not specified, defaults to "port-ocean-{integration.type}:{integration.version}"
83+ # Example: "my-custom-ocean-image:v1.0.0" or "port-ocean-custom:latest"
84+ image : " "
85+
8186imagePullPolicy : Always
8287
8388imagePullSecrets : [ ]
You can’t perform that action at this time.
0 commit comments