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
27 changes: 24 additions & 3 deletions docs/continuous-delivery/gitops/resources/gitops-faqs.md
Original file line number Diff line number Diff line change
Expand Up @@ -132,8 +132,29 @@ You can use [Mozilla SOPS](https://developer.harness.io/docs/continuous-delivery
Once encrypted, SOPS decrypts the data during deployment using the keys stored as Kubernetes secrets, ensuring that your sensitive information remains protected.


### How to disable pushing logs from the GitOps Agent to Stackdriver?
To disable logging to Stackdriver in GitOps, set `GITOPS_AGENT_ENABLE_STACK_DRIVER_LOGGER` to False in the the agent ConfigMap.
### What is the default log location for the GitOps Agent? What about the sizing?
The default location for logs in the GitOps Agent is

```
/app/logs
```

The max file size is 5MB, and there is max of 5 backup files that are being compressed. The estimated space occupied should not exceed 10MB.

### How to disable pushing logs from the GitOps Agent to Stackdriver so it is STDOUT only?
To disable logging to Stackdriver in GitOps, set `GITOPS_AGENT_ENABLE_STACK_DRIVER_LOGGER` to **true** in the the agent ConfigMap. This is available as of `GitOps Service 1.42.2` with `GitOps Agent v0.102.0`.

For example

```
# Source: gitops-helm/templates/gitops-agent/configmap.yaml
apiVersion: v1
data:
GITOPS_ACCOUNT_IDENTIFIER: X0xxxxXxX0xx00_00xXX0x
GITOPS_AGENT_IDENTIFIER: gitopsagent-test
[...]
GITOPS_AGENT_DISABLE_FILE_LOGGING: "true"
```

### What specific role does the "Add Deployment Repo Manifest" serve within the manifests for a Kubernetes service enabled with GitOps functionality?

Expand Down Expand Up @@ -341,4 +362,4 @@ Harness uses the following procedure to calculate the app project id:
hash: abcdefghijklmnopqrstuvwxyz

app project id: `abcdefgh`
```
```