Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 1 addition & 6 deletions community/cloud-foundation/templates/gke/gke.py
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,6 @@ def generate_config(context):
optional_props = [
'description',
'nodeConfig',
'masterAuth',
'loggingService',
'monitoringService',
'clusterIpv4Cidr',
Expand Down Expand Up @@ -123,11 +122,7 @@ def generate_config(context):
for outprop in output_props:
output_obj = {}
output_obj['name'] = outprop
ma_props = ['clusterCaCertificate', 'clientCertificate', 'clientKey']
if outprop in ma_props:
output_obj['value'] = '$(ref.' + name + \
'.masterAuth.' + outprop + ')'
elif outprop == 'instanceGroupUrls':
if outprop == 'instanceGroupUrls':
output_obj['value'] = '$(ref.' + name + \
'.nodePools[0].' + outprop + ')'
else:
Expand Down