Skip to content

Commit

Permalink
Remove obsolete volumes, cleanup pvc handling (#818)
Browse files Browse the repository at this point in the history
  • Loading branch information
dominikriemer committed Dec 2, 2022
1 parent 2f67afd commit ae4a2ab
Show file tree
Hide file tree
Showing 8 changed files with 4 additions and 166 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -27,16 +27,9 @@ spec:
labels:
app: extensions-all-jvm
spec:
volumes:
- name: files-pv
persistentVolumeClaim:
claimName: files-pvc
containers:
- name: extensions-all-jvm
image: {{ .Values.streampipes.registry }}/extensions-all-jvm:{{ .Values.streampipes.version }}
imagePullPolicy: {{ .Values.pullPolicy }}
ports:
- containerPort: 8090
volumeMounts:
- mountPath: "/spImages"
name: files-pv

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

2 changes: 2 additions & 0 deletions installer/k8s/templates/external/kafka/kafka-pvc.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.

{{- if eq .Values.preferredBroker "kafka" }}
apiVersion: v1
kind: PersistentVolume
metadata:
Expand Down Expand Up @@ -40,3 +41,4 @@ spec:
resources:
requests:
storage: 50M
{{- end }}
4 changes: 0 additions & 4 deletions installer/k8s/templates/external/nats/nats-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,10 +32,6 @@ spec:
- name: init-wait-consul
image: alpine
command: ["sh", "-c", "for i in $(seq 1 300); do nc -zvw1 consul 8500 && exit 0 || sleep 3; done; exit 1"]
volumes:
- name: kafka-pv
persistentVolumeClaim:
claimName: kafka-pvc
containers:
- name: nats
image: nats
Expand Down
2 changes: 2 additions & 0 deletions installer/k8s/templates/external/zookeeper/zookeeper-pvc.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.

{{- if eq .Values.preferredBroker "kafka" }}
apiVersion: v1
kind: PersistentVolume
metadata:
Expand Down Expand Up @@ -40,3 +41,4 @@ spec:
resources:
requests:
storage: 20M
{{- end }}

0 comments on commit ae4a2ab

Please sign in to comment.