Skip to content

Commit 6d68f22

Browse files
authored
removed istio as NKP platform apps do install everything required (#14)
1 parent 5d6d0c4 commit 6d68f22

12 files changed

+189
-149
lines changed

README.md

Lines changed: 34 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,38 @@
1-
# nkp-nutanix-product-catalog
1+
# Overview
22

3-
NKP Nutanix Product Catalog for use with Kommander 2.13. See the [NKP Kommander documentation](TBD) for more information.
3+
This catalog repository holds all the Nutanix Products and their respective version HelmRepositories and HelmReleases.
44

5-
## Tests
5+
# Receipes
66

7-
### Running tests
7+
## How to create catalog on your management cluster?
8+
<pre>
9+
nkp create catalog nutanix-product-apps-catalog \
10+
-w <workspace_name> \
11+
--branch <catalog-release-branch-name> \
12+
--url https://github.com/nutanix-cloud-native/nkp-nutanix-product-catalog
13+
</pre>
814

9-
```bash
10-
make test
11-
```
15+
## How to list all the catalogs on management cluster?
16+
<pre>
17+
kubectl get gitrepository -n <workspace_namespace>
18+
</pre>
19+
you can get workspace_namespace by running following command
20+
<pre>
21+
nkp get workspaces
22+
</pre>
23+
24+
## How to list all the apps provided by added catalogs on management cluster?
25+
<pre>
26+
kubectl get apps -n <workspace_namespace>
27+
</pre>
28+
29+
## How to install catalog app?
30+
<pre>
31+
</pre>
32+
33+
## How to delete catalog from your management cluster?
34+
<pre>
35+
kubectl delete gitrepository nutanix-product-apps-catalog -n <workspace_namespace>
36+
</pre>
37+
38+
For more details, you can refer to Nutanix Portal for Nutanix Kubernetes Platform documentation.

helm-repositories/istio-charts/istio-charts.yaml

Lines changed: 0 additions & 11 deletions
This file was deleted.

helm-repositories/istio-charts/kustomization.yaml

Lines changed: 0 additions & 4 deletions
This file was deleted.

helm-repositories/kustomization.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,3 +2,5 @@ apiVersion: kustomize.config.k8s.io/v1beta1
22
kind: Kustomization
33
resources:
44
- ntnx-charts
5+
- kserve-crd
6+
- kserve

services/nutanix-ai/1.0.0/istio-base.yaml

Lines changed: 0 additions & 25 deletions
This file was deleted.

services/nutanix-ai/1.0.0/istio-ingressgateway.yaml

Lines changed: 0 additions & 25 deletions
This file was deleted.

services/nutanix-ai/1.0.0/istiod.yaml

Lines changed: 0 additions & 25 deletions
This file was deleted.

services/nutanix-ai/1.0.0/kustomization.yaml

Lines changed: 31 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,40 @@ apiVersion: kustomize.config.k8s.io/v1beta1
22
kind: Kustomization
33
resources:
44
- nutanix-ai.yaml
5-
- istio-base.yaml
6-
- istiod.yaml
7-
- istio-ingressgateway.yaml
85
- kserve-crd.yaml
96
- kserve.yaml
107
- ../../../helm-repositories/ntnx-charts
11-
- ../../../helm-repositories/istio-charts
128
- ../../../helm-repositories/kserve-crd
139
- ../../../helm-repositories/kserve
10+
- nai-self-signed-cert.yaml
11+
- nai-ui-dashboard-cm.yaml
1412

13+
patches:
14+
- patch: |-
15+
- op: replace
16+
path: /spec/servers
17+
value: |-
18+
- hosts:
19+
- '*'
20+
port:
21+
name: http
22+
number: 80
23+
protocol: HTTP
24+
# Upgrade HTTP to HTTPS
25+
tls:
26+
httpsRedirect: true
27+
- hosts:
28+
- '*'
29+
port:
30+
name: https
31+
number: 443
32+
protocol: HTTPS
33+
tls:
34+
mode: SIMPLE
35+
credentialName: nai-self-signed-cert
36+
target:
37+
group: networking.istio.io
38+
version: v1
39+
kind: Gateway
40+
name: knative-ingress-gateway
41+
namespace: knative-serving
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
apiVersion: cert-manager.io/v1
2+
kind: Certificate
3+
metadata:
4+
name: nai-self-signed-cert
5+
namespace: istio-system
6+
spec:
7+
secretName: nai-self-signed-cert
8+
commonName: nai.example.com
9+
issuerRef:
10+
name: selfsigned-issuer
11+
kind: ClusterIssuer
12+
group: cert-manager.io
13+
dnsNames:
14+
- nai.example.com
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
apiVersion: v1
2+
kind: ConfigMap
3+
metadata:
4+
name: nai-ui
5+
namespace: ${workspaceNamespace}
6+
labels:
7+
"kommander.d2iq.io/application": "nutanix-ai"
8+
data:
9+
name: "Nutanix Enterprise AI"
10+
dashboardLink: "https://<ip_or_fqdn_istio_ingress_svc>/"
11+
docsLink: "<NAI GA Docs link>"
12+
version: "1.0.0"

services/nutanix-ai/1.0.0/nutanix-ai.yaml

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,6 @@ metadata:
66
namespace: ${workspaceNamespace}
77
spec:
88
dependsOn:
9-
- name: istio-base
10-
namespace: ${workspaceNamespace}
11-
- name: istio-ingressgateway
12-
namespace: ${workspaceNamespace}
13-
- name: istiod
14-
namespace: ${workspaceNamespace}
159
- name: kserve
1610
namespace: ${workspaceNamespace}
1711
- name: kserve-crd

0 commit comments

Comments
 (0)