This commit is contained in:
Jonas Forsberg 2024-10-19 11:33:27 +02:00
parent 516e41e57c
commit c79a64905e
3 changed files with 36 additions and 2 deletions

View File

@ -12,7 +12,7 @@ The following table lists the configurable parameters of the Ansible-semaphore c
| Parameter | Description | Default |
| ------------------------ | ----------------------- | -------------- |
| `image.repository` | | `"ansiblesemaphore/semaphore"` |
| `config.boPath to the BoltDB database filelt.host` | Path to the BoltDB database file | `null` |
| `config.bolt.host` | Path to the BoltDB database file | `null` |
| `config.mysql.host` | MySQL database host | `null` |
| `config.mysql.name` | MySQL database (schema) name | `null` |
| `config.mysql.user` | MySQL user name | `null` |
@ -50,6 +50,11 @@ The following table lists the configurable parameters of the Ansible-semaphore c
| `oidc_providers` | OpenID provider settings. You can provide multiple OpenID providers. More about OpenID configuration read in [OpenID](https://docs.semaphoreui.com/administration-guide/openid/). | `null` |
| `password_login_disable` | Disable login with using password. Only LDAP and OpenID. | `false` |
| `non_admin_can_create_project` | Allow non-admin users to create new projects. | `false` |
| `service.http.enabled` | | `true` |
| `service.http.ports.http.port` | | `80` |
| `service.http.ports.http.targetPort` | | `3000` |
| `volumes` | | `[{"name": "config", "secret": {"secretName": "ansible-semaphore-config", "optional": false}}]` |
| `volumeMounts` | | `[{"name": "config", "mountPath": "/etc/semaphore", "readOnly": true}]` |

View File

@ -0,0 +1,10 @@
apiVersion: v1
kind: Secret
metadata:
name: ansible-semaphore-config
namespace: {{- .Values.namespace }}
labels:
{{- include "lib.labels" . | nindent 4}}
type: Opauge
data:
config.json: {{ toJson .Values.config | b64enc }}

View File

@ -2,7 +2,7 @@ image:
repository: ansiblesemaphore/semaphore
config:
boPath to the BoltDB database filelt:
bolt:
host: # Path to the BoltDB database file
mysql:
host: # MySQL database host
@ -43,3 +43,22 @@ max_parallel_tasks:
oidc_providers: # OpenID provider settings. You can provide multiple OpenID providers. More about OpenID configuration read in [OpenID](https://docs.semaphoreui.com/administration-guide/openid/).
password_login_disable: false # Disable login with using password. Only LDAP and OpenID.
non_admin_can_create_project: false # Allow non-admin users to create new projects.
service:
http:
enabled: true
ports:
http:
port: 80
targetPort: 3000
volumes:
- name: config
secret:
secretName: ansible-semaphore-config
optional: false
volumeMounts:
- name: config
mountPath: /etc/semaphore
readOnly: true