Skip to content

Instantly share code, notes, and snippets.

View mdbooth's full-sized avatar

Matthew Booth mdbooth

View GitHub Profile
@mdbooth
mdbooth / credentials-request.yaml
Last active October 9, 2023 18:26
CAPO POC yamls
apiVersion: cloudcredential.openshift.io/v1
kind: CredentialsRequest
metadata:
name: openshift-cluster-api-openstack
namespace: openshift-cloud-credential-operator
spec:
providerSpec:
apiVersion: cloudcredential.openshift.io/v1
kind: OpenStackProviderSpec
secretRef:
@mdbooth
mdbooth / 98-var-lib-etcd.yaml
Last active February 9, 2024 16:24
OpenShift on OpenStack with etcd on local ephemeral disk
apiVersion: machineconfiguration.openshift.io/v1
kind: MachineConfig
metadata:
labels:
machineconfiguration.openshift.io/role: master
name: 98-var-lib-etcd
spec:
config:
ignition:
version: 3.4.0
package ispalindrome
import (
"unicode"
)
// Attempt 1
/*
func isPalindrome(s string) bool {
for i := range s {