apt-cacher image doesn't use apt-cache.lan... yes,yes!

This commit is contained in:
2021-02-19 22:19:00 +01:00
parent b66179023a
commit b25f6ca608
5 changed files with 1 additions and 84 deletions

View File

@@ -55,7 +55,7 @@ spec:
apiVersion: tekton.dev/v1beta1 apiVersion: tekton.dev/v1beta1
kind: TaskRun kind: TaskRun
metadata: metadata:
name: img-apt-cacher-ng-taskrun name: img-apt-cacher-ng
spec: spec:
#serviceAccountName: dockerhub-service #serviceAccountName: dockerhub-service
taskRef: taskRef:

View File

@@ -1,18 +0,0 @@
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRoleBinding
metadata:
name: admin-user
roleRef:
apiGroup: rbac.authorization.k8s.io
kind: ClusterRole
name: cluster-admin
subjects:
- kind: ServiceAccount
name: admin-user
namespace: kubernetes-dashboard
---
apiVersion: v1
kind: ServiceAccount
metadata:
name: admin-user
namespace: kubernetes-dashboard

View File

@@ -1,18 +0,0 @@
apiVersion: extensions/v1beta1
kind: Ingress
metadata:
name: k8s-dashboard
namespace: kubernetes-dashboard
spec:
rules:
- host: k8s-dashboard.lan
http:
paths:
- backend:
serviceName: kubernetes-dashboard
servicePort: http
path: /
pathType: ImplementationSpecific
status:
loadBalancer: {}

View File

@@ -1,35 +0,0 @@
apiVersion: v1
kind: Service
metadata:
name: kube-dns-tcp
namespace: kube-system
annotations:
metallb.universe.tf/address-pool: default
metallb.universe.tf/allow-shared-ip: pihole-svc
spec:
selector:
k8s-app: kube-dns
ports:
- protocol: TCP
port: 53
targetPort: 53
type: LoadBalancer
loadBalancerIP: 172.23.255.253
---
apiVersion: v1
kind: Service
metadata:
name: kube-dns-udp
namespace: kube-system
annotations:
metallb.universe.tf/address-pool: default
metallb.universe.tf/allow-shared-ip: pihole-svc
spec:
selector:
k8s-app: kube-dns
ports:
- protocol: UDP
port: 53
targetPort: 53
type: LoadBalancer
loadBalancerIP: 172.23.255.253

View File

@@ -1,12 +0,0 @@
apiVersion: v1
kind: ConfigMap
metadata:
namespace: metallb-system
name: config
data:
config: |
address-pools:
- name: default
protocol: layer2
addresses:
- 172.23.255.1-172.23.255.254