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

Removed dependency for ran-simulator on onos-topo - fixed with retry #57

Merged
merged 1 commit into from
Apr 6, 2020
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
26 changes: 1 addition & 25 deletions ran-simulator/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,31 +30,6 @@ spec:
imagePullSecrets:
{{- toYaml . | nindent 8 }}
{{- end }}
initContainers:
- name: ran-sim-depcheck
image: {{ .Values.image.depCheck | quote }}
imagePullPolicy: {{ .Values.image.pullPolicy }}
securityContext:
allowPrivilegeEscalation: false
readOnlyRootFilesystem: false
runAsUser: 0
env:
- name: POD_NAME
valueFrom:
fieldRef:
apiVersion: v1
fieldPath: metadata.name
- name: NAMESPACE
valueFrom:
fieldRef:
apiVersion: v1
fieldPath: metadata.namespace
- name: PATH
value: /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/
- name: COMMAND
value: "echo done"
- name: DEPENDENCY_POD_JSON
value: '[{"labels": {"name": "onos-topo"}, "requireSameNode": false}]'
containers:
- name: {{ .Chart.Name }}
image: "{{ .Values.image.repository }}:{{ .Values.image.tag }}"
Expand Down Expand Up @@ -86,6 +61,7 @@ spec:
- "-towerSpacingHoriz={{ .Values.towerSpacingHoriz }}"
- "-towerSpacingVert={{ .Values.towerSpacingVert }}"
- "-zoom={{ .Values.zoom }}"
- "-loglevel={{ .Values.loglevel }}"
ports:
- name: grpc
containerPort: 5150
Expand Down
2 changes: 1 addition & 1 deletion ran-simulator/templates/role.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -37,4 +37,4 @@ rules:
- pods
- services
- endpoints
- configmaps
- configmaps
2 changes: 1 addition & 1 deletion ran-simulator/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
replicaCount: 1

image:
depCheck: quay.io/stackanetes/kubernetes-entrypoint:v0.3.1
repository: onosproject/ran-simulator
tag: latest
pullPolicy: IfNotPresent
Expand All @@ -29,6 +28,7 @@ towerRows: 3
towerSpacingHoriz: 0.033
towerSpacingVert: 0.02
zoom: 13
loglevel: warn

imagePullSecrets: []
nameOverride: ""
Expand Down