blob: 2322c3d4cd29fbb5865fabc2d39cae84ca745546 [file] [log] [blame]
# Copyright (c) 2022 VEXXHOST, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License"); you may
# not use this file except in compliance with the License. You may obtain
# a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
# License for the specific language governing permissions and limitations
# under the License.
- name: Configure Helm repository
kubernetes.core.helm_repository:
name: cilium
repo_url: https://helm.cilium.io/
- name: Deploy Helm chart
kubernetes.core.helm:
name: cilium
chart_ref: cilium/cilium
chart_version: 1.10.7
release_namespace: kube-system
kubeconfig: /etc/kubernetes/admin.conf
values:
image:
repository: "{{ atmosphere_images['cilium_node'] | docker_image('name') }}"
tunnel: geneve
operator:
image:
repository: "{{ atmosphere_images['cilium_operator'] | docker_image('name') | replace('-generic', '') }}"
nodeSelector:
openstack-control-plane: enabled
ipam:
operator:
clusterPoolIPv4PodCIDR: "{{ cilium_ipv4_cidr | default('10.0.0.0/8') }}"