little-river-49422
02/07/2019, 9:20 PMapiVersion: <http://rbac.authorization.k8s.io/v1beta1|rbac.authorization.k8s.io/v1beta1>
kind: RoleBinding
metadata:
name: {{ .Values.serviceAccount }}
roleRef:
apiGroup: <http://rbac.authorization.k8s.io|rbac.authorization.k8s.io>
kind: Role
name: orleans-cluster
namespace: {{ .Release.Namespace }}
subjects:
- kind: ServiceAccount
name: {{ .Values.serviceAccount }}
namespace: {{ .Release.Namespace }}
little-river-49422
02/07/2019, 9:33 PMlittle-river-49422
02/07/2019, 9:35 PMif not roleRef:
raise TypeError('Missing required property roleRef')
__props__['roleRef'] = role_ref
creamy-potato-29402
02/07/2019, 9:36 PMlittle-river-49422
02/07/2019, 9:36 PMlittle-river-49422
02/07/2019, 9:36 PMlittle-river-49422
02/07/2019, 9:36 PMlittle-river-49422
02/07/2019, 9:36 PMlittle-river-49422
02/07/2019, 9:36 PMcreamy-potato-29402
02/07/2019, 9:37 PMcreamy-potato-29402
02/07/2019, 9:37 PMlittle-river-49422
02/07/2019, 9:38 PMcreamy-potato-29402
02/07/2019, 9:38 PMcreamy-potato-29402
02/07/2019, 9:38 PMlittle-river-49422
02/07/2019, 9:38 PMerror: Program failed with an unhandled exception:
error: NoneType: None
error: an unhandled error occurred: Program exited with non-zero exit code: 1
creamy-potato-29402
02/07/2019, 9:38 PMcreamy-potato-29402
02/07/2019, 9:39 PMcreamy-potato-29402
02/07/2019, 9:39 PMlittle-river-49422
02/07/2019, 9:40 PMlittle-river-49422
02/07/2019, 9:40 PMincalculable-sundown-82514
02/07/2019, 9:42 PMincalculable-sundown-82514
02/07/2019, 9:48 PMNoneType: None
thing? I’ve never seen anything like that before and I’ve been struggling to reproduce it.little-river-49422
02/07/2019, 9:49 PMlittle-river-49422
02/07/2019, 9:49 PMincalculable-sundown-82514
02/07/2019, 9:51 PMlittle-river-49422
02/07/2019, 9:51 PMincalculable-sundown-82514
02/07/2019, 9:51 PMlittle-river-49422
02/07/2019, 9:52 PMimport pulumi
from pulumi import ResourceOptions
from pulumi_kubernetes.rbac.v1 import RoleBinding
RoleBinding(
"orleans-rbac-rb",
metadata={
"name": "orleans-rbac",
"namespace": "default"
},
role_ref={
"apiGroup": "<http://rbac.authorization.k8s.io|rbac.authorization.k8s.io>",
"kind": "ClusterRole",
"name": "orleans-rbac"
},
subjects=[
{
"kind": "ServiceAccount",
"name": "orleans-rbac",
"namespace": "default"
}
]
)
incalculable-sundown-82514
02/07/2019, 9:55 PM▶ p pre
Previewing update (pyrepro-dev):
Type Name Plan Info
+ pulumi:pulumi:Stack pyrepro-pyrepro-dev create 3 errors
Diagnostics:
pulumi:pulumi:Stack (pyrepro-pyrepro-dev):
error: Program failed with an unhandled exception:
error: Traceback (most recent call last):
File "/usr/local/pulumi/bin/pulumi-language-python-exec", line 85, in <module>
loop.run_until_complete(coro)
File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/asyncio/base_events.py", line 467, in run_until_complete
return future.result()
File "/Users/swgillespie/go/src/github.com/pulumi/scratch/pyrepro/venv/lib/python3.6/site-packages/pulumi/runtime/stack.py", line 34, in run_in_stack
Stack(func)
File "/Users/swgillespie/go/src/github.com/pulumi/scratch/pyrepro/venv/lib/python3.6/site-packages/pulumi/runtime/stack.py", line 93, in __init__
func()
File "/usr/local/pulumi/bin/pulumi-language-python-exec", line 84, in <lambda>
coro = pulumi.runtime.run_in_stack(lambda: runpy.run_path(args.PROGRAM, run_name='__main__'))
File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/runpy.py", line 280, in run_path
run_name, mod_spec, pkg_name).copy()
File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/runpy.py", line 85, in _run_code
exec(code, run_globals)
File "./__main__.py", line 20, in <module>
"namespace": "default"
File "/Users/swgillespie/go/src/github.com/pulumi/scratch/pyrepro/venv/lib/python3.6/site-packages/pulumi_kubernetes/rbac/v1/RoleBinding.py", line 25, in __init__
if not roleRef:
NameError: name 'roleRef' is not defined
error: an unhandled error occurred: Program exited with non-zero exit code: 1
Permalink: <https://app.pulumi.com/swgillespie/pyrepro/pyrepro-dev/previews/ba8171a5-665e-433e-a59b-106436ee7ab3>
error: an error occurred while advancing the preview
little-river-49422
02/07/2019, 9:56 PM