Skip to content

Commit

Permalink
refactor / cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
codekow committed Oct 18, 2023
1 parent be738b3 commit f33d81d
Show file tree
Hide file tree
Showing 49 changed files with 13 additions and 65 deletions.
33 changes: 6 additions & 27 deletions components/configs/aggragates/rhods/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,41 +2,20 @@ apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization

resources:
- ../../../configs/cluster/console/overlays/default
- ../../../operators/rhods-operator/operator/overlays/stable
- ../../kustomized/custom-notebook-images
- ../../kustomized/rhods
- ../../kustomized/rhods-projects
- ../../kustomized/custom-notebook-images/overlays/rhods

patches:
- target:
group: image.openshift.io
kind: ImageStream
kind: ConsoleNotification
name: banner-top
patch: |-
- op: replace
path: /metadata/namespace
value: redhat-ods-applications
- target:
group: image.openshift.io
kind: ImageStreamTag
patch: |-
- op: replace
path: /metadata/namespace
value: redhat-ods-applications
- target:
group: build.openshift.io
kind: BuildConfig
patch: |-
- op: replace
path: /spec/output/to/namespace
value: redhat-ods-applications
- target:
group: build.openshift.io
kind: BuildConfig
# name: opencv-notebook-graphviz
patch: |-
- op: replace
path: /spec/strategy/dockerStrategy/from/namespace
value: redhat-ods-applications
path: /spec/text
value: 'DEMO: Red Hat Open Data Science (RHODS)'
- target:
group: user.openshift.io
version: v1
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ metadata:
spec:
runPolicy: Serial
triggers:
- type: ConfigChange
- type: ImageChange
imageChange:
from:
Expand All @@ -16,7 +17,7 @@ spec:
source:
git:
uri: https://github.com/codekow/demo-ai-gitops-catalog.git
contextDir: components/demos/instance/custom-notebook-images/lightgbm
contextDir: components/configs/kustomized/custom-notebook-images/base/lightgbm
strategy:
dockerStrategy:
from:
Expand All @@ -26,4 +27,4 @@ spec:
output:
to:
kind: ImageStreamTag
name: lightgbm:3.3.5
name: lightgbm:3.3.5
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ spec:
type: Git
git:
uri: https://github.com/codekow/demo-ai-gitops-catalog.git
contextDir: components/demos/instance/custom-notebook-images/opencv
contextDir: components/configs/kustomized/custom-notebook-images/base/opencv
strategy:
type: Docker
dockerStrategy:
Expand All @@ -23,3 +23,4 @@ spec:
namespace: custom-notebooks
triggers:
- type: ConfigChange
# - type: ImageChange
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization

resources:
- ../../kustomized/custom-notebook-images
- ../../base

patches:
- target:
Expand Down

This file was deleted.

Empty file.
Empty file.
6 changes: 0 additions & 6 deletions components/configs/kustomized/smart-cities/kustomization.yaml

This file was deleted.

13 changes: 0 additions & 13 deletions components/configs/kustomized/smart-cities/namespace-rb.yaml

This file was deleted.

8 changes: 0 additions & 8 deletions components/configs/kustomized/smart-cities/namespace.yaml

This file was deleted.

File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@ kind: Kustomization
# component: demo

resources:
- dspa.yaml
- dspa.yaml
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit f33d81d

Please sign in to comment.