Skip to content

Commit ca4aa4a

Browse files
akafazovnexus49
authored andcommitted
WIP
On-behalf-of: @SAP angel.kafazov@sap.com Signed-off-by: Angel Kafazov <akafazov@cst-bg.net>
1 parent 2bb15ec commit ca4aa4a

File tree

3 files changed

+33
-6
lines changed

3 files changed

+33
-6
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
---
2+
apiVersion: install.istio.io/v1alpha1
3+
kind: IstioOperator
4+
metadata:
5+
name: istio-operator
6+
namespace: istio-system
7+
spec:
8+
components:
9+
cni:
10+
namespace: istio-system
11+
enabled: true
12+
---

local-setup/kustomize/base/istio/istio.yaml

+18-6
Original file line numberDiff line numberDiff line change
@@ -86,12 +86,24 @@ spec:
8686
- name: status-port
8787
port: 15021
8888
nodePort: 32000
89+
8990
---
90-
apiVersion: install.istio.io/v1alpha1
91-
kind: IstioOperator
91+
apiVersion: helm.toolkit.fluxcd.io/v2
92+
kind: HelmRelease
93+
metadata:
94+
name: istio-cni
95+
namespace: istio-system
9296
spec:
93-
components:
94-
cni:
97+
interval: 5m
98+
chart:
99+
spec:
100+
chart: cni
101+
version: 1.24.2
102+
sourceRef:
103+
kind: HelmRepository
104+
name: istio
105+
releaseName: istio-cni
106+
dependsOn:
107+
- name: istio-base
95108
namespace: istio-system
96-
enabled: true
97-
---
109+

local-setup/scripts/start.sh

+3
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,9 @@ helm upgrade -i -n flux-system --create-namespace flux oci://ghcr.io/fluxcd-comm
5353
echo -e "${COL}[$(date '+%H:%M:%S')] Starting deployments ${COL_RES}"
5454
kubectl apply -k $SCRIPT_DIR/../kustomize/overlays/default
5555

56+
sleep 5
57+
kubectl apply -f $SCRIPT_DIR/../kustomize/base/istio-operator
58+
5659
echo -e "${COL}[$(date '+%H:%M:%S')] Creating necessary secrets ${COL_RES}"
5760
kubectl create secret docker-registry ghcr-credentials -n openmfp-system --docker-server=ghcr.io --docker-username=$ghUser --docker-password=$ghToken --dry-run=client -o yaml | kubectl apply -f -
5861

0 commit comments

Comments
 (0)