Skip to content

Commit

Permalink
feat(operator): use latest itzg images (#100)
Browse files Browse the repository at this point in the history
  • Loading branch information
jeremylvln authored Jan 10, 2023
1 parent 8f649f6 commit 5ae0bd2
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ func (b *MinecraftServerResourcePodBuilder) Update(object client.Object) error {
},
Containers: []corev1.Container{
{
Image: "itzg/minecraft-server:latest",
Image: "itzg/minecraft-server:2022.16.0-java17",
Name: "minecraft-server",
Ports: []corev1.ContainerPort{{
Name: "minecraft",
Expand All @@ -96,7 +96,7 @@ func (b *MinecraftServerResourcePodBuilder) Update(object client.Object) error {
InitialDelaySeconds: 60,
PeriodSeconds: 10,
},
ImagePullPolicy: corev1.PullAlways,
ImagePullPolicy: corev1.PullIfNotPresent,
SecurityContext: b.getSecurityContext(),
VolumeMounts: []corev1.VolumeMount{
{
Expand Down
4 changes: 2 additions & 2 deletions packages/shulker-operator/src/resources/proxy/pod.go
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ func (b *ProxyResourcePodBuilder) Update(object client.Object) error {
},
Containers: []corev1.Container{
{
Image: "itzg/bungeecord:latest",
Image: "itzg/bungeecord:java17-2022.4.1",
Name: "proxy",
Ports: []corev1.ContainerPort{{
Name: "minecraft",
Expand All @@ -97,7 +97,7 @@ func (b *ProxyResourcePodBuilder) Update(object client.Object) error {
InitialDelaySeconds: 10,
PeriodSeconds: 10,
},
ImagePullPolicy: corev1.PullAlways,
ImagePullPolicy: corev1.PullIfNotPresent,
SecurityContext: b.getSecurityContext(),
VolumeMounts: []corev1.VolumeMount{
{
Expand Down

0 comments on commit 5ae0bd2

Please sign in to comment.