Skip to content

Commit

Permalink
Revert "Fix k8s permissions (observatorium#133)"
Browse files Browse the repository at this point in the history
This reverts commit e545b83.
  • Loading branch information
christopherzli committed Aug 16, 2024
1 parent dd89db6 commit 475c792
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 2 deletions.
1 change: 0 additions & 1 deletion examples/manifests/role.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@ rules:
resources:
- pods
verbs:
- list
- get
- update
- apiGroups:
Expand Down
2 changes: 1 addition & 1 deletion jsonnet/lib/thanos-receive-controller.libsonnet
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ function(params) {
{
apiGroups: [''],
resources: ['pods'],
verbs: ['list', 'get', 'update'],
verbs: ['get', 'update'],
},
{
apiGroups: ['apps'],
Expand Down
1 change: 1 addition & 0 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,7 @@ func parseFlags() CmdConfig {
flag.StringVar(&config.podAzAnnotationKey, "pod-az-annotation-key", "", "pod annotation key for AZ Info, If not specified or key not found, will use sts name as AZ key")
flag.StringVar(&config.migrationState, "migration-state", "no-state", "[Databricks Internal] internal pantheon migration state info")
flag.Parse()

return config
}

Expand Down

0 comments on commit 475c792

Please sign in to comment.