This commit is contained in:
Jonas Forsberg 2021-09-26 15:05:08 +02:00
parent 8972d83800
commit 183ccc6882
4 changed files with 504 additions and 0 deletions

View File

@ -0,0 +1,186 @@
busybox
rancher/backup-restore-operator:v1.0.4-rc4
rancher/cis-operator:v1.0.4
rancher/configmap-reload:v0.3.0-rancher4
rancher/coredns-coredns:1.6.2
rancher/coredns-coredns:1.6.9
rancher/coredns-coredns:1.8.0
rancher/coreos-flannel:v0.13.0-rancher1
rancher/coreos-kube-state-metrics:v1.9.7
rancher/coreos-prometheus-config-reloader:v0.39.0
rancher/coreos-prometheus-operator:v0.39.0
rancher/eks-operator:v1.0.8
rancher/externalip-webhook:v0.1.6
rancher/flannel-cni:v0.3.0-rancher6
rancher/fleet-agent:v0.3.5
rancher/fleet:v0.3.5
rancher/fluent-bit:1.6.10
rancher/fluentd:v0.1.24
rancher/gitjob:v0.1.15
rancher/gke-operator:v1.0.3
rancher/grafana-grafana:6.7.4
rancher/grafana-grafana:7.1.5
rancher/hyperkube:v1.17.17-rancher2
rancher/hyperkube:v1.18.20-rancher1
rancher/hyperkube:v1.19.12-rancher1
rancher/hyperkube:v1.20.8-rancher1
rancher/istio-1.5-migration:0.1.1
rancher/istio-citadel:1.5.9
rancher/istio-coredns-plugin:0.2-istio-1.1
rancher/istio-galley:1.5.9
rancher/istio-installer:1.9.6-rancher1
rancher/istio-kubectl:1.4.6
rancher/istio-kubectl:1.5.10
rancher/istio-kubectl:1.5.9
rancher/istio-mixer:1.5.9
rancher/istio-node-agent-k8s:1.5.9
rancher/istio-pilot:1.5.9
rancher/istio-proxyv2:1.5.9
rancher/istio-sidecar_injector:1.5.9
rancher/jaegertracing-all-in-one:1.14
rancher/jetstack-cert-manager-controller:v0.8.1
rancher/jimmidyson-configmap-reload:v0.3.0
rancher/k3s-upgrade:v1.17.17-k3s1
rancher/k3s-upgrade:v1.18.19-k3s1
rancher/k3s-upgrade:v1.19.11-k3s1
rancher/k3s-upgrade:v1.20.7-k3s1
rancher/kiali-kiali:v1.17
rancher/klipper-helm:v0.2.3
rancher/klipper-helm:v0.4.3
rancher/klipper-lb:v0.1.2
rancher/kube-api-auth:v0.1.4
rancher/kubectl:v1.18.0
rancher/kubectl:v1.20.2
rancher/kubernetes-external-dns:v0.7.3
rancher/library-busybox:1.31.1
rancher/library-busybox:1.32.1
rancher/library-traefik:1.7.19
rancher/local-path-provisioner:v0.0.11
rancher/local-path-provisioner:v0.0.14
rancher/local-path-provisioner:v0.0.19
rancher/log-aggregator:v0.1.7
rancher/metrics-server:v0.3.6
rancher/mirrored-banzaicloud-fluentd:v1.11.5-alpine-12
rancher/mirrored-banzaicloud-logging-operator:3.9.4
rancher/mirrored-calico-cni:v3.13.4
rancher/mirrored-calico-cni:v3.16.5
rancher/mirrored-calico-cni:v3.17.2
rancher/mirrored-calico-ctl:v3.13.4
rancher/mirrored-calico-ctl:v3.16.5
rancher/mirrored-calico-ctl:v3.17.2
rancher/mirrored-calico-kube-controllers:v3.13.4
rancher/mirrored-calico-kube-controllers:v3.16.5
rancher/mirrored-calico-kube-controllers:v3.17.2
rancher/mirrored-calico-node:v3.13.4
rancher/mirrored-calico-node:v3.16.5
rancher/mirrored-calico-node:v3.17.2
rancher/mirrored-calico-pod2daemon-flexvol:v3.13.4
rancher/mirrored-calico-pod2daemon-flexvol:v3.16.5
rancher/mirrored-calico-pod2daemon-flexvol:v3.17.2
rancher/mirrored-cloud-provider-vsphere-cpi-release-manager:v1.2.1
rancher/mirrored-cloud-provider-vsphere-csi-release-driver:v2.1.0
rancher/mirrored-cloud-provider-vsphere-csi-release-syncer:v2.1.0
rancher/mirrored-cluster-proportional-autoscaler:1.7.1
rancher/mirrored-cluster-proportional-autoscaler:1.8.1
rancher/mirrored-coredns-coredns:1.6.5
rancher/mirrored-coredns-coredns:1.6.9
rancher/mirrored-coredns-coredns:1.7.0
rancher/mirrored-coredns-coredns:1.8.0
rancher/mirrored-coreos-etcd:v3.4.15-rancher1
rancher/mirrored-coreos-etcd:v3.4.3-rancher1
rancher/mirrored-coreos-flannel:v0.12.0
rancher/mirrored-curlimages-curl:7.73.0
rancher/mirrored-directxman12-k8s-prometheus-adapter:v0.8.3
rancher/mirrored-fluent-fluent-bit:1.6.10
rancher/mirrored-fluent-fluent-bit:1.6.10-debug
rancher/mirrored-grafana-grafana-image-renderer:2.0.1
rancher/mirrored-grafana-grafana:7.4.5
rancher/mirrored-idealista-prom2teams:3.2.1
rancher/mirrored-istio-install-cni:1.9.6
rancher/mirrored-istio-pilot:1.9.6
rancher/mirrored-istio-proxyv2:1.9.6
rancher/mirrored-jaegertracing-all-in-one:1.20.0
rancher/mirrored-jenkins-jnlp-slave:3.35-4
rancher/mirrored-jettech-kube-webhook-certgen:v1.5.0
rancher/mirrored-jimmidyson-configmap-reload:v0.4.0
rancher/mirrored-k8s-dns-dnsmasq-nanny:1.15.0
rancher/mirrored-k8s-dns-dnsmasq-nanny:1.15.10
rancher/mirrored-k8s-dns-dnsmasq-nanny:1.15.2
rancher/mirrored-k8s-dns-kube-dns:1.15.0
rancher/mirrored-k8s-dns-kube-dns:1.15.10
rancher/mirrored-k8s-dns-kube-dns:1.15.2
rancher/mirrored-k8s-dns-node-cache:1.15.13
rancher/mirrored-k8s-dns-node-cache:1.15.7
rancher/mirrored-k8s-dns-sidecar:1.15.0
rancher/mirrored-k8s-dns-sidecar:1.15.10
rancher/mirrored-k8s-dns-sidecar:1.15.2
rancher/mirrored-k8scsi-csi-attacher:v3.0.0
rancher/mirrored-k8scsi-csi-node-driver-registrar:v2.0.1
rancher/mirrored-k8scsi-csi-provisioner:v2.0.0
rancher/mirrored-k8scsi-csi-resizer:v1.0.0
rancher/mirrored-k8scsi-livenessprobe:v2.1.0
rancher/mirrored-kiali-kiali:v1.32.0
rancher/mirrored-kiwigrid-k8s-sidecar:1.10.7
rancher/mirrored-kube-rbac-proxy:v0.5.0
rancher/mirrored-kube-state-metrics-kube-state-metrics:v1.9.8
rancher/mirrored-library-busybox:1.31.1
rancher/mirrored-library-nginx:1.19.2-alpine
rancher/mirrored-library-nginx:1.19.9-alpine
rancher/mirrored-longhornio-backing-image-manager:v1_20210422
rancher/mirrored-longhornio-csi-attacher:v2.2.1-lh1
rancher/mirrored-longhornio-csi-node-driver-registrar:v1.2.0-lh1
rancher/mirrored-longhornio-csi-provisioner:v1.6.0-lh1
rancher/mirrored-longhornio-csi-resizer:v0.5.1-lh1
rancher/mirrored-longhornio-csi-snapshotter:v2.1.1-lh1
rancher/mirrored-longhornio-longhorn-engine:v1.1.1
rancher/mirrored-longhornio-longhorn-instance-manager:v1_20201216
rancher/mirrored-longhornio-longhorn-manager:v1.1.1
rancher/mirrored-longhornio-longhorn-share-manager:v1_20210416
rancher/mirrored-longhornio-longhorn-ui:v1.1.1
rancher/mirrored-messagebird-sachet:0.2.3
rancher/mirrored-metrics-server:v0.3.6
rancher/mirrored-metrics-server:v0.4.1
rancher/mirrored-minio-minio:RELEASE.2020-07-13T18-09-56Z
rancher/mirrored-nginx-ingress-controller-defaultbackend:1.5-rancher1
rancher/mirrored-openpolicyagent-gatekeeper:v3.3.0
rancher/mirrored-pause:3.1
rancher/mirrored-pause:3.2
rancher/mirrored-plugins-docker:18.09
rancher/mirrored-prom-alertmanager:v0.21.0
rancher/mirrored-prometheus-node-exporter:v1.1.2
rancher/mirrored-prometheus-operator-prometheus-config-reloader:v0.46.0
rancher/mirrored-prometheus-operator-prometheus-operator:v0.46.0
rancher/mirrored-prometheus-prometheus:v2.24.0
rancher/mirrored-sonobuoy-sonobuoy:v0.16.3
rancher/nginx-ingress-controller:nginx-0.35.0-rancher2
rancher/nginx-ingress-controller:nginx-0.43.0-rancher3
rancher/opa-gatekeeper:v3.1.0-beta.7
rancher/openzipkin-zipkin:2.14.2
rancher/pause:3.1
rancher/pipeline-jenkins-server:v0.1.4
rancher/pipeline-tools:v0.1.15
rancher/prom-alertmanager:v0.21.0
rancher/prom-node-exporter:v1.0.1
rancher/prom-prometheus:v2.12.0
rancher/prom-prometheus:v2.18.2
rancher/prometheus-auth:v0.2.1
rancher/pstauffer-curl:v1.0.3
rancher/pushprox-client:v0.1.0-rancher1-client
rancher/pushprox-proxy:v0.1.0-rancher1-proxy
rancher/rancher-agent:v2.5.7
rancher/rancher-agent:v2.5.9
rancher/rancher-operator:v0.1.4
rancher/rancher-runtime:v2.5.9
rancher/rancher-webhook:v0.1.1
rancher/rancher:v2.5.9
rancher/rke-tools:v0.1.74
rancher/rke-tools:v0.1.75
rancher/security-scan:v0.1.14
rancher/security-scan:v0.2.3
rancher/shell:v0.1.6
rancher/sonobuoy-sonobuoy:v0.16.3
rancher/system-upgrade-controller:v0.6.2
rancher/tekton-utils:v0.1.1
rancher/thanosio-thanos:v0.15.0
rancher/webhook-receiver:v0.2.4
registry:2

View File

@ -0,0 +1,224 @@
busybox
rancher/aks-operator:v1.0.1
rancher/backup-restore-operator:v2.0.0
rancher/cis-operator:v1.0.5
rancher/configmap-reload:v0.3.0-rancher4
rancher/coredns-coredns:1.6.9
rancher/coredns-coredns:1.8.3
rancher/coreos-flannel:v0.13.0-rancher1
rancher/eks-operator:v1.1.1
rancher/externalip-webhook:v1.0.0
rancher/flannel-cni:v0.3.0-rancher6
rancher/fleet-agent:v0.3.6
rancher/fleet:v0.3.6
rancher/fluentd:v0.1.30
rancher/gitjob:v0.1.21
rancher/gke-operator:v1.1.1
rancher/hardened-calico:v3.13.3-build20210223
rancher/hardened-cluster-autoscaler:v1.8.3-build20210729
rancher/hardened-cni-plugins:v0.9.1-build20210414
rancher/hardened-coredns:v1.8.3-build20210720
rancher/hardened-dns-node-cache:1.20.0-build20210803
rancher/hardened-etcd:v3.4.13-k3s1-build20210223
rancher/hardened-flannel:v0.13.0-rancher1-build20210223
rancher/hardened-ib-sriov-cni:v1.0.0-build20210310
rancher/hardened-k8s-metrics-server:v0.3.6-build20210223
rancher/hardened-kubernetes:v1.21.4-rke2r2-build20210829
rancher/hardened-multus-cni:v3.7.1-build20210416
rancher/hardened-sriov-cni:v2.6-build20210310
rancher/hardened-sriov-network-config-daemon:v1.0.0-build20210429
rancher/hardened-sriov-network-device-plugin:v3.3.1-build20210310
rancher/hardened-sriov-network-operator:v1.0.0-build20210429
rancher/hardened-sriov-network-resources-injector:v1-build20210310
rancher/hardened-sriov-network-webhook:v1.0.0-build20210429
rancher/hyperkube:v1.18.20-rancher1
rancher/hyperkube:v1.19.14-rancher1
rancher/hyperkube:v1.20.10-rancher1
rancher/hyperkube:v1.21.4-rancher1
rancher/istio-1.5-migration:0.1.1
rancher/istio-installer:1.10.4-rancher1
rancher/istio-kubectl:1.4.6
rancher/k3s-upgrade:v1.18.20-k3s1
rancher/k3s-upgrade:v1.19.14-k3s1
rancher/k3s-upgrade:v1.20.10-k3s1
rancher/k3s-upgrade:v1.21.4-k3s1
rancher/klipper-helm:v0.4.3
rancher/klipper-helm:v0.6.4-build20210813
rancher/klipper-lb:v0.1.2
rancher/klipper-lb:v0.2.0
rancher/kube-api-auth:v0.1.5
rancher/kubectl:v1.20.2
rancher/library-busybox:1.32.1
rancher/library-traefik:1.7.19
rancher/library-traefik:2.4.8
rancher/local-path-provisioner:v0.0.11
rancher/local-path-provisioner:v0.0.14
rancher/local-path-provisioner:v0.0.19
rancher/log-aggregator:v0.1.8
rancher/metrics-server:v0.3.6
rancher/mirrored-banzaicloud-fluentd:v1.12.4-alpine-1
rancher/mirrored-banzaicloud-logging-operator:3.12.0
rancher/mirrored-calico-cni:v3.13.4
rancher/mirrored-calico-cni:v3.16.5
rancher/mirrored-calico-cni:v3.17.2
rancher/mirrored-calico-cni:v3.19.2
rancher/mirrored-calico-ctl:v3.13.4
rancher/mirrored-calico-ctl:v3.16.5
rancher/mirrored-calico-ctl:v3.17.2
rancher/mirrored-calico-ctl:v3.19.2
rancher/mirrored-calico-kube-controllers:v3.13.4
rancher/mirrored-calico-kube-controllers:v3.16.5
rancher/mirrored-calico-kube-controllers:v3.17.2
rancher/mirrored-calico-kube-controllers:v3.19.2
rancher/mirrored-calico-node:v3.13.4
rancher/mirrored-calico-node:v3.16.5
rancher/mirrored-calico-node:v3.17.2
rancher/mirrored-calico-node:v3.19.2
rancher/mirrored-calico-operator:v1.17.6
rancher/mirrored-calico-pod2daemon-flexvol:v3.13.4
rancher/mirrored-calico-pod2daemon-flexvol:v3.16.5
rancher/mirrored-calico-pod2daemon-flexvol:v3.17.2
rancher/mirrored-calico-pod2daemon-flexvol:v3.19.2
rancher/mirrored-calico-typha:v3.19.2
rancher/mirrored-cilium-cilium:v1.9.8
rancher/mirrored-cilium-operator-aws:v1.9.8
rancher/mirrored-cilium-operator-azure:v1.9.8
rancher/mirrored-cilium-operator-generic:v1.9.8
rancher/mirrored-cilium-startup-script:62bfbe88c17778aad7bef9fa57ff9e2d4a9ba0d8
rancher/mirrored-cloud-provider-vsphere-cpi-release-manager:v1.2.1
rancher/mirrored-cloud-provider-vsphere-csi-release-driver:v2.2.1
rancher/mirrored-cloud-provider-vsphere-csi-release-syncer:v2.2.1
rancher/mirrored-cluster-proportional-autoscaler:1.7.1
rancher/mirrored-cluster-proportional-autoscaler:1.8.1
rancher/mirrored-cluster-proportional-autoscaler:1.8.3
rancher/mirrored-coredns-coredns:1.6.2
rancher/mirrored-coredns-coredns:1.6.9
rancher/mirrored-coredns-coredns:1.7.0
rancher/mirrored-coredns-coredns:1.8.0
rancher/mirrored-coredns-coredns:1.8.4
rancher/mirrored-coreos-etcd:v3.4.15-rancher1
rancher/mirrored-coreos-etcd:v3.4.16-rancher1
rancher/mirrored-coreos-flannel:v0.12.0
rancher/mirrored-coreos-flannel:v0.13.0
rancher/mirrored-coreos-flannel:v0.14.0
rancher/mirrored-coreos-prometheus-config-reloader:v0.40.0
rancher/mirrored-coreos-prometheus-operator:v0.40.0
rancher/mirrored-curlimages-curl:7.77.0
rancher/mirrored-directxman12-k8s-prometheus-adapter:v0.8.4
rancher/mirrored-fluent-fluent-bit:1.7.9
rancher/mirrored-fluent-fluent-bit:1.7.9-debug
rancher/mirrored-grafana-grafana-image-renderer:3.0.1
rancher/mirrored-grafana-grafana:6.7.4
rancher/mirrored-grafana-grafana:7.5.8
rancher/mirrored-idealista-prom2teams:3.2.2
rancher/mirrored-istio-citadel:1.5.9
rancher/mirrored-istio-coredns-plugin:0.2-istio-1.1
rancher/mirrored-istio-galley:1.5.9
rancher/mirrored-istio-install-cni:1.10.4
rancher/mirrored-istio-kubectl:1.5.9
rancher/mirrored-istio-mixer:1.5.9
rancher/mirrored-istio-node-agent-k8s:1.5.9
rancher/mirrored-istio-pilot:1.10.4
rancher/mirrored-istio-pilot:1.5.9
rancher/mirrored-istio-proxyv2:1.10.4
rancher/mirrored-istio-proxyv2:1.5.9
rancher/mirrored-istio-sidecar_injector:1.5.9
rancher/mirrored-jaegertracing-all-in-one:1.14
rancher/mirrored-jaegertracing-all-in-one:1.20.0
rancher/mirrored-jenkins-jnlp-slave:4.7-1
rancher/mirrored-jetstack-cert-manager-controller:v0.8.1
rancher/mirrored-jettech-kube-webhook-certgen:v1.5.1
rancher/mirrored-jettech-kube-webhook-certgen:v1.5.2
rancher/mirrored-jimmidyson-configmap-reload:v0.3.0
rancher/mirrored-jimmidyson-configmap-reload:v0.4.0
rancher/mirrored-k8s-dns-dnsmasq-nanny:1.15.10
rancher/mirrored-k8s-dns-dnsmasq-nanny:1.15.2
rancher/mirrored-k8s-dns-dnsmasq-nanny:1.17.4
rancher/mirrored-k8s-dns-kube-dns:1.15.10
rancher/mirrored-k8s-dns-kube-dns:1.15.2
rancher/mirrored-k8s-dns-kube-dns:1.17.4
rancher/mirrored-k8s-dns-node-cache:1.15.13
rancher/mirrored-k8s-dns-node-cache:1.15.7
rancher/mirrored-k8s-dns-node-cache:1.18.0
rancher/mirrored-k8s-dns-sidecar:1.15.10
rancher/mirrored-k8s-dns-sidecar:1.15.2
rancher/mirrored-k8s-dns-sidecar:1.17.4
rancher/mirrored-k8scsi-csi-attacher:v3.1.0
rancher/mirrored-k8scsi-csi-node-driver-registrar:v2.1.0
rancher/mirrored-k8scsi-csi-provisioner:v2.1.0
rancher/mirrored-k8scsi-csi-resizer:v1.1.0
rancher/mirrored-k8scsi-livenessprobe:v2.2.0
rancher/mirrored-kiali-kiali:v1.17
rancher/mirrored-kiali-kiali:v1.35.0
rancher/mirrored-kiwigrid-k8s-sidecar:1.12.2
rancher/mirrored-kube-rbac-proxy:v0.5.0
rancher/mirrored-kube-state-metrics-kube-state-metrics:v2.0.0
rancher/mirrored-kubernetes-external-dns:v0.7.3
rancher/mirrored-library-busybox:1.31.1
rancher/mirrored-library-nginx:1.21.1-alpine
rancher/mirrored-longhornio-backing-image-manager:v1_20210422
rancher/mirrored-longhornio-csi-attacher:v2.2.1-lh2
rancher/mirrored-longhornio-csi-node-driver-registrar:v1.2.0-lh1
rancher/mirrored-longhornio-csi-provisioner:v1.6.0-lh2
rancher/mirrored-longhornio-csi-resizer:v0.5.1-lh2
rancher/mirrored-longhornio-csi-snapshotter:v2.1.1-lh2
rancher/mirrored-longhornio-longhorn-engine:v1.1.2
rancher/mirrored-longhornio-longhorn-instance-manager:v1_20210621
rancher/mirrored-longhornio-longhorn-manager:v1.1.2
rancher/mirrored-longhornio-longhorn-share-manager:v1_20210416
rancher/mirrored-longhornio-longhorn-ui:v1.1.2
rancher/mirrored-messagebird-sachet:0.2.3
rancher/mirrored-metrics-server:v0.3.6
rancher/mirrored-metrics-server:v0.4.1
rancher/mirrored-metrics-server:v0.5.0
rancher/mirrored-minio-minio:RELEASE.2020-07-13T18-09-56Z
rancher/mirrored-nginx-ingress-controller-defaultbackend:1.5-rancher1
rancher/mirrored-openpolicyagent-gatekeeper:v3.5.1
rancher/mirrored-openzipkin-zipkin:2.14.2
rancher/mirrored-pause:3.1
rancher/mirrored-pause:3.2
rancher/mirrored-pause:3.4.1
rancher/mirrored-plugins-docker:19.03.8
rancher/mirrored-prom-node-exporter:v1.0.1
rancher/mirrored-prom-prometheus:v2.12.0
rancher/mirrored-prom-prometheus:v2.18.2
rancher/mirrored-prometheus-alertmanager:v0.22.0
rancher/mirrored-prometheus-alertmanager:v0.22.2
rancher/mirrored-prometheus-node-exporter:v1.1.2
rancher/mirrored-prometheus-operator-prometheus-config-reloader:v0.48.0
rancher/mirrored-prometheus-operator-prometheus-operator:v0.48.0
rancher/mirrored-prometheus-prometheus:v2.27.1
rancher/mirrored-pstauffer-curl:v1.0.3
rancher/mirrored-sonobuoy-sonobuoy:v0.16.3
rancher/mirrored-thanosio-thanos:v0.21.1
rancher/nginx-ingress-controller:nginx-0.35.0-rancher2
rancher/nginx-ingress-controller:nginx-0.47.0-hardened1
rancher/nginx-ingress-controller:nginx-0.48.1-rancher1
rancher/opa-gatekeeper:v3.1.0-beta.7
rancher/pause:3.1
rancher/pause:3.5
rancher/pipeline-jenkins-server:v0.1.4
rancher/pipeline-tools:v0.1.16
rancher/prometheus-auth:v0.2.2
rancher/pushprox-client:v0.1.0-rancher2-client
rancher/pushprox-proxy:v0.1.0-rancher2-proxy
rancher/rancher-agent:v2.6.0
rancher/rancher-runtime:v2.6.0
rancher/rancher-webhook:v0.2.0
rancher/rancher:v2.6.0
rancher/rke-tools:v0.1.75
rancher/rke-tools:v0.1.78
rancher/rke2-cloud-provider:v0.0.1-build20210629
rancher/rke2-runtime:v1.21.4-rke2r2
rancher/rke2-upgrade:v1.21.4-rke2r2
rancher/security-scan:v0.1.14
rancher/security-scan:v0.2.3
rancher/shell:v0.1.10
rancher/shell:v0.1.8
rancher/system-agent-installer-k3s:v1.21.4-k3s1
rancher/system-agent-installer-rke2:v1.21.4-rke2r2
rancher/system-agent:v0.1.0-suc
rancher/system-upgrade-controller:v0.7.5
rancher/tekton-utils:v0.1.2
rancher/webhook-receiver:v0.2.5
registry:2

0
image-lists/testing.txt Normal file
View File

View File

@ -12,6 +12,8 @@ Usage ${0##*/} [options..]
-N, --network configure network settings -N, --network configure network settings
-s, --salt run a masterless salt-call -s, --salt run a masterless salt-call
-y, --yes answer 'yes' on all questions -y, --yes answer 'yes' on all questions
-i, --image-load pull images so they hits the local proxy
-t, --tools Install/update tools (kubectl, helm, etc)
--rmt-sync Sync database with SUSE Customer Center --rmt-sync Sync database with SUSE Customer Center
--rmt-enable-products Enable all preconfigured repositories --rmt-enable-products Enable all preconfigured repositories
--rmt-mirror Mirror repositories --rmt-mirror Mirror repositories
@ -173,6 +175,86 @@ function rmt_mirror(){
} }
function image_load(){
new_log "Pre Load all Images"
for d in "$SCRIPTDIR"/image-lists/*/ ; do
name="${d::-1}"
name="${name##*/}"
for prdir in $SCRIPTDIR/image-lists/$name/*/; do
version="${prdir::-1}"
version="${version##*/}"
echo " * $name $version"
done
done
if asktobreak; then
return
fi
for d in "$SCRIPTDIR"/image-lists/*/ ; do
name="${d::-1}"
name="${name##*/}"
for prdir in $SCRIPTDIR/image-lists/$name/*/; do
version="${prdir::-1}"
version="${version##*/}"
for f in $prdir/*.txt; do
echo "Loading $name $version - ${f##*/}"
cat $f | while read line
do
sudo podman image pull "$line"
done
done
done
done
}
function install_tools(){
new_log "Install client tools"
echo "- kubectl"
echo "- heml"
if asktobreak; then
return
fi
set +e
echo "---- kubectl ----"
cd $HOME/bin
if [[ -f kubectl ]]; then
KUBECTL_CURRENT=$(./kubectl version 2> /dev/null| sed -n 's/.* GitVersion:"\(v[0-9]*\.[0-9]*\.[0-9]*\)".*/\1/p')
else
KUBECTL_CURRENT="N/A"
fi
KUBECTL_STABLE="$(curl -L -s https://dl.k8s.io/release/stable.txt)"
echo "Installed version: $KUBECTL_CURRENT"
echo "Latest stable version: $KUBECTL_STABLE"
if [[ "$KUBECTL_CURRENT" != "$KUBECTL_STABLE" ]]; then
curl -LO https://dl.k8s.io/release/$KUBECTL_STABLE/bin/linux/amd64/kubectl
chmod +x kubectl
fi
echo ""
echo "---- helm ----"
if [[ -f helm ]]; then
HELM_CURRENT=$(./helm version | sed -n 's/.*Version:"\(v[0-9]*\.[0-9]*\.[0-9]*\)".*/\1/p')
else
HELM_CURRENT="N/A"
fi
HELM_STABLE="$(curl -Ls https://github.com/helm/helm/releases | grep 'href="/helm/helm/releases/tag/v3.[0-9]*.[0-9]*\"' | grep -v no-underline | head -n 1 | cut -d '"' -f 2 | awk '{n=split($NF,a,"/");print a[n]}' | awk 'a !~ $0{print}; {a=$0}')"
echo "Installed version: $HELM_CURRENT"
echo "Latest stable version: $HELM_STABLE"
if [[ "$HELM_CURRENT" != "$HELM_STABLE" ]]; then
curl -LO https://get.helm.sh/helm-$HELM_STABLE-linux-amd64.tar.gz
tar xvzf helm-$HELM_STABLE-linux-amd64.tar.gz --strip-components=1 linux-amd64/helm
rm helm-$HELM_STABLE-linux-amd64.tar.gz
fi
echo ""
set -e
}
######################### #########################
# #
# Main Script # Main Script
@ -187,6 +269,8 @@ ANSWER_YES=false
RMT_SYNC=false RMT_SYNC=false
RMT_MIRROR=false RMT_MIRROR=false
RMT_ENABLE_PRODUCTS=false RMT_ENABLE_PRODUCTS=false
IMAGE_LOAD=false
INSTALL_TOOLS=false
while :; do while :; do
case ${1-noop} in case ${1-noop} in
@ -217,6 +301,14 @@ while :; do
RMT_ENABLE_PRODUCTS=true RMT_ENABLE_PRODUCTS=true
ALL=false ALL=false
;; ;;
-i|--image-load)
IMAGE_LOAD=true
ALL=false
;;
-t|--tools)
INSTALL_TOOLS=true
ALL=false
;;
--) #End of all options --) #End of all options
shift shift
break break
@ -240,6 +332,8 @@ done
[[ $ALL == true ]] || [[ $RMT_SYNC == true ]] && rmt_sync [[ $ALL == true ]] || [[ $RMT_SYNC == true ]] && rmt_sync
[[ $ALL == true ]] || [[ $RMT_ENABLE_PRODUCTS == true ]] && rmt_enable_products [[ $ALL == true ]] || [[ $RMT_ENABLE_PRODUCTS == true ]] && rmt_enable_products
[[ $ALL == true ]] || [[ $RMT_MIRROR == true ]] && rmt_mirror [[ $ALL == true ]] || [[ $RMT_MIRROR == true ]] && rmt_mirror
[[ $ALL == true ]] || [[ $IMAGE_LOAD == true ]] && image_load
[[ $ALL == true ]] || [[ $INSTALL_TOOLS == true ]] && install_tools
printf "\n DONE!!!!!!!\n" printf "\n DONE!!!!!!!\n"