Skip to content

Commit

Permalink
Fix init (#70)
Browse files Browse the repository at this point in the history
* Overriding defaults for basic example

Signed-off-by: Joe Peacock <joe_peacock@intuit.com>
Signed-off-by: Joe Peacock <joe_peacock@intuit.com>
  • Loading branch information
josephpeacock authored and Joe Peacock committed Feb 29, 2020
1 parent a10e8c4 commit 740fc4d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion admiral/cmd/admiral/cmd/root.go
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ func GetRootCmd(args []string) *cobra.Command {
"Namespace to monitor for secrets defaults to admiral-secrets")
rootCmd.PersistentFlags().StringVar(&params.DependenciesNamespace, "dependency_namespace", "default",
"Namespace to monitor for secrets defaults to admiral-secrets")
rootCmd.PersistentFlags().StringVar(&params.SyncNamespace, "sync_namespace", "admiral-sync",
rootCmd.PersistentFlags().StringVar(&params.SyncNamespace, "sync_namespace", "default",
"Namespace to monitor for secrets defaults to admiral-secrets")
rootCmd.PersistentFlags().DurationVar(&params.CacheRefreshDuration, "sync_period", 5*time.Minute,
"Interval for syncing Kubernetes resources, defaults to 5 min")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,6 @@ spec:
- admiral
- --secret_namespace
- admiral
- --sync_namespace
- admiral
name: admiral

0 comments on commit 740fc4d

Please sign in to comment.