Skip to content

Commit

Permalink
Remove toggle for MARATHON_APP_ENFORCE_GROUP_ROLE from service config…
Browse files Browse the repository at this point in the history
…uration as Marathon now injects this based on the group settings.
  • Loading branch information
kaiwalyajoshi committed Jul 24, 2019
1 parent 88d7497 commit 50af795
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 8 deletions.
5 changes: 0 additions & 5 deletions frameworks/helloworld/universe/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,6 @@
"type": "string",
"default": "hello-world"
},
"marathon_enforce_group_role" : {
"description": "DELEVELOPMENT ONLY! WILL BE REMOVED IN RELEASE. Whether to allocate using Mesos allocation role or use the legacy role subscription behaviour.",
"type": "boolean",
"default": false
},
"user": {
"description": "The user that the service will run as.",
"type": "string",
Expand Down
3 changes: 0 additions & 3 deletions frameworks/helloworld/universe/marathon.json.mustache
Original file line number Diff line number Diff line change
Expand Up @@ -37,9 +37,6 @@
"PACKAGE_BUILD_TIME_EPOCH_MS": "{{package-build-time-epoch-ms}}",
"PACKAGE_BUILD_TIME_STR": "{{package-build-time-str}}",
"FRAMEWORK_NAME": "{{service.name}}",
{{#service.marathon_enforce_group_role}}
"MARATHON_APP_ENFORCE_GROUP_ROLE": "{{service.marathon_enforce_group_role}}",
{{/service.marathon_enforce_group_role}}
"FRAMEWORK_LOG_LEVEL": "{{service.log_level}}",
"FRAMEWORK_PRINCIPAL": "{{service.service_account}}",
"FRAMEWORK_USER": "{{service.user}}",
Expand Down

0 comments on commit 50af795

Please sign in to comment.