Skip to content
This repository has been archived by the owner on Jan 31, 2024. It is now read-only.

Update TrustyAI manifests to allow parameterized images #895

Merged
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
20 changes: 20 additions & 0 deletions trustyai-service-operator/base/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,24 @@ resources:
patchesStrategicMerge:
- manager_auth_proxy_patch.yaml

configMapGenerator:
- name: config
env: params.env
generatorOptions:
disableNameSuffixHash: true

vars:
- name: trustyaiServiceImageName
objref:
kind: ConfigMap
name: config
apiVersion: v1
fieldref:
fieldpath: data.trustyaiServiceImageName
- name: trustyaiServiceImageTag
objref:
kind: ConfigMap
name: config
apiVersion: v1
fieldref:
fieldpath: data.trustyaiServiceImageTag
2 changes: 2 additions & 0 deletions trustyai-service-operator/base/params.env
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
trustyaiServiceImageName=quay.io/trustyai/trustyai-service
trustyaiServiceImageTag=v0.2.0
9 changes: 1 addition & 8 deletions trustyai-service-operator/manager/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,4 @@ kind: Kustomization
images:
- name: controller
newName: quay.io/trustyai/trustyai-service-operator
newTag: v1.8.0
configMapGenerator:
- name: config
literals:
- trustyaiServiceImageName=quay.io/trustyai/trustyai-service
- trustyaiServiceImageTag=v0.2.0
generatorOptions:
disableNameSuffixHash: true
newTag: v1.8.0