Skip to content

Commit

Permalink
Reverted redundant changes in yamls
Browse files Browse the repository at this point in the history
Signed-off-by: Patryk Strusiewicz-Surmacki <patryk-pawel.strusiewicz-surmacki@external.telekom.de>
  • Loading branch information
p-strusiewiczsurmacki-mobica committed Apr 3, 2024
1 parent aefb8d3 commit 6c79808
Show file tree
Hide file tree
Showing 5 changed files with 34 additions and 6 deletions.
2 changes: 0 additions & 2 deletions config/certmanager/kustomization.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
namespace: kube-system

resources:
- certificate.yaml

Expand Down
4 changes: 2 additions & 2 deletions config/default/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,8 @@ resources:
- ../rbac
- ../manager
- ../configurator
# - ../webhook
# - ../prometheus
- ../webhook
- ../prometheus
labels:
- includeSelectors: true
pairs:
Expand Down
4 changes: 2 additions & 2 deletions config/manager/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ kind: Kustomization
images:
- name: controller
newName: ghcr.io/telekom/das-schiff-network-operator
newTag: v27
newTag: latest
- name: frr-exporter
newName: ghcr.io/telekom/frr-exporter
newTag: v27
newTag: latest
18 changes: 18 additions & 0 deletions config/manager/manager.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,18 @@ spec:
securityContext:
privileged: true
runAsUser: 0
livenessProbe:
httpGet:
path: /healthz
port: 7081
initialDelaySeconds: 15
periodSeconds: 20
readinessProbe:
httpGet:
path: /readyz
port: 7081
initialDelaySeconds: 5
periodSeconds: 10
# TODO(user): Configure the resources accordingly based on the project requirements.
# More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/
resources:
Expand All @@ -64,6 +76,8 @@ spec:
subPath: config.yaml
- mountPath: /etc/frr
name: frr-config
- mountPath: /var/run/dbus/system_bus_socket
name: dbus-socket
- command:
- /frr-exporter
env:
Expand Down Expand Up @@ -99,6 +113,10 @@ spec:
hostPath:
path: /var/run/frr
type: Directory
- name: dbus-socket
hostPath:
path: /var/run/dbus/system_bus_socket
type: Socket
- configMap:
name: network-operator-config
name: network-config
12 changes: 12 additions & 0 deletions config/manager/manager_master.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,18 @@ spec:
securityContext:
privileged: true
runAsUser: 0
livenessProbe:
httpGet:
path: /healthz
port: 7081
initialDelaySeconds: 15
periodSeconds: 20
readinessProbe:
httpGet:
path: /readyz
port: 7081
initialDelaySeconds: 5
periodSeconds: 10
# TODO(user): Configure the resources accordingly based on the project requirements.
# More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/
resources:
Expand Down

0 comments on commit 6c79808

Please sign in to comment.