Skip to content

Commit

Permalink
add
Browse files Browse the repository at this point in the history
Signed-off-by: walnuts1018 <[email protected]>
  • Loading branch information
walnuts1018 committed Nov 1, 2024
1 parent e75298b commit bd3e110
Show file tree
Hide file tree
Showing 7 changed files with 20 additions and 3 deletions.
9 changes: 9 additions & 0 deletions k8s/argocdapps/ac-hacking-2024/back.jsonnet
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
apiVersion: 'v1',
kind: 'List',
items: [
(import './back/deployment.libsonnet'),
(import './back/service.libsonnet'),
(import './back/external-secret.libsonnet'),
],
}
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@
name: 'PSQL_PASSWORD',
valueFrom: {
secretKeyRef: {
name: (import './external-secret.jsonnet').name,
name: (import './external-secret.libsonnet').name,
key: 'postgres_password',
},
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
{
protocol: 'TCP',
port: 8080,
targetPort: (import 'deployment.jsonnet').spec.template.spec.containers[0].ports[0].containerPort,
targetPort: (import 'deployment.libsonnet').spec.template.spec.containers[0].ports[0].containerPort,
},
],
type: 'ClusterIP',
Expand Down
8 changes: 8 additions & 0 deletions k8s/argocdapps/ac-hacking-2024/front.jsonnet
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
apiVersion: 'v1',
kind: 'List',
items: [
(import './front/deployment.libsonnet'),
(import './front/service.libsonnet'),
],
}
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
{
protocol: 'TCP',
port: 3000,
targetPort: (import 'deployment.jsonnet').spec.template.spec.containers[0].ports[0].containerPort,
targetPort: (import 'deployment.libsonnet').spec.template.spec.containers[0].ports[0].containerPort,
},
],
type: 'ClusterIP',
Expand Down

0 comments on commit bd3e110

Please sign in to comment.