Skip to content
Merged
Show file tree
Hide file tree
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
2 changes: 1 addition & 1 deletion Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@ apiVersion: v2
name: edge-gitops-vms
description: Edge GitOps VMs
type: application
version: 0.3.5
version: 0.4.0
dependencies: [ ]
6 changes: 4 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,13 +1,14 @@
# edge-gitops-vms

![Version: 0.3.5](https://img.shields.io/badge/Version-0.3.5-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square)
![Version: 0.4.0](https://img.shields.io/badge/Version-0.4.0-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square)

Edge GitOps VMs

This chart is used to set up Edge GitOps VMs in conjunction with OpenShift Virtualization

### Notable changes

* v0.4.0: Parameterize ESO API version and default it to v1
* v0.3.5: Several fixes to separate DataSources from VM namespace
* v0.3.4: Correct order of coalesce arguments for main disk storage bus
* v0.3.3: Allow configuraton of main disk storage bus. Default to virtio but Windows benefits from sata
Expand All @@ -20,7 +21,7 @@ This chart is used to set up Edge GitOps VMs in conjunction with OpenShift Virtu

| Key | Type | Default | Description |
|-----|------|---------|-------------|
| disableExternalSecrets | bool | `true` | |
| disableExternalSecrets | bool | `false` | |
| externalDataSources | object | `{}` | |
| global.clusterDomain | string | `"example.com"` | |
| global.pattern | string | `"ansible-edge-gitops"` | |
Expand All @@ -45,6 +46,7 @@ This chart is used to set up Edge GitOps VMs in conjunction with OpenShift Virtu
| rbac.roles[0].verbs[1] | string | `"list"` | |
| rbac.roles[0].verbs[2] | string | `"watch"` | |
| registryCredentialExternalSecrets | object | `{}` | |
| secretStore.esoApiVersion | string | `"external-secrets.io/v1"` | |
| secretStore.kind | string | `"ClusterSecretStore"` | |
| secretStore.name | string | `"vault-backend"` | |
| serviceAccountName | string | `"ansible-edge-gitops-sa"` | |
Expand Down
1 change: 1 addition & 0 deletions README.md.gotmpl
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ This chart is used to set up Edge GitOps VMs in conjunction with OpenShift Virtu

### Notable changes

* v0.4.0: Parameterize ESO API version and default it to v1
* v0.3.5: Several fixes to separate DataSources from VM namespace
* v0.3.4: Correct order of coalesce arguments for main disk storage bus
* v0.3.3: Allow configuraton of main disk storage bus. Default to virtio but Windows benefits from sata
Expand Down
2 changes: 1 addition & 1 deletion templates/registry-credential-ExternalSecrets.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
{{- range $esk,$esv := .Values.registryCredentialExternalSecrets }}
{{- $name := coalesce $esv.name $esk }}
---
apiVersion: "external-secrets.io/v1beta1"
apiVersion: {{ $.Values.secretStore.esoApiVersion }}
kind: ExternalSecret
metadata:
name: es-registry-creds-{{ $name }}
Expand Down
8 changes: 4 additions & 4 deletions templates/virtual-machines.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
{{- $role := coalesce $vmr.role $def.role }}
{{- if not $.Values.disableExternalSecrets }}
---
apiVersion: "external-secrets.io/v1beta1"
apiVersion: {{ $.Values.secretStore.esoApiVersion }}
kind: ExternalSecret
metadata:
name: es-cloudinit-{{ $role }}
Expand All @@ -18,7 +18,7 @@ metadata:
{{- end }}
{{- end }}
spec:
refreshInterval: 90s
refreshInterval: 1m30s
secretStoreRef:
name: {{ $.Values.secretStore.name }}
kind: {{ $.Values.secretStore.kind }}
Expand All @@ -34,7 +34,7 @@ spec:
{{- $identifier := printf "%s-%s-%s" (coalesce $vmr.os $def.os) $role $idx }}
{{- if not $.Values.disableExternalSecrets }}
---
apiVersion: "external-secrets.io/v1beta1"
apiVersion: {{ $.Values.secretStore.esoApiVersion }}
kind: ExternalSecret
metadata:
name: es-authorizedsshkeys-{{ $identifier }}
Expand All @@ -48,7 +48,7 @@ metadata:
{{- end }}
{{- end }}
spec:
refreshInterval: 90s
refreshInterval: 1m30s
secretStoreRef:
name: {{ $.Values.secretStore.name }}
kind: {{ $.Values.secretStore.kind }}
Expand Down
3 changes: 2 additions & 1 deletion values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ global:
clusterDomain: example.com

secretStore:
esoApiVersion: external-secrets.io/v1
name: vault-backend
kind: ClusterSecretStore

Expand Down Expand Up @@ -93,7 +94,7 @@ externalDataSources: {}
# CloudInit configuration. If registry credentials are specified in
# registryCredentialExternalSecrets then they will be fetched using an
# ExternalSecret regardless of what this field is set to
disableExternalSecrets: true
disableExternalSecrets: false

serviceAccountName: ansible-edge-gitops-sa
rbac:
Expand Down