In the section "Countdown Logic", replace the code example with this:
def countdown(now):
piday = datetime(now.year, 3, 14)
# Add a year if we're past PiDay
if piday < now:
piday = datetime((now.year + 1), 3, 14)| #!/usr/bin/env bash | |
| set -euxo pipefail | |
| set -o nounset | |
| NAMESPACE="${1}" | |
| OPERATOR="${2}" | |
| # Look for a CSV, then perform the reinstall if found. If you want to _always_ reinstall, remove this check and just keep the logic inside the "if" | |
| CSV_FOUND=$(oc -n "$NAMESPACE" get clusterserviceversions.operators.coreos.com -o name | grep "$OPERATOR") |
| { | |
| "severity": "Error", | |
| "service_name": "SREManualAction", | |
| "log_type": "cluster-configuration", | |
| "summary":"Action required: Network misconfiguration", | |
| "description": "Your cluster requires rou to take action. SRE has observed that there have been changes made to network configuration which impact normal working of the cluster: Default Ingress Controller allowedSourceRanges have been modified to exclude the IP(s) of the default router, ${IP}, causing the Console and OAuth routes to become inaccessible. Please allow the IP of service 'router-default' in namespace 'openshift-ingress' in the default Ingress Controller's allowedSourceRanges field.", | |
| "internal_only": false | |
| } |
| // Updated 2025-9-10 | |
| // | |
| // This proxy.pac configuration is a mirror of the other one, but sends these URLs to /dev/null | |
| // for use with a "Home" profile, as opposed to a "Work" profile, to ensure they're not ever accessed. | |
| // | |
| // IMPORTANT - the "RAW" url for Gists changes whenever they're edited, so you must copy the new | |
| // url to your Automatic Proxy Config field in Firefox. | |
| // The "Reload" button will just reload the previous version of the file | |
| function FindProxyForURL(url, host) { |
| --- | |
| apiVersion: v1 | |
| kind: Namespace | |
| metadata: | |
| labels: | |
| kubernetes.io/metadata.name: kube-verify | |
| name: kube-verify | |
| spec: | |
| --- | |
| apiVersion: apps/v1 |
| --- | |
| apiVersion: v1 | |
| kind: Namespace | |
| metadata: | |
| name: openshift-file-integrity | |
| --- | |
| apiVersion: operators.coreos.com/v1 | |
| kind: OperatorGroup | |
| metadata: |
In the section "Countdown Logic", replace the code example with this:
def countdown(now):
piday = datetime(now.year, 3, 14)
# Add a year if we're past PiDay
if piday < now:
piday = datetime((now.year + 1), 3, 14)| #!/bin/bash | |
| set -o errexit | |
| set -o nounset | |
| trap quit INT TERM | |
| COUNT=0 | |
| if ! [ $(id -u) = 0 ]; then |
| #!/usr/bin/env python3 | |
| # | |
| # This script written for python3.7 | |
| # If running on hive, you will need a virtualenv. | |
| # | |
| # $ virtualenv venv -p python3.7 | |
| # $ pip install boto3 | |
| # | |
| # Then you should be able to run this script. |
| [ 0.000000] Booting Linux on physical CPU 0x0 | |
| [ 0.000000] Linux version 4.19.97-v7l+ (dom@buildbot) (gcc version 4.9.3 (crosstool-NG crosstool-ng-1.22.0-88-g8460611)) #1294 SMP Thu Jan 30 13:21:14 GMT 2020 | |
| [ 0.000000] CPU: ARMv7 Processor [410fd083] revision 3 (ARMv7), cr=30c5383d | |
| [ 0.000000] CPU: div instructions available: patching division code | |
| [ 0.000000] CPU: PIPT / VIPT nonaliasing data cache, PIPT instruction cache | |
| [ 0.000000] OF: fdt: Machine model: Raspberry Pi 4 Model B Rev 1.1 | |
| [ 0.000000] Memory policy: Data cache writealloc | |
| [ 0.000000] cma: Reserved 256 MiB at 0x000000001ec00000 | |
| [ 0.000000] On node 0 totalpages: 1012736 | |
| [ 0.000000] DMA zone: 1728 pages used for memmap |
| #!/usr/bin/env bash | |
| # The name of the project | |
| name='aws-account-operator' | |
| # The path to be used in the Go /src/ dir | |
| project_source_path="github.com/openshift/${name}" | |
| # Set Go version you want to use | |
| go_version='1.13.1' |