-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #3 from nais/secrets
Secrets
- Loading branch information
Showing
35 changed files
with
3,477 additions
and
336 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
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 |
---|---|---|
@@ -0,0 +1,36 @@ | ||
{ | ||
description = "Example Go development environment for Zero to Nix"; | ||
|
||
# Flake inputs | ||
inputs = { nixpkgs.url = "github:NixOS/nixpkgs/nixpkgs-unstable"; }; | ||
|
||
# Flake outputs | ||
outputs = { self, nixpkgs }: | ||
let | ||
# Systems supported | ||
allSystems = [ | ||
"x86_64-linux" # 64-bit Intel/AMD Linux | ||
"aarch64-linux" # 64-bit ARM Linux | ||
"x86_64-darwin" # 64-bit Intel macOS | ||
"aarch64-darwin" # 64-bit ARM macOS | ||
]; | ||
|
||
# Helper to provide system-specific attributes | ||
forAllSystems = f: | ||
nixpkgs.lib.genAttrs allSystems | ||
(system: f { pkgs = import nixpkgs { inherit system; }; }); | ||
in { | ||
# Development environment output | ||
devShells = forAllSystems ({ pkgs }: { | ||
default = pkgs.mkShell { | ||
# The Nix packages provided in the environment | ||
packages = with pkgs; [ | ||
go | ||
gotools # Go tools like goimports, godoc, and others | ||
gopls | ||
asdf | ||
]; | ||
}; | ||
}); | ||
}; | ||
} |
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 |
---|---|---|
|
@@ -8,3 +8,4 @@ values.json | |
.DS_Store | ||
.direnv | ||
__debug_bin* | ||
.envrc |
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,42 @@ | ||
--- | ||
apiVersion: v1 | ||
data: | ||
foo: YmFyCg== | ||
bar: YmFyCg== | ||
kind: Secret | ||
metadata: | ||
annotations: | ||
foo: bar | ||
bar: baz | ||
console.nais.io/last-modified-at: "2021-01-01T00:00:00Z" | ||
console.nais.io/last-modified-by: "[email protected]" | ||
labels: | ||
nais.io/managed-by: console | ||
foo: bar | ||
bar: baz | ||
name: my-secret | ||
type: Opaque | ||
--- | ||
apiVersion: v1 | ||
data: | ||
foo: YmFyCg== | ||
bar: YmFyCg== | ||
kind: Secret | ||
metadata: | ||
annotations: | ||
hunter2.nais.io/last-modified: "2021-01-01T00:00:00Z" | ||
hunter2.nais.io/last-modified-by: "[email protected]" | ||
hunter2.nais.io/secret-version: "1" | ||
labels: | ||
nais.io/created-by: hunter2 | ||
name: my-secret-hunter2 | ||
type: Opaque | ||
--- | ||
apiVersion: v1 | ||
data: | ||
foo: YmFyCg== | ||
bar: YmFyCg== | ||
kind: Secret | ||
metadata: | ||
name: my-kubectl-secret | ||
type: Opaque |
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,11 @@ | ||
--- | ||
apiVersion: kafka.nais.io/v1 | ||
kind: Topic | ||
metadata: | ||
name: aura | ||
spec: | ||
acl: | ||
- access: read | ||
team: aura | ||
application: aura | ||
pool: aiven |
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,42 @@ | ||
--- | ||
apiVersion: v1 | ||
data: | ||
foo: YmFyCg== | ||
bar: YmFyCg== | ||
kind: Secret | ||
metadata: | ||
annotations: | ||
foo: bar | ||
bar: baz | ||
console.nais.io/last-modified-at: "2021-01-01T00:00:00Z" | ||
console.nais.io/last-modified-by: "[email protected]" | ||
labels: | ||
nais.io/managed-by: console | ||
foo: bar | ||
bar: baz | ||
name: my-secret | ||
type: Opaque | ||
--- | ||
apiVersion: v1 | ||
data: | ||
foo: YmFyCg== | ||
bar: YmFyCg== | ||
kind: Secret | ||
metadata: | ||
annotations: | ||
hunter2.nais.io/last-modified: "2021-01-01T00:00:00Z" | ||
hunter2.nais.io/last-modified-by: "[email protected]" | ||
hunter2.nais.io/secret-version: "1" | ||
labels: | ||
nais.io/created-by: hunter2 | ||
name: my-secret-hunter2 | ||
type: Opaque | ||
--- | ||
apiVersion: v1 | ||
data: | ||
foo: YmFyCg== | ||
bar: YmFyCg== | ||
kind: Secret | ||
metadata: | ||
name: my-kubectl-secret | ||
type: Opaque |
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,42 @@ | ||
apiVersion: v1 | ||
data: | ||
foo: YmFyCg== | ||
bar: YmFyCg== | ||
kind: Secret | ||
metadata: | ||
annotations: | ||
console.nais.io/last-modified-at: "2024-01-13T13:37:00Z" | ||
console.nais.io/last-modified-by: "[email protected]" | ||
labels: | ||
nais.io/managed-by: console | ||
name: my-secret | ||
type: Opaque | ||
--- | ||
apiVersion: v1 | ||
data: | ||
foo: YmFyCg== | ||
bar: YmFyCg== | ||
kind: Secret | ||
metadata: | ||
annotations: | ||
console.nais.io/last-modified-at: "2024-02-01T09:13:00Z" | ||
console.nais.io/last-modified-by: "[email protected]" | ||
labels: | ||
nais.io/managed-by: console | ||
name: my-other-secret | ||
type: Opaque | ||
--- | ||
apiVersion: v1 | ||
data: | ||
foo: YmFyCg== | ||
bar: YmFyCg== | ||
kind: Secret | ||
metadata: | ||
annotations: | ||
console.nais.io/last-modified-at: "2024-02-01T12:59:59Z" | ||
console.nais.io/last-modified-by: "[email protected]" | ||
labels: | ||
nais.io/managed-by: console | ||
name: other-secret | ||
type: Opaque | ||
--- |
Oops, something went wrong.