Skip to content

Instantly share code, notes, and snippets.

@marcoderama
marcoderama / ReplicaTestFails.yaml
Created July 6, 2020 19:55
k8s CRD with subresources.scale that depends on field with default value
apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
annotations:
controller-gen.kubebuilder.io/version: v0.3.0 and then pared down
creationTimestamp: null
name: replicatests.cloudstate.io
spec:
conversion:
strategy: None
@marcoderama
marcoderama / ReplicaTestWorks.yaml
Created July 6, 2020 19:51
k8s CRD with default that works
apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
annotations:
controller-gen.kubebuilder.io/version: v0.3.0 and then pared down
creationTimestamp: null
name: replicatests.cloudstate.io
spec:
conversion:
strategy: None
Script started on Thu Feb 21 19:50:26 2019
[?1034h]0;~/lightbend/github/console-charts/enterprise-suite/scriptsscripts[498] ./prtests
Error: release: "enterprise-suite" not found
########################################
# Starting state
NAME READY STATUS RESTARTS AGE
pod/tiller-deploy-c7d5d5695-nntrf 1/1 Running 3 22h
NAME TYPE CLUSTER-IP EXTERNAL-IP PORT(S) AGE
service/tiller-deploy ClusterIP 10.98.108.94 <none> 44134/TCP 22h

Keybase proof

I hereby claim:

  • I am marcoderama on github.
  • I am marcoderama (https://keybase.io/marcoderama) on keybase.
  • I have a public key ASDmmsT8cu7RPugP47qCLLU5gvqoy7LfHwMEcwQcbLtlaQo

To claim this, I am signing this object: