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

chore: clean up unused volumes #2638

Merged
merged 1 commit into from
Dec 5, 2023
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
14 changes: 0 additions & 14 deletions .github/scripts/.helm-tests/default/result.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9106,11 +9106,6 @@ spec:
runAsUser: 65532
seccompProfile:
type: RuntimeDefault
volumeMounts:
- mountPath: /tmp/k8s-webhook-server/serving-certs/
name: certs-dir
- mountPath: /tmp/metrics-adapter/serving-certs
name: adapter-certs-dir
livenessProbe:
httpGet:
path: /healthz
Expand All @@ -9128,11 +9123,6 @@ spec:
runAsNonRoot: true
serviceAccountName: lifecycle-operator
terminationGracePeriodSeconds: 10
volumes:
- emptyDir: {}
name: certs-dir
- emptyDir: {}
name: adapter-certs-dir
---
# Source: keptn/charts/lifecycleOperator/templates/deployment.yaml
apiVersion: apps/v1
Expand Down Expand Up @@ -9305,8 +9295,6 @@ spec:
seccompProfile:
type: RuntimeDefault
volumeMounts:
- mountPath: /tmp/k8s-webhook-server/serving-certs/
name: certs-dir
- mountPath: /tmp/metrics-adapter/serving-certs
name: adapter-certs-dir
livenessProbe:
Expand All @@ -9327,8 +9315,6 @@ spec:
serviceAccountName: metrics-operator
terminationGracePeriodSeconds: 10
volumes:
- emptyDir: {}
name: certs-dir
- emptyDir: {}
name: adapter-certs-dir
---
Expand Down
10 changes: 0 additions & 10 deletions .github/scripts/.helm-tests/lifecycle-only/result.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6593,11 +6593,6 @@ spec:
runAsUser: 65532
seccompProfile:
type: RuntimeDefault
volumeMounts:
- mountPath: /tmp/k8s-webhook-server/serving-certs/
name: certs-dir
- mountPath: /tmp/metrics-adapter/serving-certs
name: adapter-certs-dir
livenessProbe:
httpGet:
path: /healthz
Expand All @@ -6615,11 +6610,6 @@ spec:
runAsNonRoot: true
serviceAccountName: lifecycle-operator
terminationGracePeriodSeconds: 10
volumes:
- emptyDir: {}
name: certs-dir
- emptyDir: {}
name: adapter-certs-dir
---
# Source: keptn/charts/lifecycleOperator/templates/deployment.yaml
apiVersion: apps/v1
Expand Down
10 changes: 0 additions & 10 deletions .github/scripts/.helm-tests/lifecycle-with-certs/result.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6849,11 +6849,6 @@ spec:
runAsUser: 65532
seccompProfile:
type: RuntimeDefault
volumeMounts:
- mountPath: /tmp/k8s-webhook-server/serving-certs/
name: certs-dir
- mountPath: /tmp/metrics-adapter/serving-certs
name: adapter-certs-dir
livenessProbe:
httpGet:
path: /healthz
Expand All @@ -6871,11 +6866,6 @@ spec:
runAsNonRoot: true
serviceAccountName: lifecycle-operator
terminationGracePeriodSeconds: 10
volumes:
- emptyDir: {}
name: certs-dir
- emptyDir: {}
name: adapter-certs-dir
---
# Source: keptn/charts/lifecycleOperator/templates/deployment.yaml
apiVersion: apps/v1
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2327,8 +2327,6 @@ spec:
seccompProfile:
type: RuntimeDefault
volumeMounts:
- mountPath: /tmp/k8s-webhook-server/serving-certs/
name: certs-dir
- mountPath: /tmp/metrics-adapter/serving-certs
name: adapter-certs-dir
livenessProbe:
Expand All @@ -2349,8 +2347,6 @@ spec:
serviceAccountName: metrics-operator
terminationGracePeriodSeconds: 10
volumes:
- emptyDir: {}
name: certs-dir
- emptyDir: {}
name: adapter-certs-dir
---
Expand Down
4 changes: 0 additions & 4 deletions .github/scripts/.helm-tests/metrics-only/result.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2348,8 +2348,6 @@ spec:
seccompProfile:
type: RuntimeDefault
volumeMounts:
- mountPath: /tmp/k8s-webhook-server/serving-certs/
name: certs-dir
- mountPath: /tmp/metrics-adapter/serving-certs
name: adapter-certs-dir
livenessProbe:
Expand All @@ -2370,8 +2368,6 @@ spec:
serviceAccountName: metrics-operator
terminationGracePeriodSeconds: 10
volumes:
- emptyDir: {}
name: certs-dir
- emptyDir: {}
name: adapter-certs-dir
---
Expand Down
4 changes: 0 additions & 4 deletions .github/scripts/.helm-tests/metrics-with-certs/result.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2604,8 +2604,6 @@ spec:
seccompProfile:
type: RuntimeDefault
volumeMounts:
- mountPath: /tmp/k8s-webhook-server/serving-certs/
name: certs-dir
- mountPath: /tmp/metrics-adapter/serving-certs
name: adapter-certs-dir
livenessProbe:
Expand All @@ -2626,8 +2624,6 @@ spec:
serviceAccountName: metrics-operator
terminationGracePeriodSeconds: 10
volumes:
- emptyDir: {}
name: certs-dir
- emptyDir: {}
name: adapter-certs-dir
---
Expand Down
10 changes: 0 additions & 10 deletions lifecycle-operator/chart/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -130,11 +130,6 @@ spec:
}}
seccompProfile: {{- include "common.tplvalues.render" (dict "value" .Values.lifecycleOperator.containerSecurityContext.seccompProfile
"context" $) | nindent 12 }}
volumeMounts:
- mountPath: /tmp/k8s-webhook-server/serving-certs/
name: certs-dir
- mountPath: /tmp/metrics-adapter/serving-certs
name: adapter-certs-dir
{{- if .Values.lifecycleOperator.livenessProbe }}
livenessProbe: {{- include "common.tplvalues.render" (dict "value" .Values.lifecycleOperator.livenessProbe "context" $) | nindent 10 }}
{{- else }}
Expand All @@ -160,11 +155,6 @@ spec:
runAsNonRoot: true
serviceAccountName: lifecycle-operator
terminationGracePeriodSeconds: 10
volumes:
- emptyDir: {}
name: certs-dir
- emptyDir: {}
name: adapter-certs-dir
{{- if .Values.lifecycleOperator.topologySpreadConstraints }}
topologySpreadConstraints: {{- include "common.tplvalues.render" (dict "value" .Values.lifecycleOperator.topologySpreadConstraints "context" $) | nindent 8 }}
{{- end }}
Expand Down
10 changes: 0 additions & 10 deletions lifecycle-operator/config/manager/manager.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,11 +31,6 @@ spec:
# versions < 1.19 or on vendors versions which do NOT support this field by default (i.e. Openshift < 4.11 ).
# seccompProfile:
# type: RuntimeDefault
volumes:
- emptyDir: {}
name: certs-dir
- emptyDir: {}
name: adapter-certs-dir
containers:
- command:
- /manager
Expand Down Expand Up @@ -118,10 +113,5 @@ spec:
requests:
cpu: 5m
memory: 64Mi
volumeMounts:
- name: certs-dir
mountPath: /tmp/k8s-webhook-server/serving-certs/
- name: adapter-certs-dir
mountPath: /tmp/metrics-adapter/serving-certs
serviceAccountName: lifecycle-operator
terminationGracePeriodSeconds: 10
4 changes: 0 additions & 4 deletions metrics-operator/chart/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -87,8 +87,6 @@ spec:
seccompProfile: {{- include "common.tplvalues.render" (dict "value" .Values.containerSecurityContext.seccompProfile
"context" $) | nindent 12 }}
volumeMounts:
- mountPath: /tmp/k8s-webhook-server/serving-certs/
name: certs-dir
- mountPath: /tmp/metrics-adapter/serving-certs
name: adapter-certs-dir
{{- if .Values.livenessProbe }}
Expand Down Expand Up @@ -117,8 +115,6 @@ spec:
serviceAccountName: metrics-operator
terminationGracePeriodSeconds: 10
volumes:
- emptyDir: {}
name: certs-dir
- emptyDir: {}
name: adapter-certs-dir
{{- if .Values.topologySpreadConstraints }}
Expand Down
4 changes: 0 additions & 4 deletions metrics-operator/config/manager/manager.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,6 @@ spec:
# seccompProfile:
# type: RuntimeDefault
volumes:
- emptyDir: {}
name: certs-dir
- emptyDir: {}
name: adapter-certs-dir
containers:
Expand Down Expand Up @@ -114,8 +112,6 @@ spec:
cpu: 10m
memory: 64Mi
volumeMounts:
- name: certs-dir
mountPath: /tmp/k8s-webhook-server/serving-certs/
- name: adapter-certs-dir
mountPath: /tmp/metrics-adapter/serving-certs
serviceAccountName: metrics-operator
Expand Down
Loading