Skip to content

Commit

Permalink
updated
Browse files Browse the repository at this point in the history
  • Loading branch information
patrick-hermann-sva committed Dec 31, 2024
1 parent 3a4b488 commit 1118034
Show file tree
Hide file tree
Showing 6 changed files with 12 additions and 13 deletions.
2 changes: 1 addition & 1 deletion .ko.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,4 @@ builds:
ldflags:
- -s -w -X github.com/stuttgart-things/machineshop/cmd.version={{.Git.Tag}}
- -s -w -X github.com/stuttgart-things/machineshop/cmd.date={{.Date}}
- -s -w -X github.com/stuttgart-things/machineshop/cmd.commit={{.Git.ShortCommit}}
- -s -w -X github.com/stuttgart-things/machineshop/cmd.commit={{.Git.ShortCommit}}
16 changes: 8 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -451,8 +451,14 @@ export VAULT_ADDR=https://≤VAULT_ADDR>[:8200]

```bash
export SOPS_AGE_KEY=AGE-...
# or
export SOPS_AGE_KEY_FILE=home/sthings/projects/golang/sops/sops.key
```

</details>

<details><summary><b>GET SOPS SECRET VALUE BY PATH</b></summary>

```bash
machineshop get --system=sops --path=/home/sthings/projects/golang/sops/bla.yaml:password | tail -n +11
```

</details>
Expand All @@ -469,13 +475,7 @@ machineshop get --path kubeconfigs/data/dev21:kubeconfig --output file --destina

</details>

<details><summary><b>GET SOPS SECRET VALUE BY PATH</b></summary>

```bash
machineshop get --system=sops --path=/home/sthings/projects/golang/sops/bla.yaml:password | tail -n +11
```

</details>

## LICENSE

Expand Down
1 change: 0 additions & 1 deletion cmd/get.go
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,6 @@ var getCmd = &cobra.Command{
fmt.Println("DECRYPTED FILE: ", string(decryptedFile))

allDecryptedSecrets := kaeffken.CreateSecretsMap(decryptedFile, nil)
log.Info("ALL DECRYPTED SECRETS: ", allDecryptedSecrets)

// LOOP OVER ALL DECRYPTED SECRETS
var secretValueForGivenKey string
Expand Down
2 changes: 1 addition & 1 deletion tests/infra.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -57,4 +57,4 @@ template:
target:
kind: HelmRelease
name: longhorn
namespace: longhorn-system
namespace: longhorn-system
2 changes: 1 addition & 1 deletion tests/install.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,4 @@ script:
vars:
ghVersion: 2.34.0
script: |
echo hello {{ or .ghVersion "2.34.0" }}
echo hello {{ or .ghVersion "2.34.0" }}
2 changes: 1 addition & 1 deletion tests/template-square.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -75,4 +75,4 @@ variable "password" {

variable "username" {
type = string
}
}

0 comments on commit 1118034

Please sign in to comment.