Skip to content

Commit

Permalink
OS-6921 remove initial config ingress controller (#305)
Browse files Browse the repository at this point in the history
  • Loading branch information
artm-hx authored Nov 14, 2023
1 parent d86be6f commit 8177505
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions optscale-deploy/ansible/roles/k8s-configure/tasks/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -60,11 +60,6 @@
ignore_errors: true
run_once: true

- name: Creating second tls secret for initial config ingress
shell: kubectl create secret tls initialconfig-cert --key /tmp/key.pem --cert /tmp/cert.pem
ignore_errors: true
run_once: true

- name: Add Helm repos
shell: helm repo add {{ item }}
with_items:
Expand All @@ -86,10 +81,6 @@
mode: 0644
run_once: true

- name: Install additional ingress controller
shell: helm upgrade --install initial-config stable/nginx-ingress --set rbac.create=true --set controller.hostNetwork=true --set controller.extraArgs.default-ssl-certificate=default/initialconfig-cert --set controller.ingressClass=initial-config --set controller.service.enableHttp=false --set controller.service.targetPorts.https=4443 --set controller.kind=DaemonSet
run_once: true

- name: Install etcd-operator
shell: helm upgrade --install etcd-operator --set backupOperator.replicaCount=0 --set restoreOperator.replicaCount=0 stable/etcd-operator --set etcdOperator.image.pullPolicy=IfNotPresent
run_once: true
Expand Down

0 comments on commit 8177505

Please sign in to comment.