-
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 #34 from defenseunicorns/refactor
- Loading branch information
Showing
21 changed files
with
275 additions
and
137 deletions.
There are no files selected for viewing
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
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
Validating CODEOWNERS rules …
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 |
---|---|---|
@@ -1 +1,2 @@ | ||
* @defenseunicorns/uds | ||
# This repository is owned by the Defense Unicorns UDS-Marketplace Team | ||
/* @defenseunicorns/uds-marketplace |
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
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,11 @@ | ||
{{- if ne .Values.postgres.password "" }} | ||
apiVersion: v1 | ||
kind: Secret | ||
metadata: | ||
name: confluence-postgres | ||
namespace: {{ .Release.Namespace }} | ||
type: kubernetes.io/opaque | ||
stringData: | ||
username: {{ .Values.postgres.username }} | ||
password: {{ .Values.postgres.password }} | ||
{{- end }} |
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 |
---|---|---|
@@ -1,2 +1,33 @@ | ||
domain: "###ZARF_VAR_DOMAIN###" | ||
sso: true | ||
|
||
postgres: | ||
# Set to false to use external postgres | ||
internal: true | ||
selector: | ||
cluster-name: pg-cluster | ||
username: confluence | ||
password: "" | ||
namespace: postgres | ||
port: 5432 | ||
|
||
sso: | ||
enabled: true | ||
# Options: "saml", "openid_connect" | ||
protocol: "saml" | ||
|
||
# custom: | ||
# # Notice no `remoteGenerated` field here on custom internal rule | ||
# - direction: Ingress | ||
# selector: | ||
# app: jenkins | ||
# remoteNamespace: jenkins | ||
# remoteSelector: | ||
# app: jenkins | ||
# port: 8180 | ||
# description: "Ingress from Jenkins" | ||
# # No `remoteNamespace`, `remoteSelector`, or `port` fields on rule to `remoteGenerated` | ||
# - direction: Egress | ||
# selector: | ||
# app: webservice | ||
# remoteGenerated: Anywhere | ||
# description: "Egress from Mattermost" |
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
This file was deleted.
Oops, something went wrong.
This file was deleted.
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,19 @@ | ||
kind: ZarfPackageConfig | ||
metadata: | ||
name: dev-wait | ||
description: "Wait for database to be ready to accept connections" | ||
version: 0.1.0 | ||
|
||
components: | ||
- name: wait-for-database | ||
required: true | ||
actions: | ||
onDeploy: | ||
after: | ||
- wait: | ||
cluster: | ||
kind: postgresql | ||
name: pg-cluster | ||
condition: "'{.status.PostgresClusterStatus}'=Running" | ||
namespace: postgres | ||
- cmd: sleep 10s |
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 |
---|---|---|
@@ -1,12 +1,12 @@ | ||
tasks: | ||
- name: create | ||
description: Create the Dev-Secrets Dependency Zarf Package | ||
description: Create the Dependency Zarf Packages | ||
inputs: | ||
options: | ||
description: For setting create time variables and flags | ||
architecture: | ||
description: The architecture of the package to create | ||
default: ${UDS_ARCH} | ||
actions: | ||
- cmd: ./uds zarf package create src/dev-secrets/ --confirm --no-progress --architecture=${{ .inputs.architecture }} --skip-sbom ${{ .inputs.options }} | ||
- cmd: ./uds zarf package create src/wait/ --confirm --no-progress --architecture=${{ .inputs.architecture }} --skip-sbom ${{ .inputs.options }} | ||
- cmd: ./uds zarf package create src/namespace/ --confirm --no-progress --architecture=${{ .inputs.architecture }} --skip-sbom ${{ .inputs.options }} |
Oops, something went wrong.