Skip to content

Commit

Permalink
Merge pull request grafana#100 from periklis/backport-pr-8173
Browse files Browse the repository at this point in the history
[release-5.6] Remove custom webhook cert mounts for OLM-based deployment (grafana#8173)
  • Loading branch information
openshift-merge-robot authored Jan 20, 2023
2 parents 88f6e43 + e624f30 commit 7b658d1
Show file tree
Hide file tree
Showing 6 changed files with 1 addition and 26 deletions.
1 change: 1 addition & 0 deletions operator/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
## Main

- [8173](https://github.com/grafana/loki/pull/8173) **periklis**: Remove custom webhook cert mounts for OLM-based deployment (OpenShift)
- [8068](https://github.com/grafana/loki/pull/8068) **periklis**: Use lokistack-gateway replicas from size table
- [7910](https://github.com/grafana/loki/pull/7910) **periklis**: Update Loki operand to v2.7.1
- [7815](https://github.com/grafana/loki/pull/7815) **periklis**: Apply delete client changes for compat with release-2.7.x
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
apiVersion: v1
kind: Service
metadata:
annotations:
service.beta.openshift.io/serving-cert-secret-name: loki-operator-webhook-service
creationTimestamp: null
labels:
app.kubernetes.io/instance: loki-operator-v0.0.1
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1293,9 +1293,6 @@ spec:
drop:
- ALL
volumeMounts:
- mountPath: /tmp/k8s-webhook-server/serving-certs
name: webhook-cert
readOnly: true
- mountPath: /controller_manager_config.yaml
name: manager-config
subPath: controller_manager_config.yaml
Expand Down Expand Up @@ -1328,10 +1325,6 @@ spec:
runAsNonRoot: true
terminationGracePeriodSeconds: 10
volumes:
- name: webhook-cert
secret:
defaultMode: 420
secretName: loki-operator-webhook-service
- configMap:
name: loki-operator-manager-config
name: manager-config
Expand Down
1 change: 0 additions & 1 deletion operator/config/overlays/openshift/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,6 @@ patchesStrategicMerge:
- manager_run_flags_patch.yaml
- manager_webhook_patch.yaml
- prometheus_service_monitor_patch.yaml
- webhook_service_annotations_patch.yaml

images:
- name: controller
Expand Down
9 changes: 0 additions & 9 deletions operator/config/overlays/openshift/manager_webhook_patch.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,3 @@ spec:
- containerPort: 9443
name: webhook-server
protocol: TCP
volumeMounts:
- mountPath: /tmp/k8s-webhook-server/serving-certs
name: webhook-cert
readOnly: true
volumes:
- name: webhook-cert
secret:
defaultMode: 420
secretName: loki-operator-webhook-service

This file was deleted.

0 comments on commit 7b658d1

Please sign in to comment.