Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions api/v1/codebaseimagestream_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ type CodebaseImageStreamSpec struct {
type Tag struct {
Name string `json:"name"`
Created string `json:"created"`
Digest string `json:"digest,omitempty"`
}

// CodebaseImageStreamStatus defines the observed state of CodebaseImageStream.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ spec:
- name: {{ .Chart.Name }}
securityContext:
{{- toYaml .Values.securityContext | nindent 12 }}
image: "{{ .Values.image.repository }}:{{ .Values.image.tag | default .Chart.AppVersion }}"
image: "{{ .Values.image.repository }}:{{ .Values.image.tag | default .Chart.AppVersion }}{{ if .Values.image.digest }}@{{ .Values.image.digest }}{{ end }}"
imagePullPolicy: {{ .Values.image.pullPolicy }}
ports:
- name: http
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ image:
pullPolicy: IfNotPresent
# -- Overrides the image tag whose default is the chart appVersion.
tag: ""
# -- Image digest for immutable reference (e.g., sha256:abc123...). If set, deployed as :tag@digest.
digest: ""

imagePullSecrets:
# Define secret to pull images. Secret can be provisioned by edp-install or manually.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ spec:
- name: {{ .Chart.Name }}
securityContext:
{{- toYaml .Values.securityContext | nindent 12 }}
image: "{{ .Values.image.repository }}:{{ .Values.image.tag | default .Chart.AppVersion }}"
image: "{{ .Values.image.repository }}:{{ .Values.image.tag | default .Chart.AppVersion }}{{ if .Values.image.digest }}@{{ .Values.image.digest }}{{ end }}"
imagePullPolicy: {{ .Values.image.pullPolicy }}
ports:
- name: http
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ image:
pullPolicy: IfNotPresent
# -- Overrides the image tag whose default is the chart appVersion.
tag: ""
# -- Image digest for immutable reference (e.g., sha256:abc123...). If set, deployed as :tag@digest.
digest: ""

imagePullSecrets:
# Define secret to pull images. Secret can be provisioned by edp-install or manually.
Expand Down
2 changes: 2 additions & 0 deletions config/crd/bases/v2.edp.epam.com_codebaseimagestreams.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,8 @@ spec:
properties:
created:
type: string
digest:
type: string
name:
type: string
required:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,8 @@ spec:
properties:
created:
type: string
digest:
type: string
name:
type: string
required:
Expand Down
7 changes: 7 additions & 0 deletions docs/api.md
Original file line number Diff line number Diff line change
Expand Up @@ -603,6 +603,13 @@ CodebaseImageStreamSpec defines the desired state of CodebaseImageStream.
<br/>
</td>
<td>true</td>
</tr><tr>
<td><b>digest</b></td>
<td>string</td>
<td>
<br/>
</td>
<td>false</td>
</tr></tbody>
</table>

Expand Down
Loading