Skip to content

Commit

Permalink
chore: Update Image MIrror Policy
Browse files Browse the repository at this point in the history
  • Loading branch information
ArthurVardevanyan committed Feb 20, 2024
1 parent 2aca092 commit d9220e3
Show file tree
Hide file tree
Showing 6 changed files with 34 additions and 10 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -134,9 +134,9 @@ end

<https://www.okd.io/>

| Kubernetes Channel | OKD Channel | OKD OS | Host Operating System |
| ------------------ | ----------- | ---------------- | --------------------- |
| v1.27 | stable-4.11 | Fedora CoreOS 38 | RHEL 9.3 |
| Kubernetes Channel | OKD Version | OKD Channel | OKD OS | Host Operating System |
| ------------------ | ----------- | ----------- | ---------------- | --------------------- |
| v1.28 | 4.15-\* | stable-4.11 | Fedora CoreOS 39 | RHEL 9.3 |

**Machines:**

Expand Down
3 changes: 3 additions & 0 deletions kubernetes/kyverno/base/deployments.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,9 @@ spec:
effect: NoSchedule
- key: node-role.kubernetes.io/infra
effect: NoSchedule
nodeSelector:
kubernetes.io/os: linux
node-role.kubernetes.io/control-plane: ""
dnsPolicy: ClusterFirst
serviceAccountName: kyverno-admission-controller
automountServiceAccountToken: true
Expand Down
1 change: 1 addition & 0 deletions kubernetes/kyverno/base/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,4 @@ resources:
- ./resource-quota.yaml
- ./role.yaml
- ./service.yaml
- ./pdb.yaml
12 changes: 12 additions & 0 deletions kubernetes/kyverno/base/pdb.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
kind: PodDisruptionBudget
apiVersion: policy/v1
metadata:
name: "kyverno-admission-controller"
namespace: kyverno
spec:
maxUnavailable: 1
selector:
matchLabels:
app.kubernetes.io/component: admission-controller
app.kubernetes.io/instance: kyverno
app.kubernetes.io/part-of: kyverno
2 changes: 1 addition & 1 deletion kubernetes/longhorn/base/ui-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ spec:
automountServiceAccountToken: true
containers:
- name: oauth-proxy
image: quay.io/openshift/origin-oauth-proxy:4.15@sha256:106ce5edfceaff8a650016707f49b2dbe9220cb734d6c3a3df847fa07ae15585
image: quay.io/openshift/origin-oauth-proxy:4.15
imagePullPolicy: IfNotPresent
resources:
requests:
Expand Down
20 changes: 14 additions & 6 deletions okd/okd-configuration/base/image-mirror-set.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -39,13 +39,25 @@ spec:
- registry.arthurvardevanyan.com/kube-vip
source: ghcr.io/kube-vip
mirrorSourcePolicy: AllowContactingSource
- mirrors:
- registry.arthurvardevanyan.com/longhornio
source: docker.io/longhornio
mirrorSourcePolicy: NeverContactSource
- mirrors:
- registry.arthurvardevanyan.com/kyverno/kyverno
source: ghcr.io/kyverno/kyverno
mirrorSourcePolicy: NeverContactSource
---
apiVersion: config.openshift.io/v1
kind: ImageTagMirrorSet
metadata:
name: image-tag-mirror
spec:
imageTagMirrors:
- mirrors:
- registry.arthurvardevanyan.com/openshift/origin-oauth-proxy
source: quay.io/openshift/origin-oauth-proxy
mirrorSourcePolicy: AllowContactingSource
- mirrors:
- registry.arthurvardevanyan.com/projectquay
source: quay.io/projectquay
Expand Down Expand Up @@ -165,12 +177,8 @@ spec:
source: gcr.io/kubebuilder
mirrorSourcePolicy: NeverContactSource
- mirrors:
- registry.arthurvardevanyan.com/netobserv/network-observability-operator
source: quay.io/netobserv/network-observability-operator
mirrorSourcePolicy: NeverContactSource
- mirrors:
- registry.arthurvardevanyan.com/netobserv/network-observability-console-plugin
source: quay.io/netobserv/network-observability-console-plugin
- registry.arthurvardevanyan.com/netobserv
source: quay.io/netobserv
mirrorSourcePolicy: NeverContactSource
- mirrors:
- registry.arthurvardevanyan.com/mongodb/mongo
Expand Down

0 comments on commit d9220e3

Please sign in to comment.