Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cleanup / refactor #27

Merged
merged 9 commits into from
Oct 19, 2023
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
34 changes: 7 additions & 27 deletions components/configs/aggragates/rhods/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,40 +2,20 @@ apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization

resources:
- ../../kustomized/custom-notebook-images
- ../../../configs/cluster/console/overlays/default
- ../../../operators/rhods-operator/operator/overlays/stable
- ../../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.
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