I setup a drone in k8s as follow the doc , and create pipleline like :
kind: pipeline
type: kubernetes
name: default
steps:
- name: cat-hosts
image: busybox
commands:- cat /etc/hosts
host_aliases:
- ip: 127.0.0.1
hostnames:
the drone version:
drone/drone:2.11.1
drone/drone-runner-kube:1.0.0-beta.6
k8s version:
Client Version: version.Info{Major:“1”, Minor:“23”, GitVersion:“v1.23.4+k3s1”, GitCommit:“43b1cb48200d8f6af85c16ed944d68fcc96b6506”, GitTreeState:“clean”, BuildDate:“2022-02-24T22:38:17Z”, GoVersion:“go1.17.5”, Compiler:“gc”, Platform:“linux/amd64”}
Server Version: version.Info{Major:“1”, Minor:“23”, GitVersion:“v1.23.4+k3s1”, GitCommit:“43b1cb48200d8f6af85c16ed944d68fcc96b6506”, GitTreeState:“clean”, BuildDate:“2022-02-24T22:38:17Z”, GoVersion:“go1.17.5”, Compiler:“gc”, Platform:“linux/amd64”}
the issue is :
the host aliase dosen’t be added in the a Pod’s /etc/hosts
of the pipeline
can someone confirm it’s a existing issue?