Skip to content

Commit

Permalink
Fix oci-mirror config data key. (#267)
Browse files Browse the repository at this point in the history
  • Loading branch information
Gerrit91 committed Feb 26, 2024
1 parent 265b543 commit a3587e1
Show file tree
Hide file tree
Showing 5 changed files with 27 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,10 @@ isolated_clusters_registry_oci_mirror_config:
destination: http://registry:5000/sig-storage/snapshot-controller
match:
semver: ">= v6.3.0"
- source: registry.k8s.io/coredns/coredns
destination: http://registry:5000/coredns/coredns
match:
semver: ">= v1.10.0"
- source: r.metal-stack.io/csi-lvm-controller
destination: http://registry:5000/csi-lvm-controller
match:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
---
apiVersion: v1
kind: Service
metadata:
Expand All @@ -7,16 +8,33 @@ metadata:
app.kubernetes.io/part-of: isolated-clusters
app.kubernetes.io/managed-by: ansible
app.kubernetes.io/part-of: "{{ isolated_clusters_group_label }}"
name: coredns
name: coredns-udp
spec:
type: ClusterIP
ports:
- name: dns
port: 53
protocol: UDP
targetPort: 8053
selector:
app.kubernetes.io/name: coredns
---
apiVersion: v1
kind: Service
metadata:
labels:
app.kubernetes.io/name: coredns
app.kubernetes.io/component: dns
app.kubernetes.io/part-of: isolated-clusters
app.kubernetes.io/managed-by: ansible
app.kubernetes.io/part-of: "{{ isolated_clusters_group_label }}"
name: coredns-tcp
spec:
type: ClusterIP
ports:
- name: dns-tcp
port: 53
protocol: TCP
targetPort: 8053
selector:
app.kubernetes.io/name: coredns
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ controller:
enabled: true

tcp:
53: "{{ isolated_clusters_dns_namespace }}/coredns:53"
53: "{{ isolated_clusters_dns_namespace }}/coredns-tcp:53"
udp:
53: "{{ isolated_clusters_dns_namespace }}/coredns:53"
53: "{{ isolated_clusters_dns_namespace }}/coredns-udp:53"
123: "{{ isolated_clusters_ntp_namespace }}/chrony:123"
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,6 @@ metadata:
app.kubernetes.io/part-of: isolated-clusters
app.kubernetes.io/managed-by: ansible
app.kubernetes.io/part-of: "{{ isolated_clusters_group_label }}"
stringData:
data:
oci-mirror.yaml: |
{{ isolated_clusters_registry_oci_mirror_config | to_nice_yaml | indent(width=6, first=false) }}
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
---
apiVersion: v1
kind: Service
metadata:
Expand Down

0 comments on commit a3587e1

Please sign in to comment.