Skip to content

Commit b67a7b7

Browse files
authored
feat: add a new kustomize layer for programmez magazine example (#92)
1 parent 4157b90 commit b67a7b7

File tree

4 files changed

+21
-1
lines changed

4 files changed

+21
-1
lines changed

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,3 +50,5 @@ ai/ai-endpoints/java-langchain4j-chatbot/target/test-classes/com/ovhcloud/exampl
5050
.env
5151
use-cases/kubeflow/ovhrc.sh
5252
use-cases/kubeflow/kubeconfig
53+
my_kube_cluster.yaml
54+
kustomize

containers-orchestration/managed-kubernetes/use-image-from-registry/README.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,6 @@ kubectl --kubeconfig=$KUBE_CLUSTER get secret ovhregistrycred -o jsonpath="{.dat
4242
cd overlays/wescale
4343

4444
kustomize edit set image hello-ovh="${PRIVATE_REGISTRY_URL_WITHOUT_SCHEME}/${PRIVATE_REGISTRY_PROJECT}/hello-ovh:1.0.0-linuxamd64"
45-
cd ../..
4645
```
4746

4847
- Deploy an app (linked to the created private registry)
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
apiVersion: apps/v1
2+
kind: Deployment
3+
metadata:
4+
name: hello-ovh-deployment
5+
spec:
6+
replicas: 1
7+
template:
8+
spec:
9+
containers:
10+
- name: hello-ovh
11+
image: hello-ovh:1.0.0
12+
imagePullSecrets:
13+
- name: ovhregistrycred
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
apiVersion: kustomize.config.k8s.io/v1beta1
2+
kind: Kustomization
3+
resources:
4+
- ../../base
5+
patches:
6+
- path: deployment.yaml

0 commit comments

Comments
 (0)