-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: Implement backend namespace and duration configuration (#30)
* feat: Implement backend namespace and duration configuration Signed-off-by: Leonardo Luz Almeida <[email protected]> * fix cmd Signed-off-by: Leonardo Luz Almeida <[email protected]> * fix error message Signed-off-by: Leonardo Luz Almeida <[email protected]> * address review comments Signed-off-by: Leonardo Luz Almeida <[email protected]> * update manifests Signed-off-by: Leonardo Luz Almeida <[email protected]> --------- Signed-off-by: Leonardo Luz Almeida <[email protected]>
- Loading branch information
Showing
13 changed files
with
110 additions
and
61 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
apiVersion: v1 | ||
kind: ConfigMap | ||
metadata: | ||
name: backend-cm | ||
labels: | ||
app.kubernetes.io/name: argocd-ephemeral-access | ||
app.kubernetes.io/managed-by: kustomize | ||
# data: | ||
## Log configurations | ||
# backend.log.level: info | ||
# backend.log.format: json | ||
|
||
## The API server port | ||
# backend.port: '8888' | ||
|
||
## The address the metric endpoint binds to | ||
# backend.metrics.address: :8883 | ||
|
||
## If set the metrics endpoint is served securely | ||
# backend.metrics.secure: 'true' | ||
|
||
## Defines the default duration to be used when creating AccessRequests | ||
# backend.defaultAccessDuration: 4h |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,38 +1,32 @@ | ||
apiVersion: v1 | ||
kind: ConfigMap | ||
metadata: | ||
name: config-cm | ||
name: controller-cm | ||
labels: | ||
app.kubernetes.io/name: argocd-ephemeral-access | ||
app.kubernetes.io/managed-by: kustomize | ||
data: | ||
{} | ||
### Log configurations | ||
# backend.log.level: info | ||
# backend.log.format: json | ||
# data: | ||
## Log configurations | ||
# controller.log.level: info | ||
# controller.log.format: json | ||
|
||
### Backend configurations | ||
## The API server port. | ||
# backend.port: '8888' | ||
## The address the metric endpoint binds to. | ||
# backend.metrics.address: :8883 | ||
## If set the metrics endpoint is served securely. | ||
# backend.metrics.secure: 'true' | ||
|
||
# ### Controller configurations | ||
## The controler server port. | ||
# controller.port: '8081' | ||
|
||
## Enable leader election for controller manager. | ||
# controller.leader.election.enabled: 'true' | ||
|
||
## The address the probe endpoint binds to. | ||
# controller.health.probe.address: :8082 | ||
|
||
## If set, HTTP/2 will be enabled for the metrics and webhook servers. | ||
# controller.http2.enabled: 'true' | ||
|
||
## Determines the interval the controller will requeue an AccessRequest. | ||
# controller.requeue.interval: 1s | ||
|
||
## The address the metric endpoint binds to. | ||
# controller.metrics.address: :8083 | ||
|
||
## If set the metrics endpoint is served securely. | ||
# controller.metrics.secure: 'true' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.