This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/bash | |
| set -euExo pipefail | |
| shopt -s inherit_errexit | |
| function create-secret-for-sa { | |
| if [[ -z "${1}" ]]; then | |
| echo "missing namespace" > /dev/stderr | |
| return 1 | |
| fi |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| oc get secret -A -o json | jq -r '.items[] | select(.metadata.annotations."auth.openshift.io/certificate-not-after"!=null) | select(.metadata.name|test("-[0-9]+$")|not) | "\(.metadata.namespace) \(.metadata.name) \(.metadata.annotations."auth.openshift.io/certificate-not-after")"' | column -t |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| oc get controllerrevisions/test-674c569ff9 -o yaml | |
| apiVersion: apps/v1 | |
| data: | |
| spec: | |
| template: | |
| $patch: replace | |
| metadata: | |
| creationTimestamp: null | |
| labels: | |
| component: fluentd |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| sudo ./openshift start --loglevel=4 2>&1 | tee /tmp/origin.log | grep -i -E 'deploy|' | |
| DEPRECATED: The 'oadm' command is deprecated, please use 'oc adm' instead. | |
| F0118 15:11:59.927720 30121 helpers.go:119] error: unknown command "start" | |
| See 'oc adm -h' for help and examples. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| E1112 22:37:17.288616 9140 event.go:260] Could not construct reference to: '&v1.Route{TypeMeta:v1.TypeMeta{Kind:"", APIVersion:""}, ObjectMeta:v1.ObjectMeta{Name:"test", GenerateName:"", Namespace:"e2e-test-routes-wbdhb-5r59t", SelfLink:"/apis/route.openshift.io/v1/namespaces/e2e-test-routes-wbdhb-5r59t/routes/test", UID:"899fbb3c-c625-11e7-bd71-66367a462123", ResourceVersion:"8873", Generation:0, CreationTimestamp:v1.Time{Time:time.Time{wall:0x0, ext:63645921818, loc:(*time.Location)(0x19cdac0)}}, DeletionTimestamp:(*v1.Time)(nil), DeletionGracePeriodSeconds:(*int64)(nil), Labels:map[string]string(nil), Annotations:map[string]string{"AwaitingAuthorizationAtURL":"https://acme-staging.api.letsencrypt.org/acme/authz/bNkyipigNJ94HV_tXVJs8IvEKNzGXP1Begt4zUwIkRY", "kubernetes.io/tls-acme":"true"}, OwnerReferences:[]v1.OwnerReference(nil), Initializers:(*v1.Initializers)(nil), Finalizers:[]string(nil), ClusterName:""}, Spec:v1.RouteSpec{Host:"nozi.cz", Path:"", To:v1.RouteTargetReference{Kind:"Service", Name:"no |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| k8s.io/client-go/tools/clientcmd/api | |
| k8s.io/client-go/pkg/api | |
| k8s.io/client-go/pkg/apis/authentication | |
| k8s.io/client-go/pkg/apis/authorization | |
| # k8s.io/client-go/tools/clientcmd/api | |
| ../../../k8s.io/client-go/tools/clientcmd/api/register.go:35:11: cannot use Config literal (type *Config) as type runtime.Object in argument to scheme.AddKnownTypes: | |
| *Config does not implement runtime.Object (missing DeepCopyObject method) | |
| k8s.io/client-go/pkg/apis/certificates | |
| # k8s.io/client-go/pkg/apis/authorization | |
| ../../../k8s.io/client-go/pkg/apis/authorization/register.go:47:28: cannot use SelfSubjectAccessReview literal (type *SelfSubjectAccessReview) as type runtime.Object in argument to scheme.AddKnownTypes: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| apiVersion: extensions/v1beta1 | |
| kind: DaemonSet | |
| metadata: | |
| name: test | |
| spec: | |
| selector: | |
| matchLabels: | |
| name: test-ds | |
| template: | |
| metadata: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| export pkg=./test/extended && go test -v -i ${pkg} && go test -v ${pkg} -ginkgo.focus 'deployment.*history.*limit' | |
| Sep 15 15:13:30.947: INFO: Overriding default scale value of zero to 1 | |
| Sep 15 15:13:30.947: INFO: Overriding default milliseconds value of zero to 5000 | |
| I0915 15:13:31.065200 19469 test.go:93] Extended test version unknown | |
| === RUN TestExtended | |
| Running Suite: Extended | |
| ======================= | |
| Random Seed: 1505481210 - Will randomize all specs | |
| Will run 1 of 805 specs |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| apiVersion: v1 | |
| items: | |
| - apiVersion: extensions/v1beta1 | |
| kind: Deployment | |
| metadata: | |
| annotations: | |
| deployment.kubernetes.io/revision: "1" | |
| creationTimestamp: 2017-08-18T16:10:29Z | |
| generation: 1 | |
| labels: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| oc adm policy add-scc-to-user anyuid -z default |
NewerOlder