Merge "Update deploy-env role"

This commit is contained in:
Zuul 2024-09-05 13:20:18 +00:00 committed by Gerrit Code Review
commit 2163b19738
5 changed files with 18 additions and 13 deletions

View File

@ -13,3 +13,15 @@ networking:
podSubnet: "{{ kubeadm.pod_network_cidr }}" # --pod-network-cidr podSubnet: "{{ kubeadm.pod_network_cidr }}" # --pod-network-cidr
dnsDomain: "cluster.local" dnsDomain: "cluster.local"
... ...
---
apiVersion: kubeadm.k8s.io/v1beta3
kind: InitConfiguration
nodeRegistration:
taints: []
...
---
apiVersion: kubeadm.k8s.io/v1beta3
kind: JoinConfiguration
nodeRegistration:
taints: []
...

View File

@ -32,6 +32,7 @@
when: cluster_ssh_user == "root" when: cluster_ssh_user == "root"
- name: Setup ssh keys - name: Setup ssh keys
become_user: "{{ client_ssh_user }}"
block: block:
- name: Generate ssh key pair - name: Generate ssh key pair
shell: | shell: |
@ -46,6 +47,7 @@
when: (inventory_hostname in (groups['primary'] | default([]))) when: (inventory_hostname in (groups['primary'] | default([])))
- name: Setup passwordless ssh from primary and cluster nodes - name: Setup passwordless ssh from primary and cluster nodes
become_user: "{{ cluster_ssh_user }}"
block: block:
- name: Set primary ssh public key - name: Set primary ssh public key
set_fact: set_fact:

View File

@ -63,8 +63,4 @@
become_user: "{{ kubectl.user }}" become_user: "{{ kubectl.user }}"
command: helm repo remove stable command: helm repo remove stable
ignore_errors: true ignore_errors: true
- name: Untaint Kubernetes control plane node
become: false
command: kubectl taint nodes -l 'node-role.kubernetes.io/control-plane' node-role.kubernetes.io/control-plane-
... ...

View File

@ -363,8 +363,7 @@
- job: - job:
name: openstack-helm-infra-tls-2024-1-ubuntu_jammy name: openstack-helm-infra-tls-2024-1-ubuntu_jammy
description: | description: |
This job uses OSH Ceph charts for managing Ceph cluster. This job uses Rook for managing Ceph cluster.
The job is run on 1 32GB node.
parent: openstack-helm-tls-2024-1-ubuntu_jammy parent: openstack-helm-tls-2024-1-ubuntu_jammy
files: files:
- ^helm-toolkit/.* - ^helm-toolkit/.*
@ -376,14 +375,11 @@
- ^openvswitch/.* - ^openvswitch/.*
- job: - job:
name: openstack-helm-infra-tls-mariadb-ingress-2024-1-ubuntu_jammy name: openstack-helm-infra-mariadb-ingress-2024-1-ubuntu_jammy
description: | parent: openstack-helm-compute-kit-2024-1-ubuntu_jammy
This job uses OSH Ceph charts for managing Ceph cluster.
The job is run on 1 32GB node.
parent: openstack-helm-tls-2024-1-ubuntu_jammy
vars: vars:
osh_params: osh_params:
feature_gates: "tls,ingress-service" feature_gates: "ingress-service"
files: files:
- ^helm-toolkit/.* - ^helm-toolkit/.*
- ^roles/.* - ^roles/.*

View File

@ -35,7 +35,6 @@
- openstack-helm-infra-keystone-cilium-2024-1-ubuntu_jammy - openstack-helm-infra-keystone-cilium-2024-1-ubuntu_jammy
- openstack-helm-infra-keystone-flannel-2024-1-ubuntu_jammy - openstack-helm-infra-keystone-flannel-2024-1-ubuntu_jammy
- openstack-helm-infra-ceph-migrate - openstack-helm-infra-ceph-migrate
- openstack-helm-infra-tls-mariadb-ingress-2024-1-ubuntu_jammy
gate: gate:
jobs: jobs:
- openstack-helm-lint - openstack-helm-lint