Code Review
/
nonrtric.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
nonrtric-plt-auth-token-fetch:1.1.1 Release docker image
[nonrtric.git]
/
service-exposure
/
chartmuseum.yaml
diff --git
a/service-exposure/chartmuseum.yaml
b/service-exposure/chartmuseum.yaml
index
30aa4e6
..
987075d
100644
(file)
--- a/
service-exposure/chartmuseum.yaml
+++ b/
service-exposure/chartmuseum.yaml
@@
-23,26
+23,26
@@
metadata:
name: chartmuseum-deployment
namespace: default
labels:
name: chartmuseum-deployment
namespace: default
labels:
- app: chartmuseum
+ app: chartmuseum
spec:
selector:
matchLabels:
spec:
selector:
matchLabels:
- app: chartmuseum
+ app: chartmuseum
template:
metadata:
labels:
template:
metadata:
labels:
- app: chartmuseum
+ app: chartmuseum
version: v1
spec:
containers:
version: v1
spec:
containers:
- - name: chartmuseum
- image: chartmuseum/chartmuseum:latest
+ - name: chartmuseum
+ image: chartmuseum/chartmuseum:latest
imagePullPolicy: IfNotPresent
env:
imagePullPolicy: IfNotPresent
env:
- - name: STORAGE
- value: local
- - name: STORAGE_LOCAL_ROOTDIR
- value: /charts
+ - name: STORAGE
+ value: local
+ - name: STORAGE_LOCAL_ROOTDIR
+ value: /charts
ports:
- name: http
containerPort: 8080
ports:
- name: http
containerPort: 8080
@@
-58,24
+58,24
@@
spec:
mountPath: /charts
readOnly: true
volumes:
mountPath: /charts
readOnly: true
volumes:
- - name: chartdir
+ - name: chartdir
hostPath:
# Ensure the file directory is created.
hostPath:
# Ensure the file directory is created.
- path: /var/chartmuseum/charts
+ path: /var/chartmuseum/charts
type: DirectoryOrCreate
type: DirectoryOrCreate
- replicas: 1
+ replicas: 1
---
apiVersion: v1
kind: Service
metadata:
---
apiVersion: v1
kind: Service
metadata:
- name: chartmuseum
+ name: chartmuseum
namespace: default
spec:
selector:
namespace: default
spec:
selector:
- app: chartmuseum
+ app: chartmuseum
ports:
- name: http
port: 8080
targetPort: 8080
ports:
- name: http
port: 8080
targetPort: 8080
- nodePort: 3158
0
- type:
LoadBalancer
+ nodePort: 3158
1
+ type:
NodePort