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 7647a91 commit a4f9620
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions k8s/apps/nginx-test/configmap.jsonnet
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
{
apiVersion: 'v1',
kind: 'ConfigMap',
metadata: {
name: 'nginx-test-conf',
labels: (import 'app.libsonnet').labels,
}
data: [
'nginx.conf': (import 'nginx.conf'),
'virtualhost.conf': (import 'virtualhost.conf'),
]
apiVersion: 'v1',
kind: 'ConfigMap',
metadata: {
name: 'nginx-test-conf',
labels: (import 'app.libsonnet').labels,
},
data: {
'nginx.conf': (importstr 'nginx.conf'),
'virtualhost.conf': (importstr 'virtualhost.conf'),
},
}

0 comments on commit a4f9620

Please sign in to comment.