![Pete Birley](/assets/img/avatar_default.png)
This PS adds support for CentOS, Fedora and running the gate locally on a developers machine. It also expands on the original gate scripts by setting up dns access to the OpenStack cluster from the host's running OpenStack-Helm using a daemonset. Change-Id: I99c573a44a73452d558e612fc020e22e7f41ade7
42 lines
1.2 KiB
YAML
42 lines
1.2 KiB
YAML
# Copyright 2017 The Openstack-Helm Authors.
|
|
#
|
|
# 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.
|
|
|
|
apiVersion: extensions/v1beta1
|
|
kind: DaemonSet
|
|
metadata:
|
|
name: resolv-conf-util
|
|
spec:
|
|
template:
|
|
metadata:
|
|
labels:
|
|
version: v0.1.0
|
|
name: resolv-conf-util
|
|
spec:
|
|
containers:
|
|
- name: resolv-conf-util
|
|
image: docker.io/ubuntu:16.04
|
|
command:
|
|
- /bin/bash
|
|
- -ecx
|
|
- |
|
|
cat /etc/resolv.conf > /host/etc/resolv.conf
|
|
tail -f /dev/null
|
|
volumeMounts:
|
|
- mountPath: /host/etc/resolv.conf
|
|
name: host-resolv-conf
|
|
volumes:
|
|
- name: host-resolv-conf
|
|
hostPath:
|
|
path: /etc/resolv.conf
|